Branch

Flow control
Branch
true
Condition false

Description

Conditional branching on a boolean input. Emits the true execution pin when the condition is true and the false pin otherwise.

When to use

Use Branch whenever execution should follow one of two paths depending on a runtime condition. Connect a comparison or boolean-logic node to the condition input, then wire the true and false execution pins to the appropriate downstream nodes. Both branches can eventually merge back to a shared continuation node.

Pins

Input pins

Pin Type Default Notes
Condition boolean false Connect an equals, greater-than, or any other boolean-output node here to make the branch data-driven.

Execution pins

Pin Direction
In Input
true Output
Out Output

Example

Send a different email depending on whether a user score exceeds a threshold. Wire the Result output of Greater than? into the Condition input of Branch. The True execution output leads to one Send email node and the False output leads to another, so only one email is ever sent per execution.

See also