Track sleep out of your normal schedule in the Health app.

Actions Used

Adjust Date
Adds or subtracts an amount of time from the date passed into the action.
Log Health Sample
Adds a data point into the Health app.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Log%20a%20nap
Open Shortcut deep link
shortcuts://open-shortcut?name=Log%20a%20nap
AppleScript code
tell application “Shortcuts Events” run shortcut “Log a nap” end tell

More From This Folder

Log caffeine

Asks you to choose the type of caffeinated drink (coffee, espresso, cappuccino, or a soda) and logs the caffeine content into the Health app. Also compares against the daily recommended limit of milligrams of caffeine.

Get Shortcut »

More From The Library

Open Security and Privacy preferences

Opens the deep link into Privacy and Security settings on iOS and the Security pane on macOS. Options include controls for Location Services and Tracking, plus others like Local Network, Nearby Interactions, Microphone and Speech Recognition, and Research Sensor and Usage Data. Also includes Safety Check, Sensitive Content Warning, Analytics and Improvements, Apple Advertising, App Privacy Report, and Lockdown Mode.

Get Shortcut »


Get way deeper into Shortcuts – become a member.