Support
Get help with Health Exporter & Shortcuts
Frequently Asked Questions #
How do I grant HealthKit permissions?
Shortcuts never shows the permission screen, because an automation runs without opening the app. When an update can read a kind of data you have not been asked about yet, an export from Shortcuts carries on with what it can read, lists the missing types under pendingAuthorizations in the file, and you get one quiet notification. Tap it, or open healthexporter://authorize with an Open URL action, to get the permission screen.
Which health data types can I export?
Can I export workout data?
You can also add the GPS route recorded with an outdoor workout, along with the heart rate measured along it. It is off by default: switch on Include GPS route in the Workouts tab, and choose whether the coordinates go inside the JSON or into one GPX file per workout.
Can I export my medications, and how do I choose which ones?
You choose which medications the app can read, one by one, in a list iOS shows you. The app shows it the first time you export medications. To change your choice later, tap Choose Medications in the Medications tab: the same list opens with your current choice, and you can add or remove medications. When you add a new medication to Health, the Health app offers a switch to share it with Health Exporter as well.
The Export Medications action in Shortcuts cannot show that list, so choose your medications in the app first. Until you do, the action exports nothing, lists HKDataTypeUserAnnotatedMedicationConcept under pendingAuthorizations in the file, and you get one quiet notification that opens the list. On iOS 17 to 25 the tab says it needs iOS 26 and has nothing to press, and the action stops with a message saying the same.
What does the sleep export include?
What format is the exported data in?
From version 1.8.0 you can pick Markdown instead, under File Format in the app: the same data as compact tables, for pasting into an AI assistant. Shortcuts always returns JSON. The format reference describes both.
How do I use Health Exporter with Apple Shortcuts?
My Shortcuts automation fails with "Health data cannot be read while the device is locked" or "Protected health data is inaccessible". Why?
That is why an automation that fires while the phone has been locked for a while, such as one set for the middle of the night, fails. Health Exporter stops the run with “Health data cannot be read while the device is locked. Unlock it and run the shortcut again." Older versions show the message from iOS instead, “Protected health data is inaccessible”, or run without returning any data. The same shortcut works when you run it by hand, or when the phone is unlocked.
The simplest way to make an automation reliable at any hour is to let it ask first: when you create it, choose the option that asks you to confirm before it runs, rather than the one that runs it immediately. At the scheduled time Shortcuts sends you a notification, you tap it and unlock the phone, and the export runs with Health readable. It is one tap instead of none, and nothing runs if you ignore the notification.
If you want it to run with no tap at all, choose a trigger that fires while you are using the phone. For example, use the App trigger set to Is Opened for an app you open every morning, and put the Health Exporter action in that automation. Or pick a time of day when your phone is normally unlocked in your hand. Be careful with triggers that can fire while the phone is still locked from the night, such as an alarm, waking up, a Focus, or plugging in the charger: they can run before you have unlocked the phone, and the export fails.
What export periods are available?
Does the app collect or share my health data?
That covers GPS routes too. The app never asks for location permission and cannot see where you are; it reads the routes your device already recorded, only while producing an export you asked for, and the coordinates go nowhere but into your file. The same goes for medications: the app reads only the doses of the medications you chose to share, only while producing an export you asked for, and it never writes anything to Health. See our Privacy Policy for full details.
The app is not showing any data. What should I do?
Still Need Help? #
If you have a question not covered above, or you want to report a bug or request a feature, we are happy to help.
We typically respond within 48 hours.