Branching Functions
Control the flow of execution with conditional logic.
| Function | Description |
|---|---|
| Continue If | Stop the flow if a condition isn't met |
| If/Else | Run different actions based on a condition (TRUE/FALSE branches) |
| If/ElseIf | Multiple conditions — first match wins |
| Assign If | Choose a value based on a true/false condition |
| Lookup | Convert one value to another using a key-value lookup table |
Example: Filter by Command
Conditional Logic
Check if message is a command, then respond differently

Telegram Bot
Bot Update
Branching
Continue If

Telegram Bot
Send Message
Continue If
Evaluates a condition. If false, the flow stops (status: STOP). If true, continues to the next block.
Inputs: value A, operator (equals, not equals, contains, greater than, etc.), value B
If/Else
Creates two branches: TRUE and FALSE. Drag actions into each branch. The matching branch executes based on the condition.
Inputs: value A, operator, value B
If/ElseIf
Like If/Else but with multiple conditions. Add as many branches as needed. The first condition that matches wins. Optional else branch for no match.
Assign If
Returns one value if the condition is true, another if false. Useful for inline conditional assignments.
Inputs: condition value A, operator, value B, value if true, value if false
Lookup
Maps an input value to an output using a JSON lookup table. Like a dictionary or switch/case.
Inputs: key (the value to look up), table (JSON object like {"a": "Apple", "b": "Banana"})