Loop workflow action
The Loop action repeats a set of workflow actions for every item in a list, or for every number in a range. One trigger that carries many records, such as the services in a request or the items in an order, can now produce a record for each one, with no code.
Add the Loop action
Open Automations > Workflows and open the workflow.
Click the + icon where the loop should start, then select Loop.
Under Loop Over, choose A list of items or A range of numbers.
For a list, click the tag icon in Items and pick the list from a previous step, such as an array from an Inbound Webhook. For a range, enter a Start Number and an End Number; the panel tells you how many times the actions will run.
Optionally set Execution Mode: leave it off for Sequential (one iteration after the other) or turn it on for Parallel (several iterations at the same time).
Click Save action.
Click the + icon inside the dashed loop box and add the actions you want to repeat. Use Custom values > Loop Item to map the current item's fields into any action.
Save and publish the workflow.
What repeats and what does not
Only the actions inside the dashed loop box repeat. Actions below the box run once, after the loop finishes.
Test the loop
The Test tab on the Loop step shows every iteration, every action inside it, and its status, for example 3 items, 3 succeeded, 0 failed.
Example: one webhook, three opportunities
An Inbound Webhook carries one customer's request with a list of services inside it: Roof repair, Gutter cleaning, and Exterior painting. The Loop runs once per service, and inside the loop a Create or update opportunity action uses Loop Item > Name and Loop Item > Estimated Value, an Add task action uses Loop Item > Preferred Date, and an Add note action uses Loop Item > Urgency. One test run creates three opportunities, three tasks, and three notes.
Good to know
A range loop has no list items, so Loop Item fields are empty. Use the loop counter under Loop Item to get the current number.
Parallel mode keeps loops fast when the actions call external systems.