Skip to main content

Flow Control Nodes

Flow control nodes manage how your flow runs — asking questions, looping, and controlling the conversation pace.


Asking Questions

Ask Question (Simple)

Asks a question and waits for the user's answer

This is the heart of interactive bots!

SettingWhat It Does
QuestionThe text to send
Save to VariableWhere to store the answer

How It Works:

  1. Sends the question to the user
  2. Pauses the flow and waits
  3. User replies with their answer
  4. Saves the answer and continues the flow

Outputs:

  • NEXT — Continue after answer received
  • 📝 Answer — The user's response

Ask (Advanced)

More powerful question node with validation

SettingWhat It Does
QuestionWhat to ask
ExpectType of answer (text, number, photo, choice)
ValidationOptional pattern/rule
Error MessageIf validation fails

Answer Types:

TypeWhat It Expects
textAny text
numberNumbers only
photoA photo
choiceButton selection

Loops

For Each

Runs actions for each item in a list

Perfect for:

  • Sending multiple messages
  • Processing a list of users
  • Going through products
SettingWhat It Does
ArrayThe list to loop through

Outputs:

  • Each — Runs for every item
  • 📦 Item — Current item
  • 🔢 Index — Position (0, 1, 2...)
  • Done — After all items processed

Iterate (Rate-Limited)

Like For Each, but with delay between items

Use for:

  • Broadcasting to many users (avoid rate limits)
  • Processing large batches
SettingWhat It Does
ArrayThe list
DelayMilliseconds between items

Multi-Step Forms

Form

Collects multiple pieces of information in sequence

Instead of chaining many Ask Question nodes, use Form:

SettingWhat It Does
FieldsList of questions/fields

Form Fields Configuration:

  • Label — Field name (for storage)
  • Question — What to ask
  • Type — text, number, photo, etc.
  • Required — Must answer?

Subflows (Reusable Pieces)

Call Subflow

Runs a reusable flow and returns

Think of it like calling a helper function:

SettingWhat It Does
SubflowWhich subflow to run
InputsData to pass in

Learn more in Subflows →


Other Control Nodes

Guard

Blocks access based on a condition

Put at the start of protected flows:

SettingWhat It Does
ExpressionWho can proceed
Block MessageWhat to say if blocked

Delay

Pauses for a set time

SettingWhat It Does
Duration (ms)How long to wait

Use Cases:

  • Build suspense
  • Space out messages
  • Rate limiting
Keep Delays Short

Long delays tie up resources. For scheduled actions, use external schedulers.


Counter

Tracks a count that persists

ModeWhat It Does
ReadGet current value
IncrementAdd 1
ResetSet back to 0

Great for:

  • Counting uses
  • Tracking attempts
  • Leaderboards

Common Patterns

Registration Flow

Confirmation Dialog

Retry Logic


Tips

Timeouts

Consider what happens if a user never replies. You might want to set a timeout or reminder.

Keep Forms Short

Long forms have high drop-off rates. Ask only what you need!


Next Steps