Skip to main content

Overview

The Loop step iterates over an array and executes nested child steps for each item. On the canvas, the loop appears as a container node — drag child steps inside it to define the logic that runs per iteration.

Configuration

FieldDescription
Iterator PathPath to the array to iterate over (template variable)
ModeSequential or Parallel (with configurable batch size)
DelayMilliseconds to wait between iterations
Max IterationsMaximum number of iterations (capped at 10,000)
Error HandlingContinue (skip failed items) or Stop (halt on first error)

Execution Modes

ModeDescription
SequentialItems are processed one at a time in order
ParallelItems are processed concurrently. Set a batch size to control how many run at once.

Accessing Loop Data

Inside child steps, use these template variables:
VariableDescription
{{iteration.item}}The current item being processed
{{iteration.item.field}}A specific field on the current item
{{iteration.parent.*}}Parent loop context when loops are nested

Nesting Loops

Loops can be nested by placing one loop inside another on the canvas. Use {{iteration.parent.item}} to access the outer loop’s current item from within the inner loop.

Output

FieldTypeDescription
dataarrayResults from all iterations
successbooleanWhether the loop completed
success_countnumberNumber of successful iterations
error_countnumberNumber of failed iterations