EzFlowEzFlow Docs
Node referenceData transform

OBJECT_ARRAY_LOOP

OBJECT_ARRAY_LOOP node.

What it does

OBJECT_ARRAY_LOOP node.

Inputs & outputs

Input handle
None
Output handle
None

Configuration

No configuration.

Example

How it works

OBJECT_ARRAY_LOOP iterates over an array of objects. It reads the array from input.object_array and, for each element, runs the downstream sub-flow with that element as the execution context. When the array is empty the loop simply completes without executing the body. Use it to fan out processing — sending an email per recipient, creating a record per item, or calling an API per entry — without a SCRIPT node.

Example

Scenario: A Workflow receives a list of newly registered users from a CRM webhook and sends each one a welcome email.

  1. The WEBHOOK_INBOUND trigger delivers {"users": [...]}.
  2. Add an OBJECT_ARRAY_LOOP node and wire users into its object_array input.
  3. Inside the loop body, add a SEND_MAIL node and reference {{email}} and {{name}} — the current array element's fields are available directly.
  4. EzFlow iterates over every user and sends an individual email for each.

On this page