Skip to main content

If / Else

The If / Else node is a standard conditional branch based on contact data. It checks exact values and routes the flow down one of two paths.

If/Else

How It Works​

  1. You define one or more conditions.
  2. The node evaluates them against the current contact's data.
  3. The flow continues down either the true or false output handle.

Configuration​

Conditions​

Each condition has three parts:

  • Field — which contact field to check
  • Operator — how to compare (see the full list below)
  • Value — what to compare against

Mode​

  • ALL — Every condition must be true. (AND logic)
  • ANY — At least one condition must be true. (OR logic)

Available Operators​

OperatorDescription
equalsExact match
not_equalsDoes not match
containsField contains the value
not_containsField does not contain the value
starts_withField starts with the value
ends_withField ends with the value
greater_thanNumeric or date comparison
less_thanNumeric or date comparison
not_emptyField has a value
is_emptyField is blank
regex_matchMatches a regular expression
in_listField value is in a comma-separated list
betweenValue falls between two bounds
is_trueBoolean field is true
is_falseBoolean field is false

Output Handles​

  • True — conditions are met
  • False — conditions are not met

If / Else vs. AI Condition​

These two nodes both split the flow into two paths, but they work very differently:

If / ElseAI Condition
Compares exact data valuesUses AI judgment
payment_status equals "paid""Does this customer sound happy?"
Fast and deterministicRequires an AI call
Use for structured dataUse for unstructured text

Use Cases​

  • If payment_status equals "paid" — send a thank-you message. Else — send a payment reminder.
  • If follow_up_count is greater_than 3 — stop following up. Else — send another follow-up.
  • If email is not_empty — send an email confirmation. Else — ask for their email.
  • If membership is in_list "Gold, Platinum" — send VIP offer. Else — send standard offer.

Tips​

  • Use ALL mode to require multiple conditions (e.g., status is active AND follow_up_count is less than 3).
  • Use ANY mode for flexible matching (e.g., source is "website" OR source is "referral").
  • For more than two branches, consider the Branch (Switch) node instead.