๐Ÿ”‚

Takes a list of items as input, and runs the contained actions once for each item in the list.

Score
Stage
Prompt
Type
5
5/5

Information

Parameters

Repeat with each item in [Items]

Input

(Anything) A list of items (optional)

Result

Every item passed to the โ€œEnd Repeatโ€ action

Comments

Generates a “Repeat Results” variable that contains a list of all the items passed out as result, stacked during each iteration.

Use the “”Repeat Item”” variable inside the repeat aera for the individual item in the current loop, and the Repeat Index counts each loop and increases by one every time. Both are found *only* in the variable bar and not via Select Magic Variables.

Very, very useful. One of the best ways to harness the power of Shortcuts โ€“ batch tasks.

Details

Score
5/5
Date Added
11/12/2014
Identifier
is.workflow.actions.repeat.count

Works Well With

๐Ÿ•ต๏ธ
๐Ÿ”Ÿ

Shortcuts Using This


Get more ways to browse the actions โ€“ become a member.