The Flow Builder is where you design what your bot says and does. A flow is a set of steps (nodes) joined by connections. Open it from Bots → your bot → Flow Builder. The same guide is inside the app: click Guide in the Flow Builder toolbar.
The basics in 3 steps
- Add nodes: click Add Node in the toolbar and choose a node type.
- Configure: click any node to open its settings in the right-hand panel.
- Connect: drag from a node's bottom dot to another node's top dot.
Always click Save after editing. Unsaved changes are lost when you leave the page.
How to connect two nodes
- Hover over a node until you see the grey dots on its edges.
- Press on the bottom dot (the source) and drag.
- Drop it on the top dot of the next node (the target). A line appears between them.
- Each bottom dot supports one outgoing connection. To change it, drag from the same dot to a different node.
- To delete a connection: click the line to select it, then press Delete or Backspace.
- To delete a node: click the × in the node's header.
- Nodes with several bottom dots (Send Buttons, Condition, Ask Question with validation, API / Webhook) have one dot per outcome. Connect each one to its own next step (see Branching handles below).
The start node
Right-click any node and choose Set as Start. That node is where every new conversation begins, and it's marked with a green flag. If you don't set one, the first node with no incoming connections is used. Most bots start with a Send Buttons menu.
Node types
Messaging
- Send Text: sends one or more content blocks in order: text and/or media (image, video, audio, document). Supports {{variables}} in text and captions. Add blocks with the Message, Image, Video, Audio and Document buttons in the step settings.
- Send Buttons: sends a message with up to 5 options and waits for the choice. Each button has its own output dot; typed replies go to the Other dot. Up to 3 options appear as reply buttons; 4–5 are sent as a list menu (a bot built with AI can have up to 10). The chosen button ID is saved to a variable. Button IDs must be unique, and labels can be at most 20 characters.
- Send List: sends a scrollable list menu (up to 10 rows across sections). It doesn't wait for or branch on the choice; the next step runs straight away. For a menu that branches, use Send Buttons. Row titles are cut to 24 characters.
- Send Media: sends one image, video, audio file or document from a URL, with an optional caption. The URL must be public (no login needed).
- Send Template: sends a Meta-approved message template. You need this to message a customer outside WhatsApp's 24-hour customer-service window.
- WA Flow (plans with WhatsApp Flows): sends a Meta-native WhatsApp Flow (an interactive form) by its Flow ID. Create and publish the Flow in Meta's WhatsApp Manager first (publishing needs Meta business verification).
Input and waiting
- Ask Question: sends a question and waits for the reply, saving it as a variable. It can check the reply as a number (with min/max), email, URL or date, asks again if it's wrong, and after 3 tries (by default) goes to the Validation Failed dot. Leave validation on "None" when any reply is fine.
- Wait for Input: waits for any typed reply without sending a message first, and saves it ({{input}} by default).
Booking (plans with booking)
- Date Picker: sends the next open days that still have a free slot and waits for the tap. Saves the date ({{booking_date}} by default). Opening days, hours and capacity come from Bookings → Settings, not from the node.
- Time Picker: sends the free times for the chosen date and waits for the tap. Saves the time ({{booking_time}} by default). Put it right after the Date Picker.
- Create Booking: saves the chosen date and time as a pending booking, can send a "request received" message, and flags the chat for your team. Your team confirms or cancels it on the Bookings page.
See Bookings in WhatsApp (https://watzup.se/help/bookings) for a full walkthrough.
Logic
- Condition: checks a variable against a value and branches into True or False. Operators: equals, not equals, contains, starts with, ends with, greater than, less than, is empty, is not empty, regex match. Example: variable = {{answer}}, operator = equals, value = yes.
- Delay: pauses 1–10 seconds before the next step, to make consecutive messages feel natural. Keep it to 1–3 seconds.
Data
- Set Variable: stores a value in a session variable for later in the flow. Session variables expire with the conversation.
- Update Attribute: saves a value permanently to the contact's profile, for example their email, so it's remembered in future conversations. A customer who isn't in Contacts yet is added.
Actions
- AI Reply (plans with AI): answers with AI using the bot's AI & Chat Settings (business details, FAQs, your step texts, contact details and booking hours). Connect your menu's Other dot to it so typed questions get an answer. It keeps answering until a person takes over, and it can open one of your menu's paths (for example booking) when the customer asks for it.
- Human Takeover: hands the chat to your team when Allow human hand-off is on (AI & Chat Settings → Conversation). The bot pauses, the chat is flagged in the inbox and team members are notified. When hand-off is off, the customer is told a person isn't available and the bot keeps helping. This step ends the path.
- Update Status: sets the conversation status: Open, Pending (Needs attention), Resolved or Closed.
- Set Tag: adds a tag to the conversation, to filter chats in the inbox.
- Subscribe / Unsubscribe: opts the contact in to or out of broadcasts and marketing templates. A customer who isn't in Contacts yet is added.
Integration (Enterprise)
- API / Webhook: calls an external API (GET, POST, PUT, PATCH or DELETE) with custom headers and a JSON body that can use {{variables}}. Saves part of the response to a variable using a dot path such as
data.user.name. Branches on 2xx OK or Error (failures, timeouts after 10 seconds, or a plan without API access).
Flow control
- Trigger Bot: switches to another bot's flow from its start node. Best for flows that only send messages.
- End: ends the flow. The next message starts again from the start node. It's optional: a flow also ends when there are no more connections.
Branching handles
- Send Buttons: one dot per button, plus Other for typed replies. A lone emoji (👍) is ignored rather than sent down Other.
- Condition: True and False.
- Ask Question with validation: an extra Validation Failed dot for when the customer runs out of tries.
- API / Webhook: 2xx OK and Error.
Variables and placeholders
Use {{variable_name}} anywhere in a message. Values are filled in when the bot runs.
Swipe sideways to see the whole table →
| Variable | Value |
|---|---|
| {{customer_name}} | The contact's WhatsApp name (their @username or number if no name is known) |
| {{customer_phone}} | The contact's phone number (empty if they hide it behind a WhatsApp username) |
| {{bot_name}} | The name of this bot |
| {{answer}} | The last answer from Ask Question |
| {{input}} | The last reply from Wait for Input |
| {{booking_date}} / {{booking_time}} | The chosen date and time from the pickers |
| {{your_var}} | Anything set with Set Variable, Ask Question or an API call, or a saved contact attribute |
A variable with no value is removed before the message is sent, so customers never see raw {{…}}.
When a path ends
- A step that waits (Buttons, Ask Question, Wait for Input, Date/Time Picker, AI Reply) holds the conversation until the customer replies. An unanswered wait expires after its timeout (1 hour by default), and the next message starts the flow again.
- When a path finishes without waiting, the next message shows the menu again. Exception: if your start menu's Other dot leads to AI Reply, the next message goes to the AI instead. A path that ends with Create Booking or End always goes back to the menu.
- AI Reply keeps answering every message until a person takes over or the conversation expires.
AI, hand-off and languages
- AI Reply needs a plan with AI. Without it, the step is locked in the builder. A customer who reaches it is asked to pick one of the options, and your start menu is shown again (a flow that doesn't start with a menu stays quiet). Once your plan has AI, the same step answers again.
- Allow human hand-off (AI & Chat Settings → Conversation) controls both the Human Takeover step and the AI.
- Use as AI knowledge (Text, Buttons and List steps, on by default): the AI can answer from that step's text even if the customer never opened it. Turn it off for text that isn't business information.
- The AI can open your menu options. When a customer asks in their own words for something a menu button leads to, the AI can open that path. It only enters steps that wait for the customer (a date picker, a question, a menu) or Human Takeover, never Create Booking or API calls directly.
- Translations: each customer-facing step has a Translations box for every other language the bot allows (set in AI & Chat Settings). Customers see their chat's language; an empty translation falls back to the default language. Suggest translation (plans with AI) fills the fields for you to review. Nothing is translated automatically while chatting.
- Checks: after loading or saving, the toolbar shows a warning count for things to review, such as placeholder text, a Human Takeover step while hand-off is off, or missing translations. They never block saving.
Example: a support bot
- Send Buttons (set as Start): "How can I help you?" with buttons Order status, Returns, Talk to us.
- Order status → Send Text: "Here's how to track your order…"
- Returns → Send Text: "Our returns policy is…"
- Talk to us → Human Takeover (turn on Allow human hand-off).
- Other → AI Reply to answer typed questions (plans with AI), or Ask Question: "Sorry, I didn't understand. What do you need help with?"
Tips and rules
- WhatsApp shows at most 3 reply buttons; a Send Buttons step with 4–5 options is sent as a list. Button labels: 20 characters. List rows: 24 characters and 10 rows.
- Nodes with a lock icon need a plan with that feature. A locked step already in a flow doesn't run: AI Reply asks the customer to pick an option and shows your menu again, WA Flow and the date/time pickers stop that path, and API / Webhook takes its Error dot.
- Test your bot with Test in the toolbar. The test chat runs your saved flow without sending anything on WhatsApp or using AI credits; delays are skipped, and API calls and Create Booking don't run (the chat says what would happen). Then send a real WhatsApp message to your number.
Need help?
WhatsApp us or email info@watzup.se. We can also build your first bot with you for free.