Storage Actions

Future release

These actions are only available on Apple platforms (iOS, macOS, etc.) version 27 or greater.

Table of contents

  1. Store Content
  2. Get Stored Content
  3. Delete Stored Content

To use actions in this category, use this include statement:

#include 'actions/storage'

There is currently no method of adding preset storage values as you can in the Shortcuts app; you must set initial values at the top of your Shortcut using storeValue() below.

Store Content

Store content by a key, optionally globally or specific to the Shortcut.

storeValue(text key, text value, bool ?global = false)

Get Stored Content

Get previously stored content, optionally globally or specific to the Shortcut.

getStoredValue(text key, bool ?global = false)

Delete Stored Content

Delete previously stored content, optionally globally or specific to the Shortcut.

deleteStoredValue(text key, bool ?global = false)

Copyright ©. Distributed under the GPL-2.0 License. Siri Shortcuts and Mac are registered trademarks of Apple Inc. Apple is not involved in this project in any way. Do not contact Apple Support unless you are having an issue with the Shortcuts app itself.