Prompt
Create a prompt template with dynamic variables ({input}, {human_input}, {context}, {chat_history}, {system_message}).
A simple AI chat assistant workflow that leverages previous conversation history to generate relevant responses to user input. Includes a welcome message and uses a language model to reply contextually based on chat history.

Flows
Create a prompt template with dynamic variables ({input}, {human_input}, {context}, {chat_history}, {system_message}).
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 Opened Trigger component detects when a chat session starts, enabling workflows to respond instantly as soon as a user opens the chat. It initiates flows with the initial chat message, making it essential for building responsive, interactive chatbots.
The Message Widget component displays custom messages within your workflow. Ideal for welcoming users, providing instructions, or showing any important information, it supports Markdown formatting and can be set to appear only once per session.
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.
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.
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.
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.
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.
Flow description
This workflow is designed to facilitate an interactive chat experience where the AI assistant responds to user-defined tasks, while leveraging the chat history for context-aware answers. It is a general-purpose template, making it adaptable for a wide variety of conversational automations and scalable AI-driven chat solutions.
👋 Welcome to the Simple Task Flow!
This tool is designed for you to define your own task based on your input 🌟. I’ll take into account our chat history to provide relevant assistance without any additional context.
Just let me know what you’d like to do, and let’s get started! ✨💬
Prompt Template Node: Constructs a dynamic prompt for the language model. It integrates:
The prompt template used is:
You are an AI language model assistant.
Your task is to generate answer for human INPUT with consideration of previous conversation in CHAT HISTORY.
--- CHAT HISTORY START
{chat_history}
--- CHAT HISTORY END
--- INPUT START
{input}
--- INPUT END
ANSWER:
| Step | Node/Component | Purpose |
|---|---|---|
| Chat Start | ChatOpenedTrigger | Detects when the chat is opened |
| Welcome Message | MessageWidget | Greets and informs the user |
| Display Welcome | ChatOutput | Shows the welcome message |
| User Input | ChatInput | Captures user’s task or question |
| Retrieve History | ChatHistory | Fetches recent conversation for context |
| Prompt Construction | PromptTemplate | Builds prompt for the LLM with input and chat history |
| AI Generation | Generator | Produces context-aware response using the prompt |
| Display AI Output | ChatOutput | Shows the AI-generated answer to the user |
This workflow provides a robust foundation for building intelligent, context-aware chat automations that can be tailored to many different applications.
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.
An AI-powered customer service chatbot that uses your internal knowledge sources to provide instant, accurate, and helpful responses to customer queries. It lev...
Deploy a smart AI chatbot that integrates seamlessly with FreshChat. The chatbot answers user inquiries using your internal knowledge base and intelligently for...
An AI-powered live chat support chatbot that answers customer questions using an internal knowledge base and intelligently hands off complex queries to human ag...
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.



