If you find yourself manually changing the same settings on your iPhone every day—turning off Wi-Fi when you leave the house, enabling Do Not Disturb when you arrive at the office, or turning on Low Power Mode when you get to the gym—you are wasting time. Using Apple’s built-in Shortcuts app, you can program your iPhone to automatically execute these tasks the moment its GPS detects you have entered or left a specific location.
This feature, called Location-Based Automation, runs silently in the background, transforming your iPhone into a truly smart device that adapts to your physical environment without requiring a single tap.
Step 1: Access the Automation Menu
You do not need to download any third-party apps; the tool is built directly into iOS.
- Open the Shortcuts app on your iPhone. (If you cannot find it, swipe down on your home screen and use the search bar).
- Look at the bottom navigation bar and tap on Automation (the clock icon in the center).
- If you have never used this feature before, tap the large blue Create Personal Automation button. (If you already have automations, tap the ‘+’ icon in the top right corner).
Step 2: Define the Location Trigger
You must first tell the iPhone when to execute the action.
- You will see a list of triggers (Time of Day, Alarm, Sleep). Tap on either Arrive or Leave.
- Example: Select “Arrive” to trigger actions when you get to work.
- Tap Choose next to the Location field.
- Search for the address (e.g., your office address) or select a saved location like “Work” or “Home”.
- A map will appear with a blue circle. You can drag the slider at the bottom to adjust the radius (the “geofence”). If you make the circle large, the automation will trigger when you are a block away; if you make it small, it will trigger right as you pull into the parking lot. Tap Done.
- Tap Next in the top right corner.
Step 3: Define the Actions
Now, you must program what the iPhone should do when you cross that GPS boundary.
- Tap the large Add Action button.
- A search bar will appear, allowing you to access hundreds of system toggles. Search for the specific settings you want to change.
- Example 1 (Do Not Disturb): Type “Set Focus”. Tap it to add it to the list, then tap the variable to set it to turn “Work” focus “On”.
- Example 2 (Wi-Fi): Tap the search bar again, type “Set Wi-Fi”, and set it to turn Wi-Fi “Off” (useful if your office has poor public Wi-Fi and you prefer cellular data).
- Example 3 (Volume): Search for “Set Volume” and slide it to 0% so your phone doesn’t accidentally blare a video in a quiet office.
- You can add as many actions to this list as you want. They will execute in order from top to bottom.
- Once your list is complete, tap Next.
Step 4: Enable True Automation (Crucial)
The final screen displays a summary of your automation, but there is one critical setting you must change before clicking Done.
Look for the toggle switch at the bottom labeled Ask Before Running. By default, Apple leaves this turned ON for security reasons. If you leave it on, the automation will not actually happen; instead, your phone will simply send you a notification asking for permission to run the script, defeating the entire purpose of automation.
- Toggle Ask Before Running to the OFF position.
- A warning popup will appear. Tap Don’t Ask to confirm.
- Tap Done in the top right corner.
Your iPhone is now programmed. Tomorrow morning, the exact second you pull into your office parking lot, your phone will silently mute its volume, turn off Wi-Fi, and activate your Work Focus profile without you ever taking it out of your pocket.