Scripting actions

shortcuts-action-icon-get-my-shortcuts.webp
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.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.
shortcuts-action-icon-set-playback-destination.webp
Change Playback Destination
Sets playback destination to a device. Device The device to set playback destination to.
shortcuts-action-icon-get-numbers-from-input.webp
Get Numbers from Input
Returns numbers from the previous action’s output.
shortcuts-action-icon-get-device-details.webp
Get Device Details
Gets information about the current device.
shortcuts-action-icon-set-playback-destination.webp
Change Playback Destination
Sets playback destination to a device. Device The device to set playback destination to.
shortcuts-action-icon-play-sound.webp
Play Sound
Plays the audio file passed as input, or a default notification sound if no audio file was passed.
shortcuts-action-icon-set-appearance.webp
Set Appearance
Changes system appearance (between Light/Dark).
shortcuts-action-icon-get-battery-level.webp
Get Battery Level
Outputs the percentage of battery remaining as a number from 0 to 100.
shortcuts-action-icon-set-bluetooth.webp
Set Bluetooth
Sets the device’s Bluetooth to on or off.
shortcuts-action-icon-set-focus.webp
Set Focus
Turns Do Not Disturb on or off.
shortcuts-action-icon-toggle-flashlight.webp
Set Flashlight
Turns on or off the flashlight near the device’s camera.
shortcuts-action-icon-set-low-power-mode.webp
Set Low Power Mode
Sets the device’s Low Power Mode to on or off.
shortcuts-action-icon-set-volume.webp
Set Volume
Sets the system volume. If you set the volume using a variable, use a number between 0 and 1 (for example, pass 0.5 for half volume).
shortcuts-action-icon-set-brightness.webp
Set Brightness
Sets the device brightness.
3 / 512345