Node reference
If node: branch on a condition
if · Updated September 17, 2026
The If node evaluates a condition and fires exactly one of its two ports. Edges from the other port die, and everything that depends only on them is skipped.
When to use it
Any yes-or-no decision, such as whether a lead is qualified or a ticket is urgent.
Ports
- Inputs
in- Outputs
truefalse
Configuration
- Condition
expressionrequired - expression
Output
Fires true or false with its input passed through unchanged.
Example
nodes.score.output.structured.score >= 70Good to know
Conditions are bare expressions, without braces. For more than two outcomes, use a Switch.
Keep reading
- Switch node: multi-way branchingThe Switch node routes a workflow down one of many branches: each case has its own port and expression, with a default port when none match.
- Merge node: join branchesThe Merge node joins workflow branches back together once every incoming edge settles, passing on the first value, a list, or an object keyed by source.
- Lead enrichment and routing with AIEnrich inbound leads from an API, let Claude score fit with structured output, and route high-scoring leads to sales in a visual AI workflow.
Build it on the canvas
Create a free account and run your first workflow in the browser, or run Novalink on your own machine.