For Each v2

Use this Node to run a set of Steps once for each item in a collection.

Use it when the same processing Steps must run for each item returned by an earlier Node.

Revision History

0.0.0.14 - Current release.

Setup Notes

You can add this Node to a Workflow without authentication or external setup.

Methods

The For Each Node exposes one method.

ForEach

Iterates over the incoming collection and runs the loop body once for each item.

Provide the collection to iterate over in Items.

Parameter Type Description
Items Array The collection of items to iterate over. Each iteration processes one item from this collection.
Return Type Description
Result Array The accumulated output items produced by the loop's Return mapping.

Usage Notes

  • This Node contains the list of Steps that should run for each iteration. Inside those Steps, make references from the For Each Node's Items input, so that each Step uses the current item in the collection.
  • Design the Steps inside the loop so that they work with a single current item rather than the full collection.
  • If the incoming collection is empty, there are no items to iterate over.
  • The shape of Result is defined by its authored Return mapping. Inside the loop, use Items for the current input item; outside it, use Result for the mapped output collection.

See also