- Documentation
- Workflows
- Chatbots
- Chatbot reference
Chatbot reference
Every chatbot builder field and its limit, the Conversations and Share tabs, where a chatbot is served, putting a chatbot on a site page, the message limits, and each message a visitor can see.
Overview
A chatbot is a chat window you share as a link, a website widget, or a chat section on one of your site pages. A workflow answers it. This page lists every field of the chatbot builder, the rules for where a chatbot is served and who answers it, the limits, and each visitor-facing message.
For a first build, start with the quickstart.
The list
Chatbots in the sidebar lists your organization's chatbots, for every workspace. Each card shows:
| On the card | What it means |
|---|---|
| A status badge | Live when visitors can reach the chatbot, Draft when they cannot. |
| A workspace's name | The workspace the chatbot is for. All workspaces (organization brand) when it has none. |
| Answered by and a name | The workflow whose Chat trigger picked this chatbot. |
| No workflow yet | No workflow has picked this chatbot. |
The card's menu has Copy link and Open the chat for a live chatbot, and Delete chatbot for every chatbot.
Builder fields
The builder has four tabs, Setup, Appearance, Consent, and Share, and a Workspace list in its header. The Consent tab has its own page: Ask visitors for consent before a chat. A tab that holds a field with an error is marked with a red dot.
| Field | Where | Limit | What it does |
|---|---|---|---|
| Name | Setup | 80 characters | Required. Your own name for the chatbot, in the list and in the workflow editor. Visitors never see it. |
| Greeting | Setup | 500 characters | The first message visitors see. It is display only: it is not sent to your workflow or stored in memory. |
| Suggested questions | Setup | 4 questions, 80 characters each | Shown as buttons under the greeting until the visitor's first message. Clicking one sends it as the visitor's message. |
| Title | Appearance | 60 characters | Shown at the top of the chat. Leave empty to use the brand name. |
| Workspace | Header | The workspace the chatbot is for, or All workspaces (organization brand). Decides the brand, the domain, and who may answer. | |
| Allowed websites | Share | 20 addresses | The websites that may show the chat widget, added one at a time. Empty means no website may show it. |
Name, Greeting, Suggested questions, Title, and Workspace are saved together when you click Save. While there is something to save, the header shows "Unsaved changes". Save is unavailable while a field has an error, and the header then shows "Fix the marked fields to save."
Allowed websites are different: each website saves the moment you add or remove it.
A saved change applies to the next page load. You do not publish again for it.
Suggested questions
- Blank rows are dropped when you save.
- The same question cannot be listed twice. The second one is marked "This question is already in the list."
- Add question is unavailable once there are 4 rows.
Appearance
The look of a chatbot is its brand, and the brand comes from its workspace. The Appearance tab shows which brand applies under Brand, with a Change this brand link to that brand's settings.
| Workspace | Brand |
|---|---|
| All workspaces (organization brand) | Your organization's logo and color. |
| A client's workspace | That client's logo and color. |
After you change Workspace, the preview keeps the previous brand until you click Save.
The preview
The right side of the builder is a live preview of the chat. It follows what you type before you save. You can send it messages and click its suggested questions; it always answers "This is a preview. Replies come from your workflow once it is published." and never starts a run. On a narrow screen, click Preview in the header to open it.
Status
| Status | What visitors get | How to change it |
|---|---|---|
| Draft | The chat link shows "Chat not found". The widget shows nothing. | Click Publish. Unsaved changes are saved first. |
| Live | The chat link and the widget work, on the addresses listed under Where a chatbot is served. | Open More actions and click Unpublish. |
In the workflow editor's chatbot list, the same two states are written "(draft)" and "(live)".
Answered by
The Answered by card on the Setup tab shows which workflow replies to the chatbot.
| The card shows | What it means |
|---|---|
| "No workflow answers this chatbot yet." | No workflow has picked the chatbot. Click Create workflow, or pick this chatbot in a Chat trigger. |
| A workflow's name and Live | That workflow is published and answers. |
| "The workflow is not published." | The workflow picked the chatbot but is a draft. Open it and publish it. |
| "The workflow belongs to another workspace." | The chatbot was moved to a workspace other than the workflow's. Change the workspace back, or pick it from a workflow in that workspace. |
Open workflow opens that workflow in the editor.
Create workflow
Create workflow makes a draft workflow that already answers this chatbot: the Chat message received trigger, an AI Agent with a Memory sub-node that remembers each visitor's conversation, and a Respond node that returns the agent's answer as text. Add a model to the AI Agent and publish the workflow.
For a workspace's chatbot, the workflow is created in that workspace. For an organization-brand chatbot, it is created in the workspace you are working in. Unsaved changes to the chatbot are saved first.
One chatbot, one workflow
- One chatbot is answered by one workflow. In a Chat trigger's list, a chatbot that another workflow already answers shows "Used by" with that workflow's name and cannot be picked.
- An organization-brand chatbot can be answered by a workflow in any of your workspaces.
- A workspace's chatbot can be answered only by a workflow in that workspace.
Streamed replies
A reply can appear in the chat as it is written, a few words at a time, instead of all at once when it is finished.
A chatbot's replies are streamed when its workflow has all of these:
- One AI Agent, not inside a Loop. A second AI Agent anywhere in the workflow, including one used as a sub-agent, turns streaming off.
- One Respond node that returns that agent's answer as text and nothing else, with status 200 and no headers.
This is the workflow that Create workflow makes. The AI Agent can use tools, memory, and knowledge.
| The workflow | What visitors see |
|---|---|
| Matches the list above | The reply appears as it is written. |
| Has two AI Agents, two Respond nodes, or an edited Respond | "Typing…", then the whole reply at once. |
| Has no AI Agent | "Typing…", then the whole reply at once. |
What to know:
- The Respond node decides the final text. When the reply is finished, the chat shows the text the Respond node returned, and that text is what stays in the conversation.
- An agent that uses a tool starts its text over. If the AI Agent writes something, calls a tool, and then writes its answer, visitors can see that first text for a moment before the chat replaces it with the answer. Keep anything you would not want a visitor to read out of what the agent says before a tool call.
- Publish to turn it on. A workflow starts streaming the next time you publish it. Until then its replies arrive whole. The Answered by card says so when a published workflow's replies are not streamed.
- Some models send their text in one piece. The reply then appears all at once, as before.
- An interrupted reply finishes whole. If the model's connection breaks while a reply is being written, the part already shown stays until the reply is finished, then the chat shows the whole reply.
- Limits are the same. A streamed reply counts as one message and one waiting reply, the same as a reply that arrives whole. The 60-second limit on a reply and the 8,000-character limit on its text are unchanged.
Conversations
The Conversations tab lists what visitors sent the chatbot and what they were shown back. The newest conversation is at the top. Select one to read it.
A conversation is one visitor's chat, from the moment they accept the notice. A visitor who comes back after their chat expires, or opens the chat on another device, starts a new conversation.
| What is kept | What is not kept |
|---|---|
| Each message a visitor sent | A message refused by a limit, or sent while no workflow answers |
| The reply the visitor saw, once it was finished | The pieces of a reply while it was being written |
| "No reply" and the reason, when the visitor got none | The visitor's address, browser or name |
A turn with no reply says why:
| Line | What happened |
|---|---|
| No reply: timed out | The workflow did not answer within 60 seconds. |
| No reply: busy | Too many replies were waiting. |
| No reply: not set up | The workflow finished without returning text. |
| No reply: unavailable | The workflow failed or could not be reached. |
| No reply: the workflow chose not to answer | The workflow's Respond node answered with status 204. |
| Visitor left before the reply | The visitor closed the chat while the reply was written. |
What to know:
- Kept as long as run history. Each message is kept for your plan's run history: 30 days on Pro, 60 on Team, 90 on Business. Then it is deleted. The tab shows how long.
- Who can read them. The account owner and account admins. Other team members see a line that says so. Clients never see conversations.
- Read only. You cannot reply from the tab. To answer a visitor yourself, build it into the workflow.
- Delete one. Open a conversation and select Delete conversation to erase it for good, for example when a visitor asks you to. The visitor's chat is not affected.
- Deleting the chatbot deletes its conversations. Deleting a workspace deletes the conversations of the chatbots assigned to it; the chatbots stay, under your organization's brand. If the conversations cannot be deleted, the chatbot or workspace is kept and you can try again.
- A visitor who is still chatting starts a deleted conversation again with their next message.
Send a message into a chat
The Send Chat Message step puts a message into a visitor's chat from a workflow: to answer later, or to let a person reply from another tool.
| Field | What to put |
|---|---|
| Chatbot | The chatbot whose visitor gets the message: an organization-brand chatbot, or this workspace's own. |
| Conversation | The visitor's chat session. In a workflow started by the Chat trigger, use {{ $trigger.sessionId }}. |
| Message | Up to 4,000 characters. |
| Sent as | Chatbot, or a person. A person's message shows their name, and the chat header says they joined. |
| Person's name | Up to 40 characters. Empty shows "A team member". |
| Hand back to the chatbot | Ends "joined" in the chat header. |
What to know:
- Open chats see it within a few seconds. A chat that is closed shows it the next time the visitor opens it, while their chat lasts.
- "Joined" ends when a step hands back, or 30 minutes after the person's last message.
- The conversation must exist. The step fails with "No conversation for this session" when the visitor has not written yet, or their conversation has expired or was deleted. Route that on the step's error path.
- A retried step sends once.
- A workspace's chatbot takes messages only from that workspace's workflows. An organization-brand chatbot takes them from any of your workspaces. Publishing a workflow whose step names another workspace's chatbot fails with "A Send chat message step names another workspace's chatbot. Pick this workspace's chatbot or an organization chatbot, then publish again."
- Chats listen only when they need to. A chatbot's chats check for new messages only while a published workflow has a Send Chat Message step that names it.
- A run started before you removed the step can still send. The message is kept in the conversation, but an open chat no longer checks for it.
Hand a chat to your team in Slack
Two workflows let your team answer website chats from Slack: one posts each chat to a Slack thread, the other sends the replies back. Build them together.
- Create a table with two text columns named Session and Thread ts. Index both, and make Session unique.
- Build the first workflow, which posts each visitor message to Slack, one thread per conversation:
- A Chat message received trigger, with your chatbot picked.
- A Respond step with status
204and no body, so the chat shows no reply while a person handles it. - A Tables Find Rows step named Find thread on your table, limit 1, matching rows whose Session equals the trigger's
sessionId. - A Branch named Has a thread that tests whether the found row's Thread ts exists. Pick the value with the reference picker.
- On its true path, a Slack Send Message step named Reply in thread: the trigger's
messageas the text, and the found row's Thread ts as the thread. - On its other path, a Slack Send Message step named Start a thread with the trigger's
messageas the text, then a Tables Create Row step named Save thread that writes the trigger'ssessionIdto Session and the new message'stsfrom Start a thread to Thread ts. - Pick your Slack connection and channel on both Slack steps, and publish.
- Build the second workflow, which sends a reply typed in that thread to the visitor's open chat:
- A Slack New Message Posted to Channel trigger, with your Slack connection.
- A Branch that continues only when a person replied in a thread: the event's
thread_tsis set and differs from itsts, and the event has nobot_idand nosubtype. - A Tables Find Rows step named Find chat on your table, limit 1, matching rows whose Thread ts equals the event's
thread_ts. - A Branch that continues only when the found row's Session exists.
- A Send Chat Message step named Send to chat, with your chatbot, the event's
textas the message, Sent as set to person, and the found row's Session as the Conversation. Publish.
- Invite your Slack app to the channel, so it receives the replies.
What to know:
- The chatbot stops answering the conversations this workflow answers: its Respond node replies with status 204, so the visitor sees no reply until a person writes back.
- Replies come only from people. The second workflow skips the app's own posts, edits, and messages that are not replies in a thread.
- Two quick first messages can start two threads. The thread is saved a few seconds after a conversation's first message. A second message sent before then starts its own thread, and that run fails on Save thread because the session is already in the table. Later messages go to the first thread.
- To hand the chat back to the chatbot, set Hand back to the chatbot to Enabled on a Send Chat Message step.
Share
The Share tab holds the chat link, the allowed websites, and the embed code. While the chatbot is a draft, the tab says "Publish this chatbot to make the link and the code work."
| Item | What it is |
|---|---|
| Chat link | The full-page chat, at /chat/ followed by the chatbot's id. |
| Allowed websites | The websites that may show the chat widget. |
| Embed code | A script tag for the chat widget. Paste it before the closing </body> tag on each allowed website. |
The link and the embed code use the client's own domain when the chatbot's workspace has one. Otherwise they use your organization's address, and for a client the tab says so: "has no domain yet, so the link uses your organization domain."
Allowed website format
An entry is an exact address: http:// or https://, a domain, and an optional port. These are the same rules as a form's allowed websites.
When you type an address, the builder tidies it before saving: an address with no http:// or https:// gets https://, and a pasted page address is cut down to its website, so www.example.com/shop is saved as https://www.example.com.
| Entry | Accepted | Why |
|---|---|---|
https://www.example.com | Yes | |
http://localhost:3000 | Yes | Useful while you test on your own computer. |
www.example.com/shop | Yes | Saved as https://www.example.com. |
*.example.com | No | Wildcards are not supported. List each subdomain. |
ftp://example.com | No | The address must use http:// or https://. |
Addresses are saved in lowercase, and the builder says "Already added" when an address is in the list. A refused address stays in the box with the reason under it.
The list applies to the widget only. The chat link always works for a live chatbot, and it cannot be placed inside a frame on another site.
While the list is empty, the embed code carries this notice: "Add a website above first. Until you do, browsers block this snippet on every site."
Where a chatbot is served
| Chatbot | Chat link works on | Widget can be embedded on | Answered by a workflow in |
|---|---|---|---|
| Organization brand, no workspace | Your organization's address only. | Its own allowed websites. | Any of your workspaces. |
| A workspace's | Your organization's address and that client's own domain. | Its own allowed websites. | That workspace. |
A chatbot opened on any other address, such as another client's domain, shows "Chat not found". Each chatbot has its own list of allowed websites; adding a website to one chatbot allows nothing for another.
Put a chatbot on a site page
A Chat section shows a chatbot inside one of your site pages, in the page's own flow, between the blocks around it. It is the same chat as the chat link: the header, the consent notice, then the conversation once the visitor accepts.
- Open the page in the page builder.
- In the block list, under Chat, click Chat section.
- In the panel on the right, pick a chatbot under Chatbot. Add a Heading and a Subheading if you want text above the chat.
- Save, then publish the page.
| Rule | What happens |
|---|---|
| Which chatbots you can pick | Only published chatbots. On your organization's pages, any of them. On a workspace's pages, only the chatbots assigned to that workspace. |
| One per page | A page can hold one chat section. Saving a second one shows "A page can hold one chat section." |
| No chatbot picked | The page saves, but publishing it is refused: "A chat section has no chatbot selected — pick a chatbot or remove the block." |
| In the page builder | The section shows the chatbot's name and "The chat appears here on the published page." The chat itself never runs in the builder. |
| No workflow answers it | The section shows the title and "Chat is unavailable right now.", as the chat link does. |
| The chatbot stops being live | If the chatbot is unpublished, or assigned to another workspace, the published page shows nothing in its place, not even the heading. The rest of the page is unchanged. |
| Before the visitor accepts | The section shows the notice only. Nothing is sent and nothing is saved in the visitor's browser until they click the accept button, and the page does not scroll to the chat when it loads. |
The chat section wears the page's colors. On a client's domain, a visitor who already accepted the notice on that domain's chat link goes straight to the conversation in the section, and the other way round.
An acceptance in a chat section is recorded with the address of the page, and the workflow receives page as $trigger.metadata.source for its messages.
Deleting a chatbot
Open the card's menu in the list and click Delete chatbot. The link and the embed code stop working at once.
A chatbot that a workflow answers cannot be deleted. The list shows "Chatbot is in use" with a link to the workflow. Pick another chatbot in that workflow's Chat trigger, or delete the workflow, then delete the chatbot.
A chatbot placed in a chat section of a published site page cannot be deleted either. The message names the page: remove the chat section from that page, or pick another chatbot in it, then delete the chatbot. A chat section on a page that is not published does not block the delete; the section is left with no chatbot.
Limits
| Limit | Value |
|---|---|
| Message length | 4,000 characters |
| Reply length | 8,000 characters, then cut off |
| Time to reply | 60 seconds |
| Session length | 30 days |
| Messages kept on screen after a reload | 50 |
| Allowed websites | 20 |
| Suggested questions | 4 |
Visitors waiting on a reply
Your plan sets how many visitors can be waiting on a reply at once, in one workspace and in your account across all of its workspaces:
| Waiting on a reply at once | Pro | Team | Business |
|---|---|---|---|
| In one workspace | 3 | 5 | 10 |
| In your whole account | 3 | 8 | 20 |
Both limits are shared by every chat and every webhook that answers its caller with the workflow's result; see the webhook limits. A visitor who arrives while either limit is reached waits a few seconds and is then asked to try again.
Message limits
These limits protect your usage. A visitor who passes a limit on their own address or session sees "Too many messages, try again shortly." When the chat itself has reached its limit for the minute or the day, every visitor sees "We're helping other visitors. Try again in a moment."
| Per-minute limit | Pro | Team | Business |
|---|---|---|---|
| Messages to one chat | 15 | 30 | 150 |
| Messages from one visitor's address | 7 | 15 | 30 |
| Messages in one session | 10 | 10 | 10 |
| Per-day limit | Pro | Team | Business |
|---|---|---|---|
| Messages to one chat | 900 | 1800 | 9000 |
The daily limit is 60 minutes of the chat's per-minute limit, counted from midnight UTC. The chat's own limits apply however many addresses the messages come from, so a visitor who keeps changing address cannot use more than them.
One visitor's address can also start at most 20 new sessions in 10 minutes.
The per-address limit is half of the chat's own limit, never fewer than 2 and never more than 30. One visitor therefore cannot use up a chat's whole minute, and a second visitor still gets answers while the first is being slowed down. Visitors who share a network address, such as people in one office, share that address's limit.
Messages that are refused by a limit do not start a run and are not counted against your plan.
Messages a visitor can see
| Message | When | Try again button |
|---|---|---|
| Typing… | The workflow is running. | |
| Too many messages, try again shortly. | The visitor passed the message limit for their address or session. | Yes |
| We're helping other visitors. Try again in a moment. | Your plan's limit of visitors waiting on a reply was reached, or the chat reached its own message limit for the minute or the day. | Yes |
| That took too long. Please try again. | No reply arrived within 60 seconds, the run paused before its Respond node, or the connection dropped. The run continues. | Yes |
| Chat is unavailable right now. | No published workflow answers the chatbot, the workflow returned no usable reply, a step failed, or your run quota or spend cap was reached. | No |
| Chat not found | The chat link was opened for a chatbot that is a draft, was deleted, or is not served on that address. |
To not reply to a message, end the workflow with a Respond node whose status is 204. The visitor's message stays sent, the typing dots go away, and nothing else appears. Any other empty answer still shows "Chat is unavailable right now."
A widget whose chatbot cannot be found shows nothing at all, so a stale snippet never leaves an empty box on a client's site.
The widget on a page
- The widget sits in the bottom-right corner, 16 pixels from the bottom and right edges of the window. Its position cannot be changed.
- Opened, the chat is 380 by 600 pixels. On screens narrower than 480 pixels it fills the screen.
- The chat always uses the light version of the brand colors, whatever the visitor's device setting.
- The widget adds one frame to the page. It adds no styles, fonts, or scripts of its own to the site, and the site's styles do not reach inside it.
- Pasting the embed code twice on one page still shows one bubble.
- Visitors can use the chat with a keyboard: Enter sends, Shift+Enter starts a new line, and Escape closes the widget.
What is not supported
- File uploads from visitors.
- Handing a conversation to a person, or a shared inbox.
- Replying to a visitor from the Conversations tab. Reply from a workflow with Send Chat Message.
- Password-protected chats.
- Wildcard entries under Allowed websites.
- Colors or a logo set on the chatbot itself. The look comes from the client's or your organization's brand.
- A dark version of the chat, or a different bubble position or icon.
- More than one workflow answering one chatbot.
- A chat bubble that floats on every page of a site. A chatbot sits on a site page as a section, one per page.
- Restoring a conversation on another device.