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

Open Touch preferences

Opens into the Touch section of Accessibility settings to let you control features like AssistiveTouch, Reachability, Haptic Touch, Touch Accommodations, Tap or Swipe to Wake, Shake to Undo, Prevent Lock to End Call, Call Audio Routing, and Back Tap control

Get Shortcut »

Open the AI Video Generator from Meta AI

Opens the URL for the AI Video Generator in Meta AI, where you can create, remix, and share AI videos. Capabilities listed include “Create custom animations,” “Edit images,” “Extend videos,” “Get more done,” “View your creations,” and “Restyle and edit.”

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more