Skip to main content

Branch: Divides the workflow in different branches and executes the first branch that matches the branch condition.

node_type
string
required
Allowed value: "branch"
branches
object[]
required

Array of branches with conditions to evaluate. Minimum 2 branches required.

Required array length: 2 - 10 elements
name
string

Human-readable name of the node. Optional; a default name is assigned based on node_type if omitted.

Maximum string length: 64
Example:

"Check user type"

description
string | null

Description of what this node does

ref
string

Optional unique reference for the node (letters, numbers, underscore; must not start with a number). Auto-generated if omitted.

Maximum string length: 64
Pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$