Skip to content

Loop ​

Iterates over an array of items or a fixed count, executing a connected sub-workflow once for each iteration.

Purpose ​

Use the Loop task when you need to perform the same sequence of steps repeatedly — once for each item in a list, or a fixed number of times. Each iteration runs to completion before the next begins, ensuring sequential processing. Connect downstream tasks to the Next output to define the per-iteration work, and optionally connect a task to the Finished output for any clean-up that should run once all iterations are done.

Inputs ​

FieldTypeRequiredDescription
OperationDropdownNoDetermines how the iteration count is defined. From Object Array loops over the items in an array; Count loops a fixed number of times.
Array ObjectTextNoThe array to iterate over. Each element becomes the current LoopItem for that iteration. Visible when Operation is From Object Array.
CountTextNoThe number of times to loop. Visible when Operation is Count.

Visibility Rules ​

Array Object is visible when Operation is From Object Array. Count is visible when Operation is Count.

Outputs ​

NameDescription
LoopItemThe current item being processed in this iteration. Available to all tasks within the loop body.
IterationIndexThe zero-based index of the current iteration.
IterationCountThe total number of iterations.

Examples ​

Loop over an array of objects

Process each user in a list one at a time.

FieldValue
OperationFrom Object Array
Array ObjectGetUsers.Result

Connect downstream tasks to the Next output. Reference Loop1.LoopItem within those tasks to access the current user.

Loop a fixed number of times

Repeat a task five times regardless of data.

FieldValue
OperationCount
Count5

Tentech