shortcuts-action-icon-set-variable.webp

Sets the value of the specified variable to the input of this action.

Score
Type
InterActivity
Expertise
5/5
Type
InterActivity
Expertise

Action Information

Parameters

Set variable [Variable] to [Value]

Input

Anything

Result

(Anything) The input

Details

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

Comments

Adds variable name to variable picker bar/tray

Works Well With

shortcuts-action-icon-get-details-of-locations.webp
Get Details of Locations
Allows you to extract information from a location passed as input, including the latitude, longitude, altitude, street, city, state, ZIP code, country, phone number, URL, and name of a location.
shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-device-details.webp
Get Device Details
Gets information about the current device.
shortcuts-action-icon-get-dictionary-from-input.webp
Get Dictionary from Input
Makes a dictionary from the text passed as input. JSON (like {“foo”: “bar”}), key-value pairs (like foo=bar&baz=biz), and XML-based plist are supported.
shortcuts-action-icon-get-dictionary-value.webp
Get Dictionary Value
Gets the value for the specified key in the dictionary passed into the action.
shortcuts-action-icon-dictionary.webp
Dictionary
Passes the specified list of key-value pairs to the next action as a dictionary.
shortcuts-action-icon-set-dictionary-value.webp
Set Dictionary Value
Sets a value in the dictionary passed into the action.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.

Shortcuts Using This

shortcut-open-personal-youtube-playlists-icon.png
Open personal YouTube playlists
Presents a menu of YouTube playlists sorted into your “Personal” group, letting you choose one and open it in the app.
shortcut-open-work-youtube-playlists-icon.png
Open work YouTube playlists
If you don’t want the Grab YouTube playlist ID shortcut installed, delete the Run Shortcut action above and the URL action below.

However, the shortcut won’t work with links from videos inside playlists anymore.
shortcut-open-my-youtube-playlists-icon.png
Open my YouTube playlists
Pulls from a dictionary of YouTube playlists and lets you pick from subgroups to open in the app.
shortcut-write-down-gifts-received-icon.png
Write down gifts received
Creates a series of prompts to save a gift and the giver’s name to an ongoing note.
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.


Get more out of Shortcuts – become a member.