Prompt
Create a prompt template with dynamic variables ({input}, {human_input}, {context}, {chat_history}, {system_message}, {all_input_variables}).
https://YOURLINK.ladesk.com/api/conversations/{input}
This workflow automates customer support for your company by integrating LiveAgent conversations, extracting relevant conversation data, generating responses using AI models, and retrieving knowledge base documents. The AI agent handles incoming support queries, enriches context from knowledge sources, and delivers concise, professional replies in a customer-friendly format.
Flows
Below is a complete list of all prompts used in this flow to achieve its functionality. Prompts are the instructions given to the AI model to generate responses or perform actions. They guide the AI in understanding user intent and generating relevant outputs.
Create a prompt template with dynamic variables ({input}, {human_input}, {context}, {chat_history}, {system_message}, {all_input_variables}).
https://YOURLINK.ladesk.com/api/conversations/{input}
Create a prompt template with dynamic variables ({input}, {human_input}, {context}, {chat_history}, {system_message}, {all_input_variables}).
https://YOURLINK.ladesk.com/api/conversations/{human_input}/messages
Generate text using input prompt and selected LLM model.
extract the "Preview" section of your input and output only the section exactly as it is and if there are multiple preview sections output all of them by classifying them based on their date.
A tool calling agent.
You are an AI language model assistant acting as a friendly and professional customer support and shopping assistant for Your Company. You respond in Slovak language by default, or in the customer's input language if detected to be different than Slovak. AND ALWAYS USE EMAIL TONE AND FORMAT.
<u>Your role:</u>
You combine the responsibilities of technical customer support and product recommendation assistant. You help customers solve issues, make decisions, and complete purchases related to Your Company products and services. Your tone is always friendly and professional, and your goal is to ensure the customer feels understood, supported, and confident in their next step.
<u>Your Goal:</u>
you receive conversation history and the most recent user query you goal is to answer the most recent query based on the tools at your disposal. 
<u>Identify intent and provide answers:</u>
First source: ALWAYS SEARCH THE knowledge_source_tool TO ANSWER USER'S QUESTION AND NEVER ANSWER FROM YOURSELF.
Second source: Always use the Document Retriever tool to find context related to the question.
If relevant context is found:
Use it to provide accurate, concise answers.
Include ONLY RELEVANT URLs retrieved from the Document Retriever, never edit the url.
Never invent product names and category names. You can recognize a category by the fact that the page MUST contain a list of different products.; use only those available in your knowledge base.
Follow the information exactly as stated in the reference.
If no relevant context is found and the question is about Your Company:
Ask polite clarifying questions to gather more details.
If still unresolved, use the Contact Human Assist tool to transfer to a human support agent.
If the customer’s message is unclear or incomplete:
Do not guess — always ask for more information before answering.
If the customer shows interest in a specific product:
Let them know that pricing and ordering is quick and simple directly on the website.
They can configure the product (dimensions, extras, quantity…) and see the price immediately and the production time.
If the question is about production time, always include express options if available.
For inquiries not related to Your Company:
Politely inform the customer that you only provide support for Your Company.
Suggest contacting the appropriate business support team at [Your Company@Your Company.sk](mailto:YourCompany@YourCompany.sk).
<u>Resource Utilization:</u>
Use the Document Retriever to search for knowledge relevant to the customer question.
Use the Contact Human Assist tool to escalate if needed.
Use the Document Retriever to provide valid product or info links - NEVER invent or assume URLs
<u>Formatting:</u>
Your tone is always friendly, clear, and professional.
The answers should be SHORT - max. about 100-200 tokens.
Use structured formatting:
Short paragraphs
Bold text for emphasis
Bullet points where appropriate
Emojis to make the messages more engaging 😊
Write in plain text format. Do not use markdown.
Below is a complete list of all components used in this flow to achieve its functionality. Components are the building blocks of every AI Flow. They allow you to create complex interactions and automate tasks by connecting various functionalities. Each component serves a specific purpose, such as handling user input, processing data, or integrating with external services.
The Chat Input component in FlowHunt initiates user interactions by capturing messages from the Playground. It serves as the starting point for flows, enabling the workflow to process both text and file-based inputs.
Learn how FlowHunt's Prompt component lets you define your AI bot’s role and behavior, ensuring relevant, personalized responses. Customize prompts and templates for effective, context-aware chatbot flows.
The Create Data component enables you to dynamically generate structured data records with a customizable number of fields. Ideal for workflows that require the creation of new data objects on the fly, it supports flexible field configuration and seamless integration with other automation steps.
Integrate external data and services into your workflow with the API Request component. Effortlessly send HTTP requests, set custom headers, body, and query parameters, and handle multiple methods like GET and POST. Essential for connecting your automations to any web API or service.
The Parse Data component transforms structured data into plain text using customizable templates. It enables flexible formatting and conversion of data inputs for further use in your workflow, helping to standardize or prepare information for downstream components.
FlowHunt supports dozens of text generation models, including models by OpenAI. Here's how to use ChatGPT in your AI tools and chatbots.
Explore the Generator component in FlowHunt—powerful AI-driven text generation using your chosen LLM model. Effortlessly create dynamic chatbot responses by combining prompts, optional system instructions, and even images as input, making it a core tool for building intelligent, conversational workflows.
Explore the Tool Calling Agent in FlowHunt—an advanced workflow component that enables AI agents to intelligently select and use external tools to answer complex queries. Perfect for building smart AI solutions that require dynamic tool usage, iterative reasoning, and integration with multiple resources.
FlowHunt's Document Retriever enhances AI accuracy by connecting generative models to your own up-to-date documents and URLs, ensuring reliable and relevant answers using Retrieval-Augmented Generation (RAG).
The Chat History component in FlowHunt enables chatbots to remember previous messages, ensuring coherent conversations and improved customer experience while optimizing memory and token usage.
Discover the Chat Output component in FlowHunt—finalize chatbot responses with flexible, multi-part outputs. Essential for seamless flow completion and creating advanced, interactive AI chatbots.
Flow description
This workflow is designed to automate and scale advanced customer support and knowledge retrieval tasks, making use of LLMs (Large Language Models), dynamic data creation, external API requests (such as LiveAgent), and automated document retrieval. It is especially useful for organizations seeking to streamline support processes, respond to customer queries with context-aware responses, and integrate knowledge-base lookups with external system interactions.
The workflow orchestrates these main steps:
Step | Component | Purpose |
---|---|---|
1 | Chat Input | Accepts user queries or messages |
2 | Prompt Template | Forms dynamic URLs for API requests, substituting user input and context into predefined templates |
3 | API Request | Sends HTTP requests (GET/POST) to external APIs (e.g., LiveAgent), including parameters and body as needed |
4 | Parse Data | Converts API responses (JSON/data) into plain text or structured prompts for LLM processing |
5 | LLM Generator | Uses an LLM (e.g., OpenAI GPT-4.1) to extract specific sections (e.g., “Preview”) from input data |
6 | Tool Calling Agent | An LLM agent that receives all context, history, and tools, and is guided by a custom system prompt |
7 | Document Retriever | Searches knowledge sources for relevant documents based on the user’s query |
8 | Chat Output | Presents the final answer or messages to the user |
YOURLINK
in prompt templates with their actual LiveAgent instance URL.Node Type | Main Role |
---|---|
Note | Reminders and instructions for configuration |
Chat Input/Output | User interaction endpoints |
Chat History | Provides context from previous interactions |
Create Data | Dynamically builds API request data |
Prompt Template | Generates query URLs or prompts |
API Request | Interacts with external services |
Parse Data | Transforms raw data for LLM consumption |
LLM Generator | Extracts/Processes information using LLM |
Document Retriever | Searches internal knowledge sources |
Tool Calling Agent | Orchestrates tools and generates response |
This workflow is ideal for automating customer support, integrating with external ticketing or chat systems, and ensuring LLM-driven responses are always grounded in authoritative company knowledge. It can be the backbone of a scalable, intelligent support assistant ready for enterprise use.
We help companies like yours to develop smart chatbots, MCP Servers, AI tools or other types of AI automation to replace human in repetitive tasks in your organization.
This AI-powered workflow automates customer support by connecting user queries to company knowledge sources, external APIs (such as LiveAgent), and a language m...
This AI-powered workflow automates customer support by combining internal knowledge base search, Google Docs knowledge retrieval, API integration, and advanced ...
Automate your customer support with an AI chatbot that answers questions using your internal knowledge base and seamlessly connects users to a human agent via L...