← All native models

Model fields

workflow.config:for_each

For Each Node Config

Iterates over an array and executes a body node for each item

object
asOptional

Name for the current item inside the nested step.

string
Default
"item"
not
Value
"index"
bodyRequired

The step to run for each item.

object
itemsRequired

The list to go through: a literal list, or a {{ … }} expression such as {{ nodes.list.output.entries }}.

Accepted shapes
array
string
maxConcurrencyOptional

How many items to process at the same time.

integer
Default
1