Loop / iterator
A workflow pattern that processes a list of items one by one. Example: for each overdue invoice in a list, send a personalised reminder email. Loops enable workflows to handle variable-length datasets.
Expert insight
A loop that fails on item 47 of 200 shouldn't take the other 199 down with it. Well-built loops isolate errors per item, log which specific records failed, and keep processing the rest, then surface a summary at the end ("198 succeeded, 2 failed: see below") instead of one opaque failure message that tells you nothing about what actually went wrong.
In a real workflow
A loop sends a personalised email to each attendee in a list, one item at a time.
Common mistakes
- Looping over thousands of items with an API call each, hitting rate limits.
- Not handling a failure in one item without stopping all others.
Complexity level
Requires some familiarity with automation concepts.
Related terms
Batch processing
Executing automation logic on a group of records at once rather than one at a ti…
Array (data structure)
An ordered list of items in JSON data. Most API responses return arrays e.g., a …
Workflow template
A pre-built automation that can be imported and customised. PURIST's Workflow Li…
See it in action
Want Loop / iterator built into your automation?
Book a free audit and we'll show you exactly how this applies to your business.
Get my free automation plan →Who we build for
Run a firm, an agency or an online store? We automate the work behind it.
Done-for-you n8n workflows and Claude AI agents, fixed price, maintained for you.
- Professional firms Onboarding, documents, billing and reporting run on their own. See what we automate →
- Agencies and SaaS teams Custom n8n and Claude builds, client reporting and internal tools. See what we automate →
- E-commerce brands Orders, support, returns and stock handled without the busywork. See what we automate →
More in Core concepts
Keep exploring
Low-code automation
Building automations using visual drag-and-drop interfaces with minima…
Middleware
Software that sits between two applications and translates data betwee…
Multi-step workflow
An automation with more than two steps. Most production workflows are …
No-code automation
Building automations without writing any code, using purely visual int…
Payload
The data carried by a webhook or API call. When a client fills your co…
Polling
Checking an external service for changes at regular intervals (e.g., "…