How to Build a Flow in Flow Builder
Flow Builder provides a visual canvas for designing automated conversation flows, processing customer replies, calling external webhooks, creating tickets, and routing conversations to human agents.

When you need this
Section titled “When you need this”- You want to visually compose Q&A flows, interactive menus, or webhook processing without writing code.
- You want to restrict the automation so it only starts a new execution on Business Hours .
- You want to handle the condition where the WhatsApp 24-hour customer service window has closed using the branch 24h window closed.
Configure and publish the flow
Section titled “Configure and publish the flow”- Open Automation from the side navigation, then click Create Automations or select the automation you want to edit.
- On the canvas Flow Builder, click the Triggers at the beginning of the flow to select the trigger type, channel, and business number scope (or enable Use a team’s numbers to follow the team number list). See Automation Triggers for the full list of triggers.
- Click Add Step to add message nodes, questions, condition logic, contact/ticket actions, AI, or dedicated channels (Webchat and SMS) to the canvas.
- Connect the output port of one node to the input port of the next node:
- On WhatsApp session message and question nodes, connect the 24h window closed to the Send WhatsApp Template or Send SMS step as a fallback path when the customer’s 24-hour service window has ended.
- (Optional) Click the Business Hours button in the top toolbar to open the Automation Active Hours:
- Enable the Enable daily active schedule.
- Select Time zone dialog and set the start and end time ranges for each day. Triggers only start new executions during active hours; flows already in progress continue until completion.
- (Optional) Click **Escalation Settings** in the toolbar to configure Agent Handoff Policy when a customer shows negative sentiment or repeatedly fails to answer.
- Click Test Flow to open the simulator and test branching using trial variables without sending real messages to customers.
- Click Save to save the draft, then switch the automation status to Active to start processing the trigger.
Canvas & Execution Controls Reference
Section titled “Canvas & Execution Controls Reference”| Controls / Settings | Functions & Behavior |
|---|---|
| Add Step | Opens the step catalog by category (Send Message, Ask a Question, Flow Logic & Controls, Actions & Integrations, Tickets & Support, Webchat Channel, SMS Channels). |
| Business Hours / Working Hours (Active) | Set a daily schedule per time zone in the dialog Automation Active Hours. When outside the schedule, new triggers are not executed but already-running automation sessions are still completed. |
| 24h window closed | Output port on a session message/question node that is automatically taken when the WhatsApp 24-hour customer service window has expired. |
| Test Flow | Runs a step-by-step flow simulation in the side panel to check condition evaluation and variables {{...}}. |
| Run History | Displays a log of every contact entering the automation along with the node path taken, variable values, and termination reasons. |
| Channel Scope Warning | If an automation is restricted to certain channels in Runs on (channel scope) while the canvas loads a step that only supports other channels, the canvas displays a warning Langkah ‹step› hanya berfungsi pada ‹channels›. Pada saluran lain langkah ini mengikuti keluaran 'Tidak didukung'.. |
| Loop & Depth Protection | The system limits to 500 steps per execution on the canvas, plus a delay period of 60 seconds for event triggers originating from automations. |