If / Condition
Branches the flow into true or false paths based on conditions.
Logic
Use this when one event can lead to different actions depending on data like country, plan, or order value.
When to use it
- Send high-value purchases down a different path.
- Skip a step when a condition is not met.
Routing behavior
Routes the flow to the true or false branch based on the configured conditions.
Properties
| Property | Type | Required | Details |
|---|---|---|---|
conditions conditions | conditions | Optional | Conditions that determine branching |
combinator combinator | select | Optional | How to combine multiple conditions |
ignoreCase ignoreCase | boolean | Optional | Ignore case when comparing string values |
convertTypes convertTypes | boolean | Optional | If the type of an expression doesn't match the type of the comparison, try to cast the expression to the required type. E.g. for booleans "false" or 0 will be cast to false. |
Common mistakes
- Make sure both branches are intentional.
- Use the correct operator for the value type you are comparing.