Concurrency: Enable parallel processing of loop iterationsWhen enabled, all iterations run simultaneously instead of one after another. This significantly speeds up loops but requires that iterations don’t depend on each other.
Concurrency
Behavior
Best For
Off (default)
Sequential - each iteration waits for the previous one to complete
Dependent operations, rate-limited APIs
On
Parallel - all iterations run at the same time
Independent operations, faster processing
With concurrency enabled, iterations may complete in any order. Don’t use concurrency if later iterations depend on results from earlier ones.
Collect Outputs: Gather all iteration results into a single arrayWhen enabled, the loop end node outputs an array containing results from every iteration. This is useful for aggregating data processed in the loop.
Copy
Ask AI
{{ loop_end.output.iterations }} → Array of all iteration data{{ loop_end.output.iterations[0].item }} → First iteration's input item{{ loop_end.output.iterations[0].executions }} → Nodes executed in first iteration{{ loop_end.output.total }} → Total number of iterations
Use Collect Outputs when you need to aggregate results, create reports from all iterations, or pass loop results to a downstream node for final processing.
The loop node’s slug becomes your variable name. Access the current item and iteration info:
Copy
Ask AI
{{ customer.output.currentItem }} // The full current item{{ customer.output.currentItem.name }} // Access item properties{{ customer.output.currentItem.email }}{{ customer.output.currentIndex }} // Current iteration (0-based){{ customer.output.total }} // Total items in array