Integrate brrr with Shortcuts
Apple Shortcuts can send HTTP requests directly, which makes it easy to send a push with brrr. The simplest setup uses the Get contents of URL action to post JSON to your webhook URLs.
In the Get contents of URL action, use these values:
- URL: your brrr webhook
- Method:
POST - Request Body:
JSON - Fields: add
messageand optionally other fields from the docs.
If you want more fields such as title, sound, or open_url, keep adding them to the JSON body.
For the full list of supported payload fields, continue to Docs.
If you want to experiment with payloads first, the Send test notification section is the quickest place to start.
You can also start from this example shortcut and adapt it to your own workflow.
Run a shortcut from a notification
You can run a shortcut when someone taps a notification from brrr by using Shortcuts' URL scheme together with open_url.
For example, this URL runs a shortcut named "brrr Example" shortcut with "Hello world!" as input:
shortcuts://run-shortcut?name=brrr%20Example&input=Hello%20world!
You can download the example shortcut and adapt it to your own workflow.