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

# Loops

> Repeat a step for every record in a set, so one workflow can act on many — a message per deal, a record per contact.

A **loop** runs its steps once for every item in a list. It's how a single workflow acts on many records at once — send a message for each open deal, create a record for each contact, update every account a find step returned — instead of building one workflow per record.

## How to use it

1. Add a **loop** step and give it the list to iterate over — usually the results of an earlier [Find Records](/docs/workflows/find-and-filter-records) step, like `{{find-1.records}}`, or a collection from the trigger such as the accounts on a meeting.
2. Put the steps you want repeated inside the loop.
3. Each time through, those steps run against the current item, so a Slack message or CRM write acts on one record at a time.

## Good to know

* Set a **limit** to cap how many items the loop runs on.
* Turn on **run in parallel** to process items concurrently rather than one after another.
* Action steps like [write to Salesforce](/docs/workflows/actions/write-to-salesforce) and [write to HubSpot](/docs/workflows/actions/write-to-hubspot) act on one record per run — wrapping them in a loop is how you make them act on many.

## In practice

On a Monday-morning [scheduled](/docs/workflows/triggers) workflow, a Find Records step pulls every open deal with no recent activity, and a loop sends the owner of each a Slack nudge — one workflow, one message per deal.

## Related

* [Find & filter records](/docs/workflows/find-and-filter-records) — produce the set a loop runs over
* [Write to Salesforce](/docs/workflows/actions/write-to-salesforce) — loop to update many records
* [Write to HubSpot](/docs/workflows/actions/write-to-hubspot) — loop to create or update many records

Questions? We're here to help at [support@clearskies.cc](mailto:support@clearskies.cc)
