06 · logic
Boolean branch — true path vs false path based on a condition.
When to use it
Binary decisions only. Prefer Switch when you have three or more named outcomes (sales / support / other).
Writeup
Boolean branch — true path vs false path based on a condition. Binary decisions only. Prefer Switch when you have three or more named outcomes (sales / support / other).
Step by step — how to wire it
01
Add IF after data exists
Place IF after Webhook/Set so the fields you test are already on $json.
02
Write the condition
e.g. String → {{$json.body.priority}} equals urgent (case-sensitive if strict).
03
Wire both outputs
True → Slack alert. False → Sheets queue (or whatever your product needs).
04
Test both sides
Send one payload that matches and one that doesn’t — confirm only the right branch fires.
How it functions
Condition
Compare expressions like {{$json.body.priority}} equals urgent. Strict mode respects types/case.
Two outputs
True and false pins — wire different nodes on each. Unconnected pins drop those items.
Used for
Used for 1
Urgent vs normal priority routing
Used for 2
VIP vs standard lead handling
Used for 3
Skip work when a field is empty
Tips
Normalize values with Set before IF if clients send Urgent vs urgent.
For multi-way routing, Switch is clearer than nested IFs.