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')
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.