---
title: "Loop Connector"
slug: "loop-connector"
description: "Use the Loop connector in Lansweeper Flow Builder to iterate over a list of items or a set number of times and process data in your workflows."
updated: 2026-07-17T15:45:28Z
published: 2026-06-12T14:56:11Z
canonical: "docs.lansweeper.com/loop-connector"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Loop Connector

Note on third‑party tools

              

We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation.

The **loop** component allows you to loop over a list of items or loop a specific number of times depending on which action is selected. This is handy if you have a set of files or pieces of data to process. The loop component can be set up execute a series of actions on each file or item in a list.

## Actions

### Break Loop

Breaks out of the current Loop, causing execution to resume after the containing Loop.

### Repeat for Each

Loop over items. Applies each step in sequence, and returns a new collection of the results. Items must be an Array or Object.

| Input | Comments | Default |
| --- | --- | --- |
| Items | These are the items to loop over. This must be an Array (list) or Object, and should be a reference to a previous step's results. |  |

### Repeat X Times

Loops over the the steps in the loop N times, or until a loop break occurs.

| Input | Comments | Default |
| --- | --- | --- |
| Number of Iterations | The number of times to execute the steps in the loop. | 1000 |
