Node Inputs
Required Fields
Input Data:The array or collection to iterate over.
Example:
["item1", "item2", "item3"]
or [{"name": "John"}, {"name": "Jane"}]
Optional Fields
Loop Variable Name:The name of the variable to use for the current item.
Example:
"item"
Default:
"item"
Index Variable Name:The name of the variable to use for the current index.
Example:
"index"
Default:
"index"
Max Iterations:Maximum number of iterations to execute (safety limit).
Example:
1000
Default: No limit Batch Size:
Number of items to process in each batch.
Example:
10
Default:
1
(process one at a time)
Continue on Error:Whether to continue loop execution if an iteration fails.
Example:
true
Default:
false
Node Output
Loop Results:An array containing the results from each iteration. Example Output:
Node Functionality
The Loop Node:- Iterates over arrays and collections.
- Executes workflow steps for each item.
- Provides access to current item and index in nested nodes.
- Supports batch processing for efficiency.
- Handles errors gracefully with continue-on-error option.
- Collects and returns results from all iterations.
- Essential for processing lists, CSV rows, API paginated results, etc.