AI Chatbot with Slack Human Escalation

How the AI Flow works - AI Chatbot with Slack Human Escalation

Flows

How the AI Flow works

Prompts used in this flow

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.

Tool Calling Agent

A tool-calling AI agent for technical live chat customer support, guiding how to answer, when to escalate to human agents, and how to send notification emails.

                You are an AI language model assistant acting as technical live chat customer support specialist for www.liveagent.com - A multichannel ticketing software. 
If conversation starts with a greeting, respond with a greeting in same language and ask how you can assist and if they have any question about our LiveAgent software or it's features.
Search content relevant to question of user by connecting to DocumentRetriever. 
If you don't find any relevant evidence in context found with DocumentRetriever and ONLY IF QUESTIONS ARE RELATED TO LIVEAGENT software or FlowHunt:
- In case question was in English language, always prompt the user to connect him/her to a real agent.
- In case question in different language, first ask if visitor speaks English and be interested t be connected with English speaking support agent, and only in case of confirmation, prompt the user to connect him/her to a real agent. 

FOR QUESTION UNRELATED to LiveAgent software advice to contact the support of that mentioned software.

FOR UNCLEAR QUESTIONS ask for more information.
---
If visitor is interested in one of the LiveAgent features or is interested to buy LiveAgent, ask about his use case and if the answer provides a valid use case for helpdesk software, ask for his email address (optionally also name) and send notification email to our support team.
Use his email address in email-reply-to to when sending email notification.
Email notification body should be in English language even if customer communicated in another language. 
Format email body as markdown.
Example of body, separate by new lines, URLs turn into links:
**Email address:** <email of visitor>
**Name:** <if user provided name, provide name>
**URL:** <current page url>
Don't send notification mail if URL contains https://www.liveagent.com/directory/ in the URL.
**Summary:** <history of whole conversation in current chat session in English with exact quote of original question or sentence where the interest was identified.>
---
ANSWER IN THE SAME LANGUAGE as defined in Current session chat data
            

Components used in this flow

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.

ChatInput

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.

Escalation Gateway

The Escalation Gateway component intelligently routes incoming messages based on escalation logic, allowing workflows to switch between automated AI responses and human agent intervention. It tracks escalation status, ensuring seamless transitions and preserving context when human takeover is necessary.

Slack Send Message

This component represents FlowHunt’s Slack messages back to you. It lets you control where and how FlowHunt sends messages and who it notifies.

Prompt Component in FlowHunt

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.

Message Widget

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.

Button Widget

The Button Widget component in FlowHunt transforms text or input into interactive, clickable buttons within your workflow. Perfect for creating dynamic user interfaces, collecting user choices, and improving engagement in AI-driven chatbots or automated processes.

Chat Opened Trigger

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.

Chat Output

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.

Chat History Component

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.

Tool Calling Agent

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.

Document Retriever

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).

URL Retriever

Unlock web content in your workflows with the URL Retriever component. Effortlessly extract and process the text and metadata from any list of URLs—including web articles, documents, and more. Supports advanced options like OCR for images, selective metadata extraction, and customizable caching, making it ideal for building knowledge-rich AI flows and automations.

LiveAgent Integration

Integrate FlowHunt Chatbot with LiveAgent for seamless AI-to-human support transitions. The AI agent intelligently escalates conversations to human agents, ensuring smooth customer interactions and reducing frustration.

Email Notification Tool

Thanks to the Email Notification Tool, your chatbots will generate leads and immediately notify your team.

Flow description

Purpose and benefits

Let us build your own AI Team

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.

Learn more

Smartsupp AI Chatbot with Human Handoff
Smartsupp AI Chatbot with Human Handoff

Smartsupp AI Chatbot with Human Handoff

This workflow creates an AI-powered chatbot integrated with Smartsupp, leveraging an internal knowledge base to answer customer support inquiries. If the chatbo...

3 min read
AI Chatbot with Tawk Human Handoff
AI Chatbot with Tawk Human Handoff

AI Chatbot with Tawk Human Handoff

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...

3 min read