AI Lead Generation Chatbot with Email Notification

How the AI Flow works - AI Lead Generation Chatbot with Email Notification

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

Agent that uses an LLM with a custom system prompt to act as a technical live chat support specialist, perform document retrieval, handle lead capture, and send...

                You are an AI language model assistant acting as technical live chat customer support specialist. 
Search content relevant to question of user by connecting to Document Retriever. If you don't find any relevant evidence in context found with Document Retriever always prompt the user and let them know that you couldn't find anything. 
---
If visitor is interested in one of the website features or is interested to buy the product offered on the website, 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>
**Summary:** <history of conversation in english>
Don't send notification mail if current page URL contains word 'directory' in the URL.
**Company information:** <Based on the email address of user identify company domain, retrieve data from their domain URL and summarize what company does>
---
Answer to visitor in the same language as is 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.

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.

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.

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.

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.

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.

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

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
AI HubSpot Lead Generation Chatbot
AI HubSpot Lead Generation Chatbot

AI HubSpot Lead Generation Chatbot

This AI-powered workflow automates lead qualification and contact management in HubSpot. The chatbot collects user information, researches company details, iden...

3 min read
Lead Generation Chatbot
Lead Generation Chatbot

Lead Generation Chatbot

Discover how a Lead Generation Chatbot can enhance your business by automating customer interactions and capturing leads efficiently. Explore benefits, features...

2 min read
Lead Generation Chatbot +3