Chatbots
A chatbot answers WhatsApp conversations automatically and hands over to your team when needed. Chatbots live under Chatbots.
There are two kinds:
- Steps you build: buttons, questions and conditions you set, step by step. Every plan includes them.
- AI chatbots answer in your own words from your instructions and documents. See AI chatbots (Growth plan and above).
When a chatbot starts
Section titled “When a chatbot starts”| Start | |
|---|---|
| When someone sends a keyword | For example “menu” or “book”. |
| When someone sends any message | Answers every new conversation on the number. |
| Only when a broadcast or another chatbot starts it | Used for replies to a broadcast, or as a step another chatbot transfers to. |
With a keyword, choose whether the message must be exactly the keyword, contain it or start with it. Restart words, such as menu, start over, take the customer back to the first step. With more than one number, choose which numbers the chatbot answers on.
A chatbot never answers a conversation a person is handling.
Build the chatbot from steps on the canvas. Choose + to add one, and select a step to edit it.
| Step | What it does |
|---|---|
| Send Message | Text, an image, video, audio or document, or an interactive message: up to three buttons, a list menu, or a link button. Buttons and list options can branch to their own steps. |
| Send Template | An approved WhatsApp template, for when the 24-hour window has closed. |
| Wait for Input | Asks a question and saves the answer as a variable. Checks it’s text, a number, an email, a phone number, a date, a URL or one of the options you list. Add a timeout and steps to run if nobody answers; after them the chatbot stops and their next message goes to the inbox. |
| Condition | Branches on a variable: equals, contains, starts with, greater or less than, is empty, in a list, or matches a pattern. |
| Random split | Sends customers down branches by percentage, to compare two versions. |
| Business hours | Branches on whether you’re open, for example to promise a callback out of hours. |
| Set Variable | Stores a value for later steps. |
| HTTP Request | Calls your system, sends variables and saves the response. Add steps to run if it fails. |
| Contact Action | Creates or updates the contact with the answers collected. |
| AI Answer | Answers the customer’s question from your instructions and AI knowledge, then carries on with the next step. |
| Book appointment | Lets the customer book a service. See Bookings in chatbots. |
| Hand to a person | Hands the conversation to your team; it appears in the inbox. |
| Start another chatbot | Passes the conversation to the chatbot you name. If that chatbot is off or deleted, the customer is handed to a person instead. |
| Delay | Waits before the next step. |
| Go To | Jumps to another step, for loops and menus. |
| End | Ends the conversation, with an optional closing message. |
Steps can use variables in their text: {{contact.first_name}}, {{contact.name}}, {{contact.email}} and your contact fields, answers saved by Wait for Input and results of an HTTP Request. A variable with no value is left out of the message.
The editor warns about unfinished steps, such as a message with no text or a button with no label, before you save.
Ratings
Section titled “Ratings”Turn on Ask customers to rate the conversation to send a short rating question once the chatbot has answered: 👍 / 👎 or 1–5, with your own wording. On WhatsApp and SMS.
Try it
Section titled “Try it”Try it opens a test chat beside the editor, so you can talk to the chatbot without sending real WhatsApp messages. Each step shows as it runs.
Publish and turn it on
Section titled “Publish and turn it on”Changes to the steps are saved as a draft: customers keep getting the published steps until you choose Publish. Discard unpublished changes goes back to what’s live, and Version history lets you roll back to an earlier version.
Turn on and Turn off are in the editor’s header. Conversations paused at a step that moved or was removed start again at the first step with their next message.
Copy, export and import
Section titled “Copy, export and import”From the … menu, Duplicate makes a copy and Export chatbot downloads it as a .chatbot.json file: how it replies, what starts it, its AI settings and its steps, but not its numbers, knowledge or on/off state. Import on the chatbot list creates a new chatbot from such a file, switched off, so you can check it before turning it on.
Problems
Section titled “Problems”Chatbots → Problems lists failed chatbot actions, such as an HTTP request that errored, and conversations stuck at a step, from the last 14 days. Each conversation also records the steps the chatbot ran, so your team can see what it did.