Defining 3rd-Party Actions

Action Definitions

The easiest way to add actions from a 3rd party app or a Shortcuts extension app is to create a Cherri file and define reusable actions using action definitions:

Example:

#define action 'is.workflow.actions.setvariable' setVariable(text name: 'WFVariableName', variable input: 'WFInput')

Learn more

Raw Actions

You could also use either custom actions or pastables to wrap a raw action. This file can then be included to easily use the 3rd party actions.


When contributing actions, if an action has a complex number of arguments, try your best to split the action into multiple actions to reduce the number of arguments and complexity.


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.