Node reference
Iterate
Run once for every array item
Run once for every array item
Part of Core / Flow. This reference is generated from the node definitions shipped with Blokboard.
When to use it#
- Process every row from a CSV file.
Parameters#
| Parameter | Field type | Default | Description |
|---|---|---|---|
Items (items) | string | — | Array to iterate. Leave empty to use the complete incoming value. |
Inputs#
| Port | Value | Description |
|---|---|---|
in | array | Array to iterate. If Items is empty, the entire input must be an array. |
Outputs#
| Port | Value | Description |
|---|---|---|
item | any | One execution token for each item in the input array. |
done | object | Emitted after all item paths created by this iteration complete. |
The item port emits a separate execution for each item.
done fields#
| Field | Type | Description |
|---|---|---|
count | number | Number of iterated items. |
source | object | Original source payload. |
The done port waits for the descendant paths of item to finish.
Use in a workflow#
Connect this node to the path that should execute it. Run a small example, inspect its actual output, and use the expression picker to select values for later nodes.
See expressions for mapping values, workflow basics for connections, and troubleshooting for failed runs.