Skip to content

Help with custom parameters

When creating a custom action to use one of your own iOS Shortcuts, you can configure some custom parameters.

The key/value pairs you will configure will be sent into the shortcut url using below illustrated structure:

shortcuts://run-shortcut?name=mycustomshortcut&input=text&text=action_code%3D%26sub_item_type%3D%26sub_item_value%3D%2F%26config%3D%7B%22key1%22%3A%22value1%22%2C%22key2%22%3A%22value2%22%7D%26return_to_app%3D%26language%3D

Your shortcut must therefore use a dictionary action to retrieve – from the config parameter nested under the text parameter – those key/value pairs to use as variables, as illustrated below.