| Field | Required | Description |
|---|---|---|
outputTable | Yes | Name of the table this step produces |
condition | No | A template variable to evaluate. Truthy values (true, non-empty strings, non-zero numbers) execute the branch. Falsy values (false, "", 0, null) skip it. |
sql | No | SQL query that returns a single value. Truthy results execute the branch. |
condition or sql must be specified, but not both.
Dependency graph
Branch steps produce an output table like any other step. Steps that reference the branch’s output table only execute if the branch condition is met:raw_orders has fewer than 1,000 rows, the filtered_orders step is skipped entirely.
Validation
| Check |
|---|
Only one of condition or sql can be specified |
| SQL conditions are validated the same as sql steps |

