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

Scripting Actions

action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.
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.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Log%20a%20nap
Link to Open Shortcut
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

Create an AI with Meta AI Studio

Opens the URL to the Create an AI page in Meta AI Studio, where you can “make an AI for deep conversations, help with specific topics or just for fun,” “craft a specific voice for your AI and give it capabilities like search and image generation,” and “chat privately or make an AI public for others to discover.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more