Skip to main content
Version: 0.23.1

Loop Actions

Actions in the Flow Control → Loop sub-group. Actions nested under a loop run once per iteration.

Repeat for each item in

Iterates over a collection — the rows of a loaded CSV, the messages returned by Read Emails, a list built in Python.

📸 Screenshot needed — /img/editor/actions/loop/for_loop.png

Capture: the Repeat for each item in form with a collection variable selected, plus the Commands tree showing nested child actions.

ParameterDescription
Collection Of Items variableVariable holding the list to iterate over.
Current Item variableName of the variable that holds the item being processed. Default item.
tip

Settings → General → Auto Load Cycle Iterable controls whether the Editor loads the collection while you are building the loop, so the Variables panel can show you the real shape of itemAsk, Always or Never.

Repeat x times

Runs the nested actions a fixed number of times.

📸 Screenshot needed — /img/editor/actions/loop/repeat_times.png

Capture: the Repeat x times form showing Times and Iterator variable. Why it is new: this action did not exist in 0.14.2 and has no screenshot.

ParameterDescription
TimesHow many iterations to run. Accepts a number or a variable. Default 1.
Iterator variableVariable holding the current iteration number. Default i.

Repeat until

Repeats while a condition holds.

📸 Screenshot needed — /img/editor/actions/loop/while_loop.png

Capture: the Repeat until form with the Repeat type control visible. Why it must be retaken: Repeat type is new — the old screenshot shows only the condition field.

ParameterDescription
ConditionLogical expression evaluated each iteration; the loop ends when it becomes false.
Repeat typeRepeat until evaluates the condition before the first iteration, so the body may never run. Repeat until (at least once) runs the body once and then evaluates — the do-while form.

Stop the loop

Exits the innermost loop immediately. No parameters.

Skip to the next iteration

Skips the rest of the current iteration and continues with the next one. No parameters.


Keep loops finite

Repeat until can spin forever if the condition never flips — for example when the action that was supposed to advance the page silently failed. Guard every conditional loop:

  • add a counter with Repeat x times as the outer bound, or
  • add a Condition + Stop the loop on an iteration limit, or
  • make the condition depend on something the screen actually shows, checked with Wait For.