flowflow.forEach

For Each

Run another flow for each item in an array.

Inputs

3
InputValue typeRequirementAccepted sources
ArrayarrayArray to iterate. Value type: array from a previous node output. Each item is passed to the child flow as item, index, and length.arrayRequirednodeOutput
Custom Input ModeinputModeHow custom child-flow inputs are passed. The editor uses fields mode; item, index, and length remain system-managed.stringOptionalliteral
Custom InputsinputsField mappings for target flow.input declarations other than item, index, and length. Values are resolved in the parent flow and passed unchanged to every iteration.objectOptionalliteral

Outputs

4
Output pathValue typeCoordinate space
data.flowIdstring
data.lengthnumber
data.iterationsnumber
data.outputsarray

Runtime support

DesktopSupported
Android AgentSupported