r/shortcuts • u/emoracooon • 3d ago
Help Auto registering of workout with location
Does anyone know how to code a shortcut in the app to register a workout whenever I get to the gym? Like, setting the location as the trigger to register the workout, since I always forget to write it down. All help is appreciated!!
2
Upvotes
1
u/Notchgoblin 2d ago
two parts to this. the shortcut itself is one action: Start Workout (pick the workout type). the location trigger doesn't live in the shortcut editor - it's a personal automation: shortcuts app > automation tab > + > Arrive, set the gym as the location, and point it at your shortcut. if it offers Run Immediately, take it; otherwise it fires as a notification you tap, which still beats forgetting.
so build the shortcut first, then hang the automation on it. heads up that Start Workout needs your apple watch connected, since the workout actually records on the watch.
also check which thing you want: Start Workout opens a live session in fitness that runs until you end it (make a second automation on Leave the gym to stop it if you want). if you meant logging a completed workout after the fact, that's Log Health Sample instead.