TrackingiPhone

How to Track Habits Automatically with Apple Health and Shortcuts

Let your iPhone and Apple Watch track habits for you: connect habits to Apple Health for steps, sleep and workouts, and use Shortcuts automations for the rest.

Trackware · · 2 min read

To track habits automatically on iPhone, link each habit to an Apple Health metric, such as steps, sleep or workouts, in a habit tracker that reads Apple Health. Your iPhone and your Apple Watch already know how much you walked, slept and trained today: the checkmark then appears on its own.

Here are three levels of automatic tracking, from the easiest to the most powerful.

Level 1: let Apple Health complete your habits

Apple Health records steps, distance, workouts, sleep, mindful minutes, water and much more, from your iPhone, your Apple Watch and the apps you use. On its own, it does not track habits: it stores numbers (Apple).

A habit tracker that reads Apple Health turns those numbers into habits:

  • Walk 8,000 steps: done when your step count reaches the goal.
  • Sleep 7 hours: done from your sleep data.
  • Exercise 30 minutes: done from your exercise minutes.
  • Swim, cycle, run or do yoga: done when the workout is recorded.

In Habits, our habit tracker, connecting a habit to Apple Health takes one setting. It reads 57 metrics, never writes to Health and never shares them. On the first connection, iOS asks which data Habits can read: choose only what your habits need.

Level 2: log habits with Siri

For the habits a sensor cannot see, like reading or meditating, Siri is faster than opening an app. With Habits, say:

  • "Complete Read in Habits"
  • "Add to Drink Water in Habits"
  • "Check my Run streak in Habits"
  • "How am I doing today in Habits"

Because Siri understands the actions, it works from your iPhone, your Apple Watch or your Mac.

Level 3: automate with Shortcuts

The Shortcuts app can run habits for you at the right moment. Habits provides 16 Shortcuts actions, including Complete Habit, Add Habit Progress, Get Habit Streak, Get Day Summary and Check If Habit Is Due. A few automation ideas:

  • When I arrive at the gym (location): complete "Gym".
  • When my morning alarm stops: ask for the day summary.
  • When my evening Focus turns on: check if "Read" is due today, and send a reminder if it is.
  • Every Sunday at 6 p.m.: open the statistics.
  • On the Action button: complete your most important habit with one press.

To create one, open Shortcuts, tap Automation, then the plus button, choose a trigger, and add a Habits action (Apple).

Keep your hands for the habits that need them

Automatic tracking works best for what your devices can measure. For the rest, a one-tap widget or a check on your watch is enough. The goal is not to automate everything, but to never lose a day to forgetting to log it.

Habits is free for 3 habits, with Apple Health, widgets, Siri and Shortcuts included, no account, and "Data Not Collected" on the App Store.

Frequently asked questions

Related articles

Get the Habits newsletter

New features, tips and updates about Habits, straight to your inbox.

No spam ever, we care about the protection of your data.