Skip to content
Back to the app

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:

PathReads
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.

OperatorHolds when the field…
equalsequals the value
does not equaldiffers from the value
is greater than / is at leastis a number above / at or above the value
is less than / is at mostis a number below / at or below the value
containscontains the value as text
has a valueis present and not empty
is emptyis missing, empty, or an empty list
is trueis 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.

Served from this deployment. No page view leaves it.