Use iPhone HRV Data and ChatGPT to Build a Personalized Weekly Recovery Plan
How to export your Apple Health heart rate variability data and turn it into actionable rest, exercise, and sleep recommendations in under 10 minutes
What matters today
How to export your Apple Health heart rate variability data and turn it into actionable rest, exercise, and sleep recommendations in under 10 minutes
Key points
- What HRV Actually Measures
- How to Export Your HRV Data in 3 Steps
- The Prompt That Generates Your Recovery Plan
- How to Interpret the Output Safely
- When HRV Trends Down for 3+ Consecutive Days
What you'll learn in this article:
- What HRV measures and why it predicts recovery better than resting heart rate alone
- How to export 30 days of HRV data from iPhone Health in 3 steps
- The exact ChatGPT prompt to generate your weekly recovery plan
- How to interpret ChatGPT's recommendations safely
- What to do when HRV trends down for 3 or more consecutive days
What HRV Actually Measures
Heart rate variability (HRV) is the variation in time between consecutive heartbeats. A higher HRV generally signals that your autonomic nervous system is well-recovered and adaptable. A lower HRV, particularly a sudden drop from your personal baseline, indicates physiological stress: poor sleep, illness, overtraining, or psychological load.
Your iPhone captures HRV through Apple Watch if you wear it during sleep, or through the Health app's built-in measurement prompt (breathe mindfully for 60 seconds each morning). The data lives in Apple Health and is accessible for export without any third-party subscription.
HRV is more predictive of next-day performance than resting heart rate alone because it captures nervous system state rather than just cardiovascular output. Athletes, executives under high cognitive load, and anyone managing chronic fatigue have used HRV tracking to identify when to push and when to rest.
📊 What "Low" Means for You
HRV ranges vary widely by individual. A reading of 40ms may be low for one person and normal for another. What matters is your personal trend relative to your own 30-day baseline, not comparisons to population averages. This is why exporting your own data and giving it to ChatGPT is more useful than generic advice.
How to Export Your HRV Data in 3 Steps
- Open the Health app on your iPhone and tap your profile picture in the top right corner.
- Scroll down and tap "Export All Health Data." Confirm and wait for the export to generate (30 seconds to 2 minutes depending on data volume). This creates a ZIP file in your Files app.
- Open the ZIP, navigate to the folder named "apple_health_export," and find the file "export.xml." This file contains all your health metrics including HRV readings.
The XML file is large and unreadable as raw text. The next step is to upload it directly to ChatGPT (Plus or above), which can parse XML and extract the HRV data points automatically.
The Prompt That Generates Your Recovery Plan
CHATGPT RECOVERY PLAN PROMPT
"I've uploaded my Apple Health export file. Please extract my Heart Rate Variability (HRV) readings from the last 30 days. Calculate my 30-day average and identify any days where HRV dropped more than 20% below that average. Based on the trend, tell me: (1) whether this week looks like a recovery week or a push week, (2) on which days I should avoid intense exercise, (3) what sleep duration would support recovery given the trend, and (4) any pattern you notice between day-of-week and HRV drops. Note: I am not asking for medical advice , just pattern analysis based on this data."
ChatGPT will parse the XML, extract the HRV data type (recorded as "HKQuantityTypeIdentifierHeartRateVariabilitySDNN" in Apple Health format), calculate your baseline, and generate a weekly recommendation. The full analysis takes about 60 seconds to run.
How to Interpret the Output Safely
ChatGPT's recommendations are pattern-based, not medical. Treat them as informed starting points, not prescriptions. Specific guidance:
- A "recovery week" recommendation means your data suggests reduced intensity is appropriate, not that you are ill or injured.
- If ChatGPT flags a consistent pattern (e.g., HRV consistently low on Mondays), look for the lifestyle factor first: Sunday alcohol consumption, late weekend sleep schedule, or high-stress Monday mornings are common culprits.
- Do not rely on HRV data alone if you have a known cardiovascular condition. Consult a physician before making exercise decisions based on this analysis.
When HRV Trends Down for 3+ Consecutive Days
A sustained downward trend lasting 3 or more days typically indicates accumulated stress that sleep alone will not resolve quickly. The highest-yield interventions in order of evidence: extend sleep by 30 to 60 minutes, reduce caffeine after noon, reduce alcohol entirely for 48 hours, and cut workout intensity by 40 to 50% until the trend reverses.
FOLLOW-UP PROMPT FOR SUSTAINED DOWNWARD TREND
"My HRV has been below my 30-day average for [X] consecutive days. Based on the data pattern, what are the 3 most likely lifestyle factors contributing to this? For each, give me a specific 48-hour action I can take to address it without disrupting my work schedule."
🎯 This Week's Action
Export your Apple Health data today. Upload it to ChatGPT. Run the recovery plan prompt. The entire process takes under 10 minutes and gives you a personalized recovery framework based on your actual physiological data, not generic advice.
Medical Disclaimer: This information is for educational purposes only and is not medical advice. Please consult a qualified healthcare professional before making changes to your health routine.
Disclaimer: This article is for informational purposes only and does not constitute medical advice. AI-generated health analysis based on personal data is not a substitute for professional medical evaluation. Always consult with your doctor or a qualified healthcare provider before making changes to your exercise, sleep, or recovery routine, particularly if you have any existing health conditions.
Get the full newsletter every week
This article is part of the PromptHacker Weekly premium deep-dive series. Subscribe to get all 7 articles plus the newsletter every Wednesday. Click here now
Three deep dives. Four useful moves. One email worth opening.
PromptHacker turns the AI firehose into practical next steps for work, health, family, and everything time keeps trying to steal.