Control Flow
Control-flow steps are decided by the platform from the run's data. No model is involved, and conditions are compared, never executed as code. Click one on the canvas to set it.
Fields
A field is a dotted path into what the step can see when it runs:
| Path | Reads |
|---|---|
inputs.<key> | A field of the run form, by key, e.g. inputs.priority |
results.<step id>.<part> | A part of an earlier step's result, e.g. results.lead-qualifier.confidence |
The settings panel suggests the run form's fields and every earlier step. An agent step's result has summary, findings, metrics, items, recommendations, missing_information and confidence (see Agent Steps). List items are read by position, e.g. results.qc.findings.0.severity.
If / Else
Set Field, Operator and, where it needs one, Value. The run follows the green TRUE output when the condition holds, otherwise the red FALSE output. Steps on the branch not taken are skipped.
| Operator | Holds when the field… |
|---|---|
| equals | equals the value |
| does not equal | differs from the value |
| is greater than / is at least | is a number above / at or above the value |
| is less than / is at most | is a number below / at or below the value |
| contains | contains the value as text |
| has a value | is present and not empty |
| is empty | is missing, empty, or an empty list |
| is true | is any value other than false, 0, empty or missing |
Numbers and true/false you type are compared as such. An If / Else with no condition set follows FALSE.
Switch
Set the Field and the Cases, one per line, in the order of the outputs on the card. The run follows the output whose case equals the field's value exactly. Name a case Default to catch everything else.
For Each
Set the Collection field and Most items to take. The step's result is the list, up to that many items (and whether it was cut short), for the next step to work through. It does not repeat steps by itself.
Delay
Waits Seconds to wait before the next step, at most 300 seconds whatever is set.
Merge
Joins branches. It runs once at least one incoming branch arrived, and its result is every result that arrived, so after an If / Else it holds the side that was taken.