MigraineBot offers a range of options to use in the Shortcuts app. These features are designed to allow you to build sequences for multiple app interactions. In addition to some information about how the shortcut intents (or blocks) work, there are also some sample shortcuts below. Download, answer the questions and off you go!
Guide to Shortcut Intents
New Migraine
Record a new migraine at the time the shortcut runs. Includes optional variables you can set each time or default to your preferred value.
| Variable Name | Type | Default |
| Pain | Number (1–10) | 1 |
| Aura | Boolean (Toggle) | Off/False |
| Notes | Text | Blank |
End Migraine
Ends the current Migraine, if one is running. If no attack is running nothing will happen. Sets the end time at the time the shortcut is run.
This shortcut doesn’t take any variables.
Check for Running Attack
This shortcut will, if run by itself or with ‘Show When Run’ is enabled, report what the current attack’s details are, including the duration.
This shortcut isn’t designed to be used to take action on the information about the attack, instead it will return a clean Boolean (True/False) that will let you take further action. For example, if there is a running attack, put the phone on silent.
| Returns | Type | Example |
| True / False | Boolean in Shortcuts | True |
| Notification | Text notification | The current attack has been running for 8h 40m. |
Get Running Attack Details
This shortcut will return details of a current attack that can be used in other shortcuts logic. You can do complex logic like: If the Pain is greater than 5 do something. This is how to get data on your running migraine.
| Returns | Type | Example |
| isActive | Boolean | True if attack running |
| Start Time | Date | 06/02/2026 13:23:00 |
| Pain Level | Number | 7 |
| Aura | Boolean | True if aura with attack |
| Notes | Text | Text from the notes field |
| Duration | Text | 8h 40m |
| Summary | Text | A natural language report on an attack. |
Sample Shortcuts
Migraine and Email
Need to email someone and record a migraine? Use this shortcut to email your chosen recipient a standard message saying you won’t be into work. Set up to use Apple’s Mail.app, this shortcut can be modified with your email client of choice.
End a Migraine Attack and Share the News
Tell someone every time your attack ends. Helpful for keeping the important people in your life in the loop!
You can download MigraineBot from the AppStore now, or you can find out more about the app.

