shortcuts-action-icon-repeat-with-each.webp

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

Score
Type
InterActivity
Expertise
5/5
Type
InterActivity
Expertise

Action Information

Parameters

Repeat with each item in [Items]

Input

(Anything) A list of items (optional)

Result

Every item passed to the “End Repeat” action

Details

Type
Interactivity
Expertise Needed
Matthew's Score
5/5
Date Added
11/12/2014
Identifier
is.workflow.actions.repeat.count

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.

Works Well With

Get Details of Contacts
Extract information from contacts including first, middle, and last name, phone number, email address, street address, URL, birthday, contact photo, prefix, suffix, nickname, phonetic first, middle, and last names, company, job title, department, notes, & more.
shortcuts-action-icon-count.webp
Count
Counts the number of items, characters, words, sentences, or lines passed as input. Note (from Apple, for real) This is just like the Count in Sesame Street, but instead of a vampire, it’s a Shortcuts action.
shortcuts-action-icon-get-details-of-app-store-app.webp
Get Details of App Store App
Extracts information about an App Store app, including artist, price, currency code, formatted price, release date, category, description, the overall rating, the total number of ratings, the current rating, the number of ratings for this version, the version, the date it was last updated, the latest release notes, the content rating, the minimum OS version, whether it’s a universal app, the supported devices, supported languages, screenshot URLs, iPad screenshot URLs, download size, store ID, store URL, artwork, artwork URL, name, & more.
shortcuts-action-icon-extract-archive.webp
Extract Archive
Extracts files from the archive passed as input. Many archive formats are supported, including zip, rar, tar.gz, tar.bz2, tar, gzip, cpio, cab, and iso archives.
shortcuts-action-icon-get-article-using-safari-reader.webp
Get Article using Safari Reader
Gets article details, including body text, author, publish date, and more, from every URL passed into the action. Input URLs Result Article Note Use a Get Details of Article action immediately after this action to get specific details about the article. This action only supports getting one article from each URL.
Find Calendar Events
Searches for the calendar events in your library that match the given criteria. Allows for sorting, changing the order, and limiting the number passed as a result.
Get Details of Calendar Events
Extracts information from calendar events, including start date, end date, whether it’s an all day event, the calendar it belongs to, the location, whether it has alarms, the event duration, the organizer, the attendees, the URL, the title, the notes, & more.
Get Details of Event Attendees
Extract information from event attendees, including their name, whether “Is Me” is true, their role, or status in regards to the meeting.
Add New Event
Creates a new event and adds it to the selected calendar.
Select Contact
Prompts to pick a person from your contacts and passes the selection to the next action.
action-icon-append-to-text-file.webp
Append to Text File
Adds the text passed as input to the end of the specified file. Requires the name or path of the file to retrieve. For example, if you are appending a file called “notes.txt” in a folder called “Public”, use “/Public/notes.txt”.
shortcuts-action-icon-make-gif.webp
Make GIF
Creates an animated GIF from the images or video passed into the action.
shortcuts-action-icon-combine-text.webp
Combine Text
Joins text together, inserting the separator between each join.
shortcuts-action-icon-replace-text.webp
Replace Text
Replaces some text passed into the action with other text.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-select-photos.webp
Select Photos
Prompts to choose photos and videos from your photo library.
Edit Reminder
Sets a specific field of the reminder passed into the action. Detail The property of the reminder to edit. Edit The operation to perform on the selected property of the reminder.

Shortcuts Using This

shortcut-wish-your-friends-a-merry-christmas-icon.png
Wish your friends a merry christmas
Asks you to pick from contacts in your friends group and individually message them for the holidays.
shortcut-send-thank-yous-icon.png
Send thank-yous
Asks you to pick from your contacts, then shows a Messages window for each so you can send a thank-you message.
shortcut-check-for-a-white-christmas-icon.png
Check for a white christmas
Looks for snow in the daily forecast for the next 10 days.
shortcut-check-the-weather-forecast-icon.png
Check the weather forecast
Displays the temperature in conditions between 7 AM and 7 PM for the next 24 hours.