---
title: "Looping by Zapier: Repeat actions for every item in a list"
description: "Automatically repeat one or more action steps for a set of line items, text, or numbers with Looping by Zapier."
image: "https://images.ctfassets.net/lzny33ho1g45/1b9XuKfJLisQ8bEzuWWAXS/11313c3ec76280e96022ed8b1f494736/Looping.jpg"
---

# Looping by Zapier: Repeat actions for every item in a list

Automatically repeat one or more action steps for a set of line items, text, or numbers with Looping by Zapier.

When teachers grade essays, they don't write up one big document with feedback on every paper, then tack that to a bulletin board for all to see. That would be…mortifying. And the class would probably rebel. No, obviously, teachers review each essay one by one and send notes to each of their students. The grading process is the same, just repeated for each individual.

[Looping by Zapier](https://zapier.com/apps/looping/integrations) works the same way but for automated workflows. It lets you repeat the same action for every item in a dataset. Ready to set up a loop step? Keep scrolling for instructions.

### Table of contents

- [What is Looping by Zapier?](#what)
- [What you can do with Looping by Zapier](#use-cases)
- [How to get started with Looping by Zapier](#how)

## What is Looping by Zapier?

Looping by Zapier is a built-in tool for running an action or set of actions more than once in a Zap. Looping works best with structured data made up of [line items](https://help.zapier.com/hc/en-us/articles/8496275165709-Create-line-items-in-Zaps)—in other words, groups of similar values, like multiple orders or contacts. But it also works great from text strings (like comma-separated email lists) or to create a loop from numbers if you want to repeat actions a set number of times.

To create a loop, you just add a trigger, drop a Looping action step into your workflow, then follow up with the action steps you want to repeat. All those actions will run once for every item in your list.

For example, let's say you have a form where customers can order multiple products at once. You can add a Looping step that runs the same action steps for each product line—like notifying the supplier and updating inventory. Without Looping, you'd need to manually send notifications and update inventory for each product line or create separate action steps for each. With Looping, the same action steps run automatically for each product, all in a single Zap.

Looping by Zapier features include:

- **Dynamic value looping: **Run the same set of actions through line items, text, or numbers.
- **Iteration limits: **When looping line items or text, control how many times your action steps repeat. That way, you can process large lists in manageable batches or avoid reaching your plan's task limit.
- **Advanced options:** Combine Looping by Zapier with [filters](https://zapier.com/blog/filter-by-zapier-guide/) or [paths](https://zapier.com/blog/zapier-paths-conditional-workflows/) to perform actions only under certain conditions.

### Looping vs. Paths: What's the difference? 

You might be wondering how [Paths by Zapier](https://zapier.com/blog/zapier-paths-conditional-workflows/)—another built-in tool—differs from this one. Paths work well when your data fits into a fixed number of categories, while Looping is better suited for when your list length tends to change. If you always have the same number of items or categories, use Paths. If that number varies, Looping is more flexible.

## What you can do with Looping by Zapier

Here are some practical ways to put loops to work (and a little inspiration to weave AI into the mix):

### Deliver tailored news to multiple audiences

You want to share news updates with different internal teams, sending each group only the news that's relevant to them.

**What this might look like:**

1. A batch of news articles is pulled from an [RSS feed](https://zapier.com/blog/rss-automation-with-zapier/).
2. A search step finds all your target audiences in a [Zapier table](https://zapier.com/blog/zapier-tables-guide/). Each record in the table contains a team name and keyword tags representing the topics the team cares about. The search results are returned as line items.
3. Looping by Zapier creates a loop from the line items, running the next action steps once for each audience.
4. [AI by Zapier](https://zapier.com/blog/ai-by-zapier-guide/) reviews the full news feed, filters articles that relate to each audience's keyword tags, and creates customized summaries.
5. Another AI by Zapier step formats the summaries for Slack using [Markdown](https://zapier.com/blog/beginner-ultimate-guide-markdown/).
6. A record of each summary is created in a Zapier table.
7. Slack sends tailored messages to each team channel.

### Send personalized task reminders

You want to notify individual team members about their outstanding tasks for a high-priority project.

**What this might look like:**

1. [Schedule by Zapier](https://zapier.com/blog/schedule-recurring-tasks/) triggers your Zap to run every Monday at 9 a.m.
2. A search step finds all the tasks within a specific [Asana](https://zapier.com/apps/asana/integrations) project. Each task record contains the assignee's name and other task details. The search results are returned as line items.
3. Looping by Zapier creates a loop from the line items, running the next action step once for each task.
4. [Slack](https://zapier.com/apps/slack/integrations) sends a customized direct message to each team member with their number of open tasks.

### Analyze individual performance

You want to evaluate how each team member performed this quarter based on data collected across multiple tools.

**What this might look like:**

1. Schedule by Zapier triggers your Zap to run once per quarter.
2. Search steps pull activity data from various tools—say, messages sent in Slack, tickets resolved in [Zendesk](https://zapier.com/apps/zendesk/integrations), and projects completed in [Coda](https://zapier.com/apps/coda/integrations)—for all team members. Each record contains the team member's name and their activity metrics. The search results are returned as line items.
3. Looping by Zapier creates a loop from the line items, running the next action steps once for each team member.
4. AI by Zapier analyzes each team member's activity log and generates a performance summary highlighting key behaviors, accomplishments, and areas for improvement.
5. The results for each team member get added to the correct row in a Coda table for internal review.
6. Slack notifies the manager when all performance reviews are complete.

**​​Pro tip: **Want to get a Slack notification _only_ after the last result has been added to Coda? Here's how to avoid getting pinged after every individual update: Following the last step you want to loop, add a filter step and set it to continue only if the value _Loop Iteration Is Last_ matches the _(Boolean) Is True_ condition.

## How to get started with Looping by Zapier

Ready to build your first looping workflow? Follow these steps:

1. Log in to Zapier and go to the [Zap editor](https://zapier.com/editor).
2. Set up your trigger step. Choose your trigger app and event, connect your account, and customize any necessary fields. Test the trigger to make sure it works properly, then click **Continue**.
3. Add any other necessary action steps before your loop, like a search step that pulls in the dataset you want to work with.
4. In your next action step, select **Looping by Zapier** from the list of built-in tools.
5. Choose what kind of data you want to loop through. Pick **line items **for structured lists, **text** for plain-text strings that are separated by commas or some other delimiter, or **numbers** if you want to run a process a set number of times.

6. Under _Configure_, map which values you want to process and customize additional details, like whether you want to trim white space or cap the number of iterations.
7. Now add the action steps you want to repeat for each item in your loop.
8. When you're ready, test your loop to make sure it works. Note that the test will only run the first iteration. If you want to test the full loop, you'll have to turn on your Zap and try it out with real data.
9. When everything looks good to go, just remember to turn on your Zap.

## Use Looping to build scalable repeating workflows

Looping by Zapier gives you a simple way to handle lists of variable length automatically. As your list changes, your loop will fork off and handle each item individually, letting you scale without wasting time updating your Zap. Ready to start building? [Head to the Looping by Zapier integration page](https://zapier.com/apps/looping/integrations) or just dive into the [Zap editor](https://zapier.com/editor).