Who can use this?Flow control nodes don’t send messages to the customer. Instead, they evaluate conditions, pause the flow, call external systems, set variables, and navigate between flow sections. Use them when your bot needs to make decisions, wait for events, or integrate with external tools.
- Gallabox users with Bot Builder access (Owners and Admins).
Plan Availability
How Flow Control Nodes Work
Flow control nodes:- Evaluate conditions to decide which branch of the flow to take
- Pause the flow for a set time (Delay) or until an event occurs (Wait for Order)
- Call external systems via API to fetch or send data
- Set or update variables that other nodes use
- Jump to different parts of the same flow or a different flow
- Integrate with tools like Google Sheets to log data
Flow Control Node Types
Logic & Branching
Condition
Evaluates a logical expression and routes the flow based on whether it’s true or false. Comparison operators:=, !=, >, <, >=, <=, contains, not contains, starts with, ends with, is empty, is not empty
Example — route based on order value:
Switch
Routes the flow to different branches based on the value of a variable — like a multi-way version of Condition. Example — route based on department:Set Variable
Creates or updates a variable with a static value or a computed expression. Example — static value:Timing & Waiting
Delay
Pauses the flow for a specified duration before continuing to the next node. Use cases:- Send a follow-up message 30 minutes after no response
- Add a natural pause between messages
- Wait before retrying an API call
- Duration: e.g., 30 minutes, 2 hours, 1 day
- Send while waiting: optionally send a “typing” indicator or a hold message
Wait for Order
Pauses the flow until the customer places an order from your WhatsApp catalog — that is, until an order message arrives in the conversation. Use cases:- Prompt the customer to pick items from your catalog, then continue once they place the order
- Capture the order details before moving to payment or confirmation steps
- Question Text — the message prompting the customer to place their order
- Attempt — how many times to re-prompt if the customer sends something other than an order
- Validation Error Message — what to send when the customer’s reply isn’t a catalog order
Business Hours
Checks whether the current time falls within the business hours configured for the conversation’s WhatsApp channel and routes accordingly. Configuration: Business hours are set per WhatsApp channel (per connected number) under Channels → WhatsApp → configurations — working hours, special days, and closed days. The node checks the configuration of the channel the current conversation is on, and reports one of three outcomes: Open, Closed, or Not configured. Example:External Integrations
API Call (Essential+)
Makes an HTTP request to an external API — can fetch data to use in the flow or send data to an external system. Use cases:- Check real-time inventory levels from your ERP
- Verify a coupon code against your promo system
- Create a lead in your CRM when a form is submitted
- Fetch live exchange rates or pricing
- Method: GET, POST, PUT, PATCH, DELETE
- URL: The API endpoint (can use variables like
{{base_url}}/orders/{{order_id}}) - Headers: Authorization, content-type, etc.
- Body: For POST/PUT/PATCH — JSON body with variables
- Response mapping: Store API response fields in variables for use in downstream nodes
Google Sheets Integration
Reads from or writes to a Google Sheet — useful for logging data, looking up information, or managing spreadsheets. Use cases:- Log every bot conversation to a Google Sheet
- Look up product information from a sheet
- Check agent availability from a schedule sheet
- Store lead data in a shared sheet
- Action: Add New Row, Update Row, Fetch the Row Value, Fetch the First 10 Matched Row Values
- Spreadsheet: Select from connected Google Sheets
- Sheet name: The tab within the spreadsheet
- Columns: Map Gallabox variables to sheet columns
Flow Navigation
Jump To (Essential+)
Jumps to a different section within the same flow, or to a specific node in another flow. Use cases:- Reuse common flow sections (e.g., a “Thank you” ending used in multiple places)
- Create loops (jump back to a previous step)
- Route from a sub-flow back to the main flow
Add Note & Mention (Essential+)
Adds an internal note to the conversation and @mentions the assigned agent — visible only to agents, not to the customer. Use this for handoffs or to alert the agent handling the conversation. Example:AI Nodes (Advanced only)
GPT Dialog
Uses a GPT-powered conversation node — the bot responds to the customer using AI-generated replies based on your configured prompt and knowledge base. Use cases:- Handle complex, open-ended customer queries
- Provide instant responses to FAQs without writing every possible answer
- Power a product recommendation engine
- Set the system prompt (what the bot should do)
- Connect a Knowledge Base for context
- Set conversation boundaries (what topics are in-scope)
- Configure fallback (what to do if the AI can’t answer)
GPT Knowledge Base
Retrieves relevant information from a connected knowledge base to use in your flow — the bot finds the most relevant content and uses it to generate a response or populate a variable. Use cases:- Answer product FAQ questions from your knowledge base
- Look up policy information for support queries
- Provide pricing and feature information from your documentation
- Select the knowledge base to query
- Set the query (from a variable like
{{customer_question}}) - Store the retrieved answer in a variable:
{{kb_answer}} - Use
{{kb_answer}}in a downstream Send Text node
Utility Nodes
Goal
Tracks a conversion goal — records when a customer completes a specific action (e.g., makes a purchase, books a demo, signs up). Configuration:- Name the goal (e.g., “Demo Booked”, “Order Placed”)
- Optionally attach a monetary value (e.g., “₹500 per demo booking”)
- Place the Goal node at the end of the success path in your flow
Hint
Adds a note on the flow builder canvas — use it to document what a section of the flow does for yourself and your teammates. Example: Place a hint above a branch: “This path handles repeat customers — see Order Tracking flow.” Note: Hints are builder-only annotations. They are never sent to customers on any channel.Connector
Adds an external tool connection (Shopify, HubSpot, Razorpay, etc.) to the flow — used to authenticate and configure the integration. Note: You typically add connectors in Integrations rather than inside individual nodes. The Connector node is used for advanced configurations where you need conditional connector selection.Connections
Links different parts of the flow together. Used automatically by the flow builder when you connect nodes — typically no manual configuration needed.FAQs
Condition vs Switch — which should I use?
Condition vs Switch — which should I use?
Use Condition when you have 1–2 branches based on a single comparison (e.g.,
order_total >= 5000).Use Switch when you have 3+ possible values and need clean multi-way routing (e.g., route by department: sales / support / billing / returns).You can also nest Condition nodes inside Switch branches for complex logic.How does Delay affect conversation timing on WhatsApp?
How does Delay affect conversation timing on WhatsApp?
Delay pauses the entire bot flow — no messages are sent to the customer during the delay period. If you need to send something while waiting, use the “Send while waiting” option in the Delay node (shows a typing indicator or a hold message).Important: The flow must remain active during the delay. If the conversation expires (customer goes silent for 24+ hours on WhatsApp), the flow may not resume. For long delays (hours or days), use a Sequence instead of a Delay.
Can I use data from an API Call response in my bot flow?
Can I use data from an API Call response in my bot flow?
Yes — map fields from the API response to variables in the API Call node configuration. For example:
response.body.customer_name→{{customer_name}}response.body.order_status→{{order_status}}
{{customer_name}} and {{order_status}} in any downstream node (Send Text, Condition, etc.).How many Jump To nodes can I add to a flow?
How many Jump To nodes can I add to a flow?
You can add a maximum of 10 Jump To nodes per flow. If you hit this limit, split your flow logic: use a Switch node for multi-way routing, or break the flow into separate linked flows.
What's the difference between GPT Dialog and GPT Knowledge Base?
What's the difference between GPT Dialog and GPT Knowledge Base?
GPT Dialog is a full AI conversation node — the bot has a back-and-forth dialogue with the customer using AI-generated responses. Use it for open-ended conversations where you can’t predict every possible question.GPT Knowledge Base is a lookup node — it searches your knowledge base for relevant information and returns it as a variable. Use it to enrich rule-based flows with AI-powered answers without making the entire flow AI-powered.
Related Articles
- Bot Flow Builder Overview — how to build, test, and publish bot flows
- Ask Nodes Overview — collect input from customers
- Send Nodes Overview — deliver messages and media
- Bot Connectors Overview — Shopify, HubSpot, Razorpay, Google Sheets, and more
Next Steps
- Add a connector to your flow — connect Shopify, HubSpot, or Google Sheets to your bot flow
- Build your first bot flow — create, test, and publish a complete bot flow