Apple Shortcuts
Last updated
Last updated
Shortcuts allows you to run any shortcut using a X-Callback-URL with the following format: shortcuts://x-callback-url/run-shortcut?name={{ name | percentEncode }}&input=text&text={{ input | percentEncode }}
In the "Other" folder there is a pre-built example to run an Apple Shortcut called "Run Apple Shortcut".
You can add this action to any AI command and teach it to run specific Shortcuts, or duplicate it and change it to run a specific Shortcut. The latter option is more likely to have the correct results.
Note that you can use Action Variables in the URL to give your AI more options.
You can also run shortcuts using the shortcuts terminal command like this, with the benefit of having their output available for a next action.