Import Actions from your Device

Future release

This only applies to macOS.

Shortcuts has a local database consisting of the actions installed on the device, including any actions from 3rd-party apps.

Importing Actions

To use the actions for an app, use the following syntax of either the base bundle identifier (e.g., com.apple.shortcuts) or name in /Applications/.

#import 'com.sindresorhus.Color-Picker'
// or...
#import 'Color Picker'

For instance, to import the standard Shortcuts actions, use:

#import 'is.workflow.actions'

Keep in mind, there is not currently a way to tell if a parameter is required, so you must specify a value for each parameter. To give an empty value, use nil.

Searching Actions

Actions and their types should now be defined. To use them, look for them using the --action= argument.

# File with imports
cherri file.cherri --action=appname

This should show the actions defined for the app. Search them individually to see their enumeration types.


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.