Conditions and branches
Filter a run with conditions, split it into branches, and understand how an otherwise branch and a stopped run differ.
Conditions decide whether a run continues; branches decide which steps it takes. Both read the same data: the triggering record, the run's input, and anything earlier steps wrote back. Neither can read other records directly; use a Find records action first if you need to.
Conditions
A condition step holds one or more rules joined by all of or any of. A rule compares a field with a value or with another field. When the condition is not met, the run stops at that step with the outcome Stopped: condition not met. That is a normal outcome, not an error; it does not count as a failure in analytics and it does not notify anyone.
| Field type | Operators |
|---|---|
| Text | is, is not, contains, does not contain, starts with, is empty, is not empty |
| Number, currency | equals, does not equal, greater than, less than, between, is empty |
| Date | is, is before, is after, is within the last, is within the next, is empty |
| Choice | is any of, is none of, changed, changed from, changed to |
| Person | is, is not, is in group, is the triggering user |
| Checkbox | is checked, is not checked |
Changed, changed from and changed to are only available on runs started by a field-changed trigger, because only those runs carry the previous value.
Branches
A branch step evaluates its branches in order and follows the first one whose rule is met. Each branch is a named path with its own steps; paths rejoin after the branch step unless a path ends with a Stop action. Add an Otherwise branch to handle everything the named branches did not match.
Three details people trip on:
- Order matters. If a record matches two branches, only the first one runs. Put the most specific rule first.
- Without an Otherwise branch, a record that matches nothing skips the whole branch step and continues with the steps after it. That is different from a condition, which stops the run.
- Branches can nest three levels deep. Beyond that, split the workflow; nested branches past three levels are hard to read in the run history.
Referencing values
Any rule or action field can reference data with braces. The picker fills these in for you, but the shape is simple:
{record.Account Name} the triggering record's field
{record.previous.Status} the value before the change (field-changed triggers only)
{run.started_at} when this run began
{steps.find_owner.first.Email} a value written by an earlier step named find_owner
{input.body.ticket_id} a key from an inbound webhook payload
A reference to an empty field evaluates to empty text. A reference to a step that did not run, for example a step on a branch that was not taken, also evaluates to empty rather than failing the run.
Stopped versus failed
A run stops when a condition is not met or a Stop action runs. A run fails when an action cannot complete, for example an email to an invalid address or a webhook that times out after retries. Analytics counts failures against your success rate; stops are excluded. See Analytics for the exact definitions.