Skip to main content Skip to docs navigation

Use loop, step, and session repeat placeholders inside step values.

Try it yourself: download the repeat.json example automation, import it via Automations → Import, then open test.getautoclicker.com to watch it run. Watch <stepRepeat> and <loopRepeat> resolve while the steps run.
Action
Element Finder Value

For example, if you enter example<loopRepeat> in the value field and the current loop repeat is 5, the resolved value becomes example5.

Supported Patterns

PatternDescription
<loopRepeat>Replaces with the current loop repeat index (starting from 1).
<stepRepeat>Replaces with the current step repeat index (starting from 1).
<sessionCount>Replaces with the current session count (starting from 1).
<batchRepeat>Legacy alias for <loopRepeat>.
<actionRepeat>Legacy alias for <stepRepeat>.

<loopRepeat>

example<loopRepeat>

example<loopRepeat>  → example1

<stepRepeat>

item<stepRepeat>

item<stepRepeat>  → item1

<sessionCount>

run<sessionCount>

run<sessionCount>  → run1

Older placeholders still work for backward compatibility: use <batchRepeat> as a legacy alias for <loopRepeat>, and <actionRepeat> as a legacy alias for <stepRepeat>.