*Workflows › Reference › Steps*

# Loop

> Repeats the steps it holds while a condition holds, up to a maximum number of iterations.

## Branches

The steps this one holds, by branch.

- `do`

## Limits

At most 500 iterations; the editor suggests 100. If the condition is still true at the limit, the step fails and the run ends as failed (it is not retried).

More in [Steps](https://docs.filmo.io/workflows/branches-and-loops).

STEP `loop`

## Configuration

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `while` | condition | Yes |  |
| `maxIterations` | number | Yes |  |

---

Canonical URL: https://docs.filmo.io/workflows/reference/steps/loop  
Last updated: 2026-10-25