Condition
Branches the workflow based on configured rules.
Inputs
| Field | Type | Description |
|---|---|---|
payload | any | The data to evaluate rules against |
Configuration
Up to 10 rules per condition. Each rule:
- Field: a token reference like
{{trigger.order_total}}. - Operator: equals, not equals, contains, starts with, ends with, regex matches, ≥, ≤, >, <, is empty, is not empty, in list, not in list.
- Value: literal or another token.
Rules combine with AND (all must match) or OR (any must match) — pick at the top of the rule list.
Outputs
Two output handles:
- true — fires when the rule expression evaluates true. Receives the original input payload plus a
matched_rulefield naming which rule was decisive. - false — fires when no rule matches. Receives the original payload plus an
unmatched_reasontext field explaining why.
Example
"When a WooCommerce order is over 200 EUR AND the customer's country is in [ES, FR, IT], take the true branch":
trigger: woocommerce.order_paid
then: condition
rule 1: trigger.order_total >= 200 (AND)
rule 2: trigger.customer.country in [ES, FR, IT]
true → email.send (premium-customer template)
false → email.send (standard template)