Help Centre › Building Processes
Iterate over each row in the active Excel sheet
Add it to a process
In the process designer, open the Add step tab. Find For each row in Excel sheet under Loop, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | Yes | Enter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| Loop variable | Yes | Name of the variable that will represent each item in the loop. |
| First data cell | No | The cell reference where data starts (e.g. A2). Leave blank for automatic detection. |
| Maximum loops | No | Limit the maximum number of loop iterations. Leave blank for no limit. |
| Match | Yes | How the filter rows combine: every row must match, at least one must, none may, or exactly one must. Choices: All of these (AND), Any of these (OR), None of these, Exactly one of these. Default: and. |
| Contains a header row | No | Enable if the first row contains column headers instead of data. |
| Marks a transaction | No | Each loop iteration is treated as a separate transaction for reporting. |
| Transaction key | No | Formula naming each iteration's transaction, evaluated per row against the live state (e.g. '{row[Reference]}'). Leave blank and every iteration reports the same key and cannot be told apart in reporting. |
| Transaction additional info | No | Optional. Anything else worth keeping about each item - leave blank and nothing is stored. |
| Transaction attachments | No | Optional. Files to keep with EACH iteration, evaluated per row - one path per line, or a variable holding a path or a list of paths. Nothing is uploaded unless you fill this in. |
| Keys | No | Optional filters. Rows of field/operator/value; a record must match to be looped. |
See all Loop steps.
Errors
| Error | Description |
|---|---|
| File not found | The Excel file does not exist. |
| Sheet not found | The specified sheet does not exist. |
Tips
- Enable 'Has header row' to access columns by name: {row::Column Name}.
- Use loop-break to exit the loop early based on a condition.