Workflow Docs

If / Else

Branch the flow when conditions on upstream variables are true or false.

The If / Else node evaluates one or more conditions against variables from upstream nodes, then routes execution to true or false sub-nodes on the canvas.

When to use

  • Branch on message content, customer attributes, or trigger metadata.
  • Combine multiple checks with all must match vs at least one.
  • Gate expensive actions (HTTP, Fireberry, AI) behind logic.

Configuration

FieldWhat it doesWhen to use
RuleAll conditions must be met (ALL) or At least one condition (ANY)AND vs OR across conditions
Condition NOne rule block (see below)Each line in your logic
Add ConditionAppends a new condition rowMore complex rules
DescriptionCanvas note under the node title (placeholder when empty)Explain business rule — see Node descriptions

Per-condition fields

FieldWhat it doesWhen to use
First valueVariable or expression tree pickerLeft-hand side of comparison
ComparisonOperator (see table)How to compare
ValueRight-hand side (hidden for empty/not-empty)Literal, list, or second binding

Comparison operators

OperatorSymbol in UIValue field
Greater than>Text/number input
Greater than or equal>=Text/number input
Less than<Text/number input
Less than or equal<=Text/number input
Equals=Text/number input
Not Equal(label)Text/number input
Contains~Creatable multi-value tags
Is EmptyNo value field
Is Not EmptyNo value field

Delete a condition with the red control on the row (hover on group).

Flow behavior

  • Sub-nodes: Fixed true and false branches; branch labels are not editable on the canvas.
  • Output: Connect each sub-node handle to different paths.
  • Default evaluation mode on new nodes: ALL.
  • For variables with a fixed list of allowed values, the picker may offer a second tree to choose from predefined options.

Examples

VIP customer path

  1. Condition 1: customer tag variable Contains VIP.
  2. Rule: at least one condition (if you add alternates).
  3. True → priority Task; False → standard bot message.

Empty email check

  1. ComparisonIs Empty on email variable.
  2. TrueWhatsApp “please share email”; FalseUpdate Customer.

On this page