FlowsCards

Condition Card

Branch the flow based on conditional logic

The Condition Card evaluates expressions and routes the flow into multiple branches, enabling if/else logic in your automations. Unlike a simple true/false split, the Condition card supports multiple named branches, each with its own set of conditions, plus a default Else path.

Condition card configuration

Configuration

Each branch consists of one or more conditions combined with AND or OR connectors.

SettingDescription
VariableThe variable to evaluate (from user.*, chat.*, message.*, flow.*)
OperatorComparison operator
ValueThe value to compare against
ConnectorAND or OR to combine multiple conditions within a branch

Operators

OperatorDescription
EqualsExact match
Not equalsDoes not match
ContainsText contains substring
Not containsText does not contain substring
Starts withText starts with prefix
Ends withText ends with suffix
Greater thanNumeric comparison
Less thanNumeric comparison
In arrayValue is in a list
Not in arrayValue is not in a list
Is emptyField has no value
Is not emptyField has a value
Matches regexRegular expression match

Connections

  • 1 input port — Receives execution
  • Multiple output ports — One per branch, plus an Else (default) port

Branches are evaluated top to bottom. The first branch whose conditions all match is taken. If no branch matches, the Else path is followed.

Multiple Branches

You can add as many branches as needed. Each branch can have multiple conditions combined with AND/OR:

  • AND — All conditions in the branch must be true
  • OR — At least one condition in the branch must be true

Use Cases

  • Routing — Route VIP customers to dedicated support based on a custom field
  • Validation — Check if required data was collected before proceeding
  • Channel routing — Different responses based on chat.integrationId (Telegram vs WhatsApp)
  • Time-based logic — Different responses during business hours using system.currentHour

Operations Cost

2 operations per execution.

On this page