Core App
AI Chat lets people talk to your workflow in a chat window. Each message they send starts the workflow, and the reply from your AI Agent step shows up in the chat.
You can chat with it yourself to test it, share it as a link, or add it to your website as a chat button.
The trigger is listed as AI Chat (Pabbly) in the app list, with the event New Chat Message.

Use AI Chat when people should talk to your AI Agent directly. Some common cases:
A support chat on your website that answers from your help articles
A sales assistant that answers questions about your plans and prices
An order status chat that looks up orders in your sheet or database
An internal helper for your team, shared as a private link
A booking assistant that checks your calendar and books a slot
If the messages come from WhatsApp, Telegram or email, use that app's trigger with an AI Agent instead. AI Chat is for your own chat window.
You need two things:
An AI Agent step in the workflow. The chat shows the AI Agent's answer. Until you add one, the trigger shows: "This chat cannot reply yet. Add an AI Agent step after this trigger and save the workflow."
An AI connection for that agent, such as Google Gemini, OpenAI or Anthropic. The AI usage is billed by your provider to your own key.
Create a new workflow.
For the trigger, search for AI Chat (Pabbly) and choose New Chat Message.

Click Capture Test Message. This also saves the trigger.
Turn the workflow on. Preview Chat only works while the workflow is on.
Right-click the AI Chat (Pabbly) step, choose Preview Chat and send something like "Where is my order?".
This first message is saved as a sample so you can map it in the next steps. It does not run the workflow.



The trigger gives you two fields:
Field | What it holds |
|---|---|
chatInput | The message the person typed. |
sessionId | The ID of this conversation. It is different for every visitor and every new chat. |
Click + under the trigger and add AI Agent (Pabbly): Run AI Agent.
Connect your AI account, map chatInput into the agent's Prompt, write the System Instructions, and click Save.
Click the Model circle, pick a model and click Save.
Click the Memory circle, choose Pabbly (Default), map sessionId into Memory Key, and click Save.
Add your knowledge and tools.


You can add more steps after the agent, such as saving the chat to a sheet or emailing your team. The visitor gets the agent's reply right away, while those steps keep running.
More than one AI Agent? The chat shows the answer of the first AI Agent set to Reply in Chat: Yes. Set the others to No. You find Reply in Chat in each AI Agent's Output settings.
The chat link, the website chat and Preview Chat all work only while the workflow is on.
Right-click the AI Chat (Pabbly) step and choose Preview Chat, or click the Test Workflow button at the top. A preview of your website chat opens, on the side you set in Chat Button Position. Every message runs the whole workflow, uses tasks and is recorded in Task History, the same as a real visitor.



Click the pen icon (New chat) to start fresh, as if you were a new visitor. It shows after your first message.
Click the enlarge icon to open the chat in a side panel. Click Back to Preview to return.
To test only the agent, right-click the AI Agent step and choose Test AI Agent. This runs just that step, uses no tasks and is not recorded in Task History.
Open the AI Chat (Pabbly) trigger. After the first capture, the Share Your Chat section shows in place of the usual webhook URL.
A link to a full-page chat. Copy it and send it to anyone, for example in an email, a WhatsApp message or your help center. Anyone with the link can chat with your workflow.
The link stops working when the workflow is turned off.

Shared it by mistake? Click the reset icon next to the link, then click Create New Link. The old link and the chat on your website stop working right away. Share the new link and paste the new embed code on your website. Resetting also starts every visitor on a new conversation and resets the daily message count.
Copy the code and paste it just before the closing </body> tag on each page where you want the chat. A round chat button appears in the corner of the page.
On WordPress, you can paste it with any header and footer plugin.

Click Save after you change anything. Changes you do not save are lost when you close the step.
Setting | What it does |
|---|---|
Chat Title | The name at the top of the chat window. Up to 120 characters. Example: Pabbly Support |
Header Subtitle | A short line under the title. Leave it empty to hide it. Up to 120 characters. Example: We usually reply in a few seconds |
Welcome Message | The first message visitors see when they open the chat. Up to 500 characters. Example: Hi! Ask me about your order. |
Message Box Hint | The grey text in the empty message box. Leave it empty to show Type a message. Up to 80 characters. |
Suggested Questions | Questions shown as buttons under the welcome message. A visitor clicks one to send it. One per line, up to 4. |
Brand Colour | The colour of the chat button, the visitor's messages and the send button. Default dark grey (#1F2937). |
Corner Style | How round the chat window, messages and buttons look: Square, Rounded (default) or Pill. |
Chat Theme | A Light (default) or Dark chat window. |
Chat Button Position | Bottom Right (default) or Bottom Left of your website. |

Setting | What it does |
|---|---|
Allowed Websites | The websites where your chat window can show, one per line, such as example.com. Subdomains like shop.example.com are included. Up to 20 websites. Leave it empty to allow any website. This stops other websites from showing your chat. It does not hide your Chat Link, so anyone with the link can still chat. |
Allowed Tools | The AI Agent's tools that visitors can use. All tools are selected at first. Remove any tool visitors should not use. This field only shows when your AI Agent has tools. The calculator is always allowed. |
Messages Per Visitor Per Minute | The most messages one conversation can send in a minute. Stops spam. From 1 to 120. Default 10. |
Daily Message Limit (All Visitors) | The most messages the chat accepts in a day from everyone together. After that, visitors are asked to come back tomorrow. The count starts again at midnight UTC. From 1 to 100,000. Default 200. |
Each message uses tasks and AI usage on your key, so the daily limit is also your spending cap.
Choosing Allowed Tools
Each tool in the list says what visitors could do with it:
"Visitors could add, change or delete your data with it." This shows on tools such as Google Sheets: Update Row. Leave them out unless visitors really need them.
"Visitors could see the data it returns." This shows on tools that only read data. Keep only what is safe to share.

While the agent works, they see Thinking... and then Answering.... If your AI Agent has no tools, no Web Search and no Never Send, the reply appears word by word. Otherwise the whole reply appears at once when it is ready.
If they reload the page, their conversation is still there. It is kept for 30 days after the last message, up to the last 20 questions and answers.
Each visitor has their own conversation. One visitor can never see another's messages. A private window or another device counts as a new visitor.
Visitors only get the agent's answer, never your tool results or error details.
Messages can be up to 8,000 characters.
If something goes wrong, they see a simple message:
Message | When |
|---|---|
Sorry, I could not answer that right now. Please try again. | The run failed, there is no AI Agent, or no answer came in time. |
This chat is not available right now. | The workflow is off. |
This chat link is not valid. | The link was reset, or is wrong. |
This chat is not available on this website. | The website is not in Allowed Websites. |
You are sending messages too quickly. Please wait a moment and try again. | The per-minute limit was reached. |
This chat has reached its limit for today. Please come back tomorrow. | The daily limit was reached. |

AI Chat → AI Agent
Put your FAQs and refund policy in the agent's Knowledge, or add your help center links in Knowledge Files. Add the embed code to your website. Visitors get instant answers, day and night.

AI Chat → AI Agent (with a Google Sheets Lookup Row tool)
The agent asks for the order number, looks it up in your sheet and tells the visitor the status. Keep the tool read-only so visitors cannot change anything.

AI Chat → AI Agent → Filter → Google Sheets: Add Row → Gmail: Send Email
The agent answers questions and asks for the visitor's name and email. Turn on the switch on Split The Answer Into and write your own format, such as {"reply": "...", "name": "...", "email": "..."}, so the email comes back as its own field. When an email is found, it is saved to your sheet and your sales team gets an email.

Turn on Memory in the AI Agent. Without it, the agent forgets every message as soon as it answers. Map sessionId into Memory Key so Preview Chat remembers too.
Write the welcome message as a question, such as "What can I help you with today?". People reply more.
Add 2 or 3 Suggested Questions for the things people ask most.
Tell the agent what it must not do in System Instructions, for example "Never promise a refund. Ask them to email [email protected]." Also tell it not to share its instructions.
Set Allowed Websites before you add the embed code, so other websites cannot show your chat.
Keep the daily limit low at first, then raise it once you know how busy the chat is.
Test with Preview Chat before you share the link.
Yes. Every message runs the workflow, and it counts tasks like any other run. Each run shows up in Task History.
Your AI provider bills the API key on your AI Agent's connection.
The workflow needs an AI Agent step that is switched on, and nothing before it may stop the run, such as a Filter that does not pass. The visitor also sees this if the agent gives no new text for 2 minutes, or takes more than 5 minutes in total. Check the run in Task History.
Turn on Memory in the AI Agent step. For Preview Chat, also map sessionId into Memory Key.
Yes. Add each website to Allowed Websites, one per line, or leave it empty to allow every website.
Turn the workflow off. The link and the chat button stop working until you turn it on again.
Click the reset icon next to Chat Link and click Create New Link. The old link and the old embed code stop working right away. Share the new link and update the code on your website.
Visitors see "This chat has reached its limit for today. Please come back tomorrow." The count starts again at midnight UTC.
Only if a tool that changes data is selected in Allowed Tools. Remove those unless you really need them.
Usually yes. Most AI models reply in the language the visitor writes in. To be sure, say so in the System Instructions. For example: "Reply in the same language the visitor uses. If they write in Hinglish (Hindi in English letters), reply in Hinglish." Then a visitor who asks "Mera order kab aayega?" gets a reply like "Aapka order kal tak deliver ho jayega."
The chat window's own buttons and hints are in English.