Process multiple records with iterators
In this section you will learn about Iterators
An iterator runs its nested steps for each item in a collection or array. Use it to process several tickets with the same action.
Choose the input mode
Load Data
The iterator should query a connected collection
Resource, collection, and filters
Specify Iterate
A previous step or parameter already contains the items
The array to iterate

A filtered collection and a user's explicitly selected records are different inputs. For selection-based processing, see Process selected records.
Add the iterator
Open the component workflow, or open Automation and add an automation.
Configure the trigger.
Add an iterator and select its input mode.
Add the repeated actions inside it. You can also move existing steps into the iterator.
Bind each action to the current item's fields.
For a ticket update, use the current item's ID. Binding every iteration to a single trigger ID would repeatedly target the same ticket.
Example: process a filtered collection
The existing walkthrough uses customers filtered by city. Apply the same pattern to Tickets filtered by priority or status.

Display records in a table and configure the filter component.
Pass the filter value into a workflow parameter.
Choose Load Data and configure the same filter for the iterator's collection query.
Add a temporary in-app notification to inspect the current item in a component workflow.
After checking the selected scope, configure the intended action.
The iterator's query must include the filter; do not assume it automatically inherits a table component's filter.
Test before processing the full list
Start with two fictional records and confirm each is processed once. Test an empty array or a filter returning no rows. Inspect the current item binding and final records. The existing email walkthrough should be tested only with recipients you control.
For actions that can be repeated or partially fail, see failure handling and duplicate processing.
Last updated
Was this helpful?