Skip to main content
The If/Else Branch node evaluates multiple conditions in sequence and routes each contact to the first matching path. Each condition is built using the Unified Query Engine, giving you access to contact fields, company fields, engagement data, audience membership, and more.

Configuration

SettingDescription
If conditionThe first condition to evaluate. If it matches, the contact follows this path.
Else if conditionsAdditional conditions evaluated in order. A contact follows the first one that matches.
All othersA default catch-all path that is always present. Contacts who don’t match any condition follow this path.

Adding branches

Click Add branch to add a new Else if condition. There is no limit to the number of branches you can add.

Building conditions

Each branch uses the same condition builder as the True/False Branch node. You can combine multiple conditions within a single branch using AND/OR logic and nested groups. For details on available operators and field types, see the Unified Query Engine overview.

Behavior

  • Conditions are evaluated top to bottom (left to right visually on the canvas), starting with the If condition.
  • As soon as a condition matches, the contact follows that path. Remaining conditions are not evaluated.
  • If no condition matches, the contact follows the All others path.
  • Each contact follows exactly one path.
  • Contacts are evaluated using the most current data available at the moment they reach the node.

Example

An If/Else Branch that routes contacts by name:
BranchConditionResult
IfFirst Name = AliceFollows the If path
Else ifFirst Name = BobFollows the Else if path
All others(no conditions matched)Follows the All others path
A contact named Alice matches the first condition and follows the If path. The remaining conditions are skipped. A contact named Carol doesn’t match any condition and follows the All others path.

When to use If/Else Branch vs. other branch types

NodeBest for
If/Else BranchMultiple conditions with different logic per path, evaluated sequentially
True/False BranchA single yes-or-no decision point
Field BranchRouting by exact values of a single field

Use cases

  • Engagement-tiered nurture — route contacts into high, medium, and low engagement paths based on email activity thresholds
  • Lead scoring tiers — send hot leads to sales, warm leads to a nurture sequence, and cold leads to a re-engagement flow
  • Multi-region routing — direct contacts to region-specific messaging based on country or locale
  • Lifecycle-based onboarding — deliver different onboarding content for trial users, new customers, and returning customers
  • Funnel stage actions — trigger different follow-ups depending on how far a contact progressed through a signup or demo request flow