← Back to blog

How to Use iOS Shortcuts for Automatic Habit Tracking on iPhone

What if your habits could track themselves? With iOS Shortcuts, you can automate habit logging so it happens in the background no manual tapping required.

What Are iOS Shortcuts?

iOS Shortcuts is Apple's built-in automation platform that lets you create custom workflows on your iPhone and iPad. According to Apple's official documentation, Shortcuts can combine actions from multiple apps and trigger them automatically based on conditions like:

  • Time of day — Run automations at specific times
  • Location — Trigger when you arrive or leave a place
  • App opening — Execute when you open certain apps
  • Workout completion — Activate after finishing an Apple Fitness workout
  • Focus modes — Run when Do Not Disturb or Sleep Focus turns on

How Habit Trackers Work with iOS Shortcuts

Many habit tracking apps integrate with iOS Shortcuts through Apple's Intents framework. For example, Daily is a habit tracker that offers full Shortcuts support. Apps with Shortcuts integration allow you to:

  • Complete habits automatically via Shortcuts actions
  • Trigger habit completion from any automation
  • Skip manual logging entirely for automated habits

The integration works the same way across most habit apps that support Shortcuts:

  1. Create your habits in your habit tracking app
  2. Open the Shortcuts app and create a Personal Automation
  3. Choose a trigger (time, location, app, workout, etc.)
  4. Add the "Complete Habit" action from your habit app
  5. Select which habit to mark complete
  6. Enable "Run Immediately" to skip confirmation prompts

Once set up, the automation runs in the background whenever your trigger conditions are met.

Step-by-Step: Create Your First Habit Automation

Prerequisites

  • iPhone or iPad running iOS 15 or later
  • A habit tracking app with Shortcuts support
  • The habit you want to automate already created in your app

Creating a Time-Based Automation

  1. Open the Shortcuts app
  2. Tap the Automation tab at the bottom
  3. Tap + New Automation
  4. Select Time of Day
  5. Set your desired time (e.g., 7:00 AM for morning habits)
  6. Tap Next
  7. Search for your habit app and select "Complete Habit"
  8. Choose the habit you want to complete
  9. Toggle off "Ask Before Running" for seamless automation
  10. Tap Done

Creating a Location-Based Automation

Perfect for habits like "Arrive at gym" or "Leave work":

  1. Create a new automation and select Arrive or Leave
  2. Search for the location (your gym, office, etc.)
  3. Add the "Complete Habit" action
  4. Select the relevant habit
  5. Enable "Run Immediately"

Creating a Workout-Triggered Automation

For fitness habits, trigger completion when you finish an Apple Fitness workout:

  1. Create a new automation and select Apple Watch Workout
  2. Choose "Workout Ends" and optionally filter by workout type
  3. Add your habit app's completion action
  4. Select your exercise habit

5 Powerful Habit Automation Ideas

1. Morning Routine When You Disable Your Alarm

Trigger: When you stop your morning alarm Action: Complete "Wake Up Early" habit

This ensures your morning routine habit is logged the moment you're actually awake.

2. Workout Logged After Apple Fitness

Trigger: Apple Watch Workout ends Action: Complete "Exercise" habit

Never forget to log your workout it happens automatically when you finish.

3. Reading Habit When Sleep Focus Activates

Trigger: Sleep Focus turns on Action: Complete "Read Before Bed" habit

If you read every night before sleep, this captures the habit when you wind down.

4. Gym Arrival Confirmation

Trigger: Arrive at gym location Action: Complete "Go to Gym" habit

Your phone knows when you showed up let it track for you.

5. Journaling When You Open Notes

Trigger: Open Notes app in the evening Action: Complete "Daily Journal" habit

If journaling happens in a specific app, automate the tracking.

Troubleshooting Common Issues

Automation Not Triggering

According to Apple Support, some automations require confirmation before running. Check that:

  • "Ask Before Running" is disabled
  • "Notify When Run" is enabled (helps you verify it's working)
  • Location Services are enabled for Shortcuts (Settings > Privacy > Location Services)

Habit Not Appearing in Shortcuts

If your habit app's actions don't appear:

  • Force quit and reopen both the Shortcuts app and your habit app
  • Check that your habit app is updated to the latest version
  • Verify the app supports Shortcuts (check their website or App Store description)

Permission Problems

iOS may ask for permission the first time an automation runs. Make sure to:

  • Allow the automation when prompted
  • Check Settings > Shortcuts > Advanced and enable "Allow Running Scripts"

The Fastest Ways to Track Habits on iPhone

While automation is powerful, it only works for habits with clear triggers. For everything else, you want fast manual tracking that removes friction.

Daily app home screen showing habit tracking

Daily: Habit & Routine Tracker combines multiple quick-logging methods:

  • Siri Shortcuts Integration: Say "Hey Siri, log my morning routine" to instantly mark habits complete—no screens, no tapping
  • Home Screen Widgets: Complete habits without even opening the app
  • Lock Screen Widgets: Fastest possible access on iOS 16+
  • Apple Watch Support: Track from your wrist throughout the day
  • NFC Tag Support: Tap a physical tag to instantly log habits

NFC tag scanning for quick habit tracking

The key is having multiple options so tracking never becomes a barrier. Whether you prefer full automation, voice commands, NFC tags, or a quick tap, the best habit tracker is one that fits your workflow.

The Science Behind Automated Tracking

Research on habit formation shows that tracking increases success rates, but only if tracking itself doesn't become a burden. According to James Clear in Atomic Habits, "The most effective form of motivation is progress."

Automated and streamlined tracking provides that progress visibility without the overhead:

  • 100% accuracy: No forgotten logs
  • Zero effort: Tracking happens without conscious thought
  • Immediate feedback: Your streak updates automatically

Start Automating Your Habits Today

The best habit tracking system is one you don't have to think about. By combining iOS Shortcuts automation with a simple habit tracker like Daily, you create a frictionless system that captures your progress automatically.

Start with one automation maybe your morning alarm or gym arrival and experience how much easier habit tracking becomes when your phone does the work.

Sources

Ready to build better habits?

Download Daily for iOS and start tracking today.

Get the app →