Scripting actions

โš–๏ธ

Calculate Statistics

Calculates statistics on the numbers that are provided as input.

๐Ÿค”

Choose from List

Presents a menu of the items passed as input to the action and outputs the user's selection. Prompt The instruction provided when the list is presented. Select Multiple When enabled, multiple items may be chosen from the list.

๐Ÿงพ

Get Item from List

Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.

๐Ÿ”ฉ

Get Type

Returns the type of every item passed as input. For example, if a URL is passed, this action will return โ€œURLโ€.

๐Ÿ”Ÿ

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.

๐Ÿ”„

Get My Shortcuts

Gets the shortcuts stored on this device. For example, you could use this action with the Make Archive action to zip up your shortcuts.

โ›“

Add to Variable

Appends this action's input to the specified variable, creating the variable if it does not exist. This allows you to make a variable hold multiple items.

๐Ÿ”ฃ

URL Encode

Encodes or decodes text passed into the action to be suitable for inclusion in a URL by adding or removing percents.

โš”๏ธ

Open X-Callback URL

Performs the specified x-callback-url action. The x-success, x-cancel, and x-error parameters will be added automatically.

3 / 512345