Start Free — No Credit Card Required · IntelliReply AI now replies in Arabic and EnglishSee plans →

Bot Builder

Build, test and publish WhatsApp bots with menus, questions, conditions and API requests, with drafts, versions and an activity log.

Bot Builder is the newer way to build automated conversations. Compared with Flow Builder, it saves drafts as you work, lets you test the whole bot before customers see it, keeps every published version, and can call your own systems and use their answers.

Early access

Bot Builder is switched on per organization. If you don't see Bot Builder under Automation, ask us on WhatsApp or at [email protected] to turn it on for you.

Create a bot#

  1. Go to Automation and open the Bot Builder tab.
  2. Click New bot, type a Name, pick a Folder if you use them, and click Create bot. The editor opens with the start step.
  3. Click the start step and choose Start this bot when:

    • A message matches keywords: type each keyword and press Enter, then choose the Match: Exact message, Contains the word or Starts with.
    • A new contact messages you: their very first message to your number.
    • Another bot starts it: a reusable part, like collecting an address, used from other bots.
  4. Click + on any line to add a step, and click a step to edit it on the right.
  5. Click Test and chat with your bot until it does what you want.
  6. Click Publish, add a short note about what changed, and publish. The bot is now Live.
Bot Builder editor: start step with keywords, a Buttons step with two paths, and the step settings on the right
Bot Builder editor: start step with keywords, a Buttons step with two paths, and the step settings on the right

Keywords aren't case-sensitive, work in Arabic and English, and ignore punctuation, so "Hi!" matches "hi".

Steps you can add#

GroupSteps
SendMessage (text with variables and emoji), Buttons (up to 3 quick replies, a path for each), List menu, Link button (opens a web page or form), Media (image, video, audio or document).
AskQuestion: asks for text, a number, email, phone, date, photo, video, document, voice note or location, checks the format, and saves the answer to a variable.
LogicCondition (if / else on any variable), Set variable, Go to (jump to another step, like the main menu), Delay, Start another bot, End (with an optional closing message), Hand over to AI (ends the bot so the AI Reply Assistant can answer, if you use it).
ConnectAPI request (call your system and save the response), Webhook (send the answers to n8n, Make, Zapier or your own system), Send email (email your team the answers).
ContactUpdate contact (save an answer to their profile), Group / subscription (add to or remove from a group, subscribe or unsubscribe).
The Add a step menu with the Send, Ask, Logic, Connect and Contact groups
The Add a step menu with the Send, Ask, Logic, Connect and Contact groups

Test before you publish#

Click Test to chat with the bot as yourself, right in the editor. You can send test photos, documents, videos, voice notes and locations, and Restart at any time. Delays are skipped. API requests and webhooks only reach your system when you turn on Real API calls, and Make APIs fail lets you check your failure path. Nothing in a test reaches your customers.

The Test panel, ready to chat with the bot. Nothing is sent to WhatsApp
The Test panel, ready to chat with the bot. Nothing is sent to WhatsApp

Drafts, publishing and versions#

  • Every change saves as a draft by itself. Customers only see changes after you Publish.
  • Before publishing, Bot Builder checks every step. If something needs fixing, it's listed under Fix these first.
  • Keywords are checked against your basic replies, classic flows and other live bots as you type, and again when you publish. A clashing keyword has to be changed before you can publish.
  • When you publish a new version, people already part-way through finish on the version they started. New conversations use the new version.
  • Every published version is kept. Open Activity to see them and Restore as draft to go back to one.

Bot settings#

Click Bot settings in the editor to set:

  • Restart words: typing one of these at any point takes the person back to the start of the bot.
  • When someone goes quiet: end their conversation after the number of minutes you choose, so their next message starts fresh.
  • Keywords switch bots: if someone types another bot's or classic flow's keyword mid-conversation, that one takes over.
  • Pause when an agent replies: once someone from your team replies in the chat, the bot stops for that person.

API keys#

API request steps often need a key for your system. Click API keys in the editor to save one. Keys are shared by all bots in your organization and stored encrypted: after saving, nobody can see a key again, only replace it. A key can only go into an API request, never into a message, and it's hidden in activity logs and exports.

See what happened: Activity#

Open a bot's ⋯ menu and click Activity, or click Activity in the editor. The top of the page sums up the last 7 days. Below it, every run is listed with its status (Completed, In progress, Waiting for a reply, Went quiet or an error); open one to see each step the person went through and, for an error, why. Runs are kept for 30 days. Download answers (CSV) exports the answers people gave.

In the editor, Stats shows how many people reached each step in the last 7 days.

Bot Activity page with run counts, the Runs, Versions and Download answers tabs, and the run filters
Bot Activity page with run counts, the Runs, Versions and Download answers tabs, and the run filters

Manage your bots#

The bot list has All bots, Live, Drafts and Off views, and your own folders (New folder). From a bot's ⋯ menu you can Open it, see its Activity, move it to a folder, Duplicate, Export it as a .bot.json file, Turn off or Turn on, and Delete it. Import brings in a .bot.json file as a draft; API keys aren't included in exports, so add them again under API keys.

Moving from Flow Builder#

In Flow Builder, open a flow's ⋯ menu and click Copy to Bot Builder. You get a draft bot with the same steps. The classic flow keeps working until you publish the bot; publishing switches the classic flow off.

Good to know#

  • Answers people give a bot are stored encrypted and deleted after 30 days.
  • Deleting a bot stops it answering and releases anyone mid-conversation with it. It can't be undone.
  • Bots can't send templates or assign chats to an agent yet.
  • With the default Response Sequence Priority, basic replies and classic flows answer before bots. See Automation settings.
Still stuck?Our team answers on WhatsApp and at [email protected].
Ask us on WhatsApp