Build workflows
Branches, loops, and waits
Use If, Iterate, Merge, and Wait to control when each step runs.
Flow nodes control which paths execute and when they continue. Start with small branches and inspect their outputs before adding external actions.
Route with If
If evaluates its conditions and sends the incoming payload to either true or false. Conditions can compare equality, ordering, or whether a value exists. Additional conditions combine with AND or OR.
Connect both ports when both outcomes need work. Leave one unconnected when that outcome should end the path. Try route a sample balance.

For each input, If forwards the payload through true or false. These alternatives should not feed a Merge in Join branches mode, which waits for both.
Process arrays with Iterate
Iterate emits one execution through item for each array element. Set Items to an array expression or a path in the incoming payload. Leave Items empty only when the entire incoming value is an array.
Use the Sequential toggle in the parameter panel:
- Off: Concurrent (default) allows item paths to overlap. Completion order can differ from array order.
- On: Sequential starts the next item only after all started paths of the current item finish. This includes asynchronous actions, branch joins, nested iterators, and their completion paths. If waits only for its selected route; branches within an item may still overlap.
The done port fires once after the item work, including for an empty array. Its payload includes count and the original source. Actions connected to done execute afterward. If a summary needs a collected array, connect it after the collector's output.
Sequential applies to each invocation of Iterate. A sequential outer iterator waits for all inner work and its done continuation. A concurrent outer iterator may run several independent sequential inner invocations at once. A subscription inside an item must finish before the next item can start.
Use State references and Update State to share a pending batch or checkpoint between sequential items. Variables still belong to their paths. Initialize missing keys and explicitly reset temporary batches before each run; sibling branches and overlapping runs can still race on the same State key. Sequential is not a lock across workflows or runtimes.
Retries finish inside the current item. Stop or a stop-on-error failure prevents later items from starting. Continue on failure ends that failed path and lets iteration proceed once the other started paths settle.

Three items start three item paths. Concurrent allows overlap; Sequential finishes each item before starting the next. The done path follows the item work.
Join branches or collect items with Merge
Merge defaults to Join branches. This mode waits for one value from every incoming edge, then combines them into an array. Use it for branches that all run.
Collect items gathers repeated executions into one array. Connect the processed item paths and one direct Read file or Iterate done output to the same Merge input. It emits once after the item paths finish, including an empty array when no items reach it. The completion signal is not added to the array. Accepting an item finishes that contribution immediately, so Sequential can advance without waiting for the completed list.
The modes work together. When each item splits into branches, Join branches reunites the results for that same item even if other items finish first. Ten items produce ten joins. Feed those joined results into Collect items and connect the source done output to collect all ten results once. Turn off Flatten arrays on the collector to keep each joined group together. Join does not infer matches between independent loops from row numbers or data IDs; collect each loop first, then join its completed array. Sequential workflows reject joins across different item scopes, including an item joined with its own done path, before execution. Unmatched branches report an error instead of advancing a blocked item.
Use collection when later work needs all processed results together. If you already have an array, pass it directly to Code or Write file. Write file can also append each incoming execution to the same temporary file; that path needs no collector. Iterate splits arrays, while Variable and State assign values without gathering executions.
Use Code after collection to sort, group, deduplicate, or summarize. Write file accepts the resulting array as a batch; Iterate splits it back into separate executions. Collections use arrival order. Under More options, turn off Flatten arrays when nested arrays should remain separate values.
Join branches cannot join mutually exclusive If routes because only one runs. Collect items can gather the routes that actually run within its source iteration. For multiple source loops or files, collect each separately and join their arrays, or connect an outer Iterate done output to collect all of its descendant results.
Pause with Wait
Wait holds a payload and forwards it unchanged after the configured number of seconds. Use zero or a positive number; fractional seconds are allowed. Stopping a run cancels the pending wait.
A Wait delays a path in one run. A schedule starts separate runs over time. Use the feature that matches the job.