← All nodes
Logic

Loop

Runs a branch of the pipeline once for every incoming row.

When to use it

Use it when each row describes a unit of work rather than data, such as a list of files to open or a set of reports to write one by one.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
On ErrorselectYescontinue

Example

Process each file in a folder

  • On Error=Continue
Rows fed into the Loop
File
jan.csv
feb.csv
What the Loop node shows
IterationFileStatusOutput: Total
1jan.csv3 rows1200
2feb.csv3 rows900

Each input row becomes one iteration; the Loop's own preview is a summary with a status and the first row of that iteration's output.

Worth knowing

  • Connect the first body node to the Start pin and the last body node back to the End pin; everything on that path runs once per item.
  • The Output pin carries every iteration's End rows appended together, which is what downstream nodes receive.
  • On Error set to Continue records a failing iteration and carries on; Stop Pipeline halts the run at the first failure.
  • Shrink the input before the loop, since one row means one full pass of the body and the item count is capped.

Others in Logic