Build a secure iPhone shortcut that sends its location and photos to a trusted contact

By TechTiff

Published: 2026-03-08

URL: https://techtiff.substack.com/p/iphone-stolen-phone-shortcut


You handed your iPhone your passwords, your photos, and your wallet, but never taught it how to check in with you when it gets lost?

Someone recently asked me for a shortcut where you text your phone a phrase and it sends back a photo and its location. Which sounds really useful if your phone is sitting on silent somewhere in the house.

But let’s be clear about something first: Your phone is a computer with GPS, cameras, and microphones attached. If you automate it, the trigger design matters.

Safety is the whole point here, so before we get into the build, I want to say this once and mean it:

This system is for gathering information to give to the police. Your phone costs over a thousand dollars. Your safety has no price. These are not the same category.

Two iPhone Shortcuts shown side-by-side: the first captures the phone’s location and takes photos with the front and back cameras before sending them to a trusted contact, and the second locks the phone, raises the volume, vibrates, announces a security alert, and plays a sound repeatedly.Two shortcuts working together: Where’s My Phone gathers the phone’s location and photos, and Stolen Phone Lockdown immediately locks the device and triggers a loud alert after the report is sent.

Here’s how to build this system without putting your privacy in someone else’s hands.

If you like practical builds like this, subscribe to get the next ones in your inbox.

How to Trigger Shortcuts from Any Device

Your iPhone needs to know when to start the shortcut, so give it rules inside the Shortcuts app under Automation.

Before You Build: Three Decisions

1: Choose your trusted contact

This is the person or number that’s allowed to trigger the shortcut. The automation filters by sender before it does anything, which means only that specific contact can activate it.

Pick someone you trust: a partner, a parent, or your own second device.

2: Build your code phrase

Use a phrase with numbers in it, something like “findme 7429.”

A combination of letters and numbers makes the phrase specific enough that nobody accidentally sends it.

Treat this like a password: Write it down somewhere safe and update it occasionally.

3: Decide how you want to trigger it

You can launch this system when you get a text message, an email, or simply whenever it connects to a charger.

For the charger option, the automation runs on a single condition: when the phone gets plugged into a charger.

Critical Conditions to Set

Set two conditions that control what starts the sequence:

-

Sender: Set the automation to run only when the message or email comes from a specific trusted contact.

-

Message contents or email subject: Set your code phrase as a combination of letters and numbers. Specific enough that your contact doesn’t accidentally send it.

Shortcut 1: Where’s My Phone

Open Shortcuts and tap the plus button to create a new shortcut. Name it “Where’s My Phone.”

Add the following actions in order:

-

Get Current Location. This captures the GPS coordinates at the moment the shortcut runs.

-

Take Photo with Front Camera. Expand the action and turn off Show Camera Preview. This captures silently, with no flash and no visual indicator on the screen.

-

Save Front Camera Photo. This stores the image directly to your iCloud camera roll so you can access it from any of your devices.

-

Take Photo with Back Camera. Turn off Show Camera Preview here as well.

-

Save Back Camera Photo. This stores the back camera image to your iCloud camera roll alongside the front camera photo.

-

Send Message. Add Current Location, your Front Camera photo, and your Back Camera photo as the content. Set your trusted contact as the recipient. Turn off Show Compose Sheet so the message sends completely automatically.

iPhone Shortcuts editor showing the “Where’s My Phone” workflow capturing photos from the front and back cameras, saving them to the camera roll, and sending them with the phone’s current location to a trusted emergency contact.When this shortcut runs, your trusted contact receives the phone’s exact location with a Maps link and photos from both cameras.

This shortcut runs when someone texts your phone a specific code phrase from a number you’ve pre-approved.

When it fires, your phone silently captures its current location and takes a photo with both the front and back cameras, then sends all of it to your trusted contact automatically.

You get location, a Maps link, and two photos. That tells you whether your phone is sitting on your coworker’s desk or in a stranger’s apartment. That’s the information you need.

Get the Where’s My iPhone Shortcut

Shortcut 2: Stolen Phone Lockdown

Create a second new shortcut. Name it “Stolen Phone Lockdown.”

Add the following actions in order:

-

Lock the screen.

-

Set Media Volume to 100%. This guarantees the audio plays at full volume regardless of what the ringer was set to before the phone went missing.

-

Vibrate Device runs immediately after the volume step.

-

Speak Text. Type a message here. Mine says: “Security alert. Unauthorized user detected.”

-

Repeat. I set mine to 20 times, but you can adjust as you like depending on how long your audio clip is.

-

Set the File (what audio to play). Navigate to your audio clip. In my build this is a clip of a rickroll file. Use any short audio clip you have stored in iCloud Drive.

-

Play Sound plays the file from the previous step.

iPhone Shortcuts editor showing the “Stolen Phone Lockdown” shortcut with actions to lock the screen, set media volume to 100%, vibrate the device, speak a security alert message, and repeatedly play an audio file to trigger a loud alarm.When this shortcut runs, your iPhone locks the screen, turns up the volume, vibrates, announces a message and plays a short sound on repeat.

Run this shortcut after you have your location and photos from Shortcut 1. Once the phone shuts down, your evidence is already saved and the device is protected. Save the location and photos, send them to the police with your report, and let them take it from there.

Build and fully test Shortcut 1 completely before you connect Shortcut 2 to any automation. Confirm the location comes through, both photos land, and the message sends. The lockdown connects last.

Get the Lockdown Shortcut

Connect the Shortcuts to Their Automation

Go to the Automation tab in Shortcuts and create a new automation.

For a text message:

-

Choose Message as your automation type.

-

Set Sender to your trusted contact.

-

Set Message Contains to your code phrase.

-

Select Run Immediately.

iPhone Shortcuts automation settings showing a message trigger configured to run when a text from a trusted contact contains a specific code phrase, with the option set to run immediately without confirmation.Text message filters: Sender + message

For an email:

-

Choose Email as your automation type.

-

Set the inbox and the subject line condition to your code phrase.

-

Select Run Immediately.

iPhone Shortcuts automation setup showing an email trigger configured to run when an email from a specific sender contains a code phrase in the subject line, set to run immediately without confirmation.Email filters: Sender + subject

For a charger connection:

-

Choose Charger as your automation type and set it to fire when the charger Is Connected.

-

Select Run Immediately.

iPhone Shortcuts automation configured to run when the device connects to a charger, with the option set to run immediately and notifications turned off.Alternative method: Automate by charger

The shortcut runs every time the phone gets plugged in anywhere. Turn this on when you travel and turn it off when you’re home.

In the action for each automation, select the shortcut you want it to run:

-

For the text and email automations, connect them to Where’s My Phone.

-

Add a second automation that runs Stolen Phone Lockdown using a different code phrase, or trigger it manually after you’ve received your report.

After Your Phone Reports In

-

Save your evidence: Screenshot the location and save the photos to a device you’re holding before you do anything else.

-

Mark the device as Lost in Find My: Open the Find My app or go to iCloud.com and mark the device as Lost. This locks the screen immediately, displays a custom message and contact number on the lock screen, and prevents anyone from setting the phone up without your Apple ID.

-

Decide whether to erase: Remote erase through Find My wipes the device completely and cannot be undone. Do this after your evidence is saved. Activation Lock stays active only while the device remains in your account, and it prevents anyone from resetting or reactivating the phone. Keep it in your account.

-

Call your carrier: Ask them to suspend service and provide your IMEI if you have it. They can flag the device at the network level.

-

File a police report and bring the photos and location with you: That is exactly what they need to move forward.

Once the report is filed, your job is done. Recovery is theirs.

Your safety has no price.

Apple’s Stolen Device Protection adds a biometric requirement before anyone can make sensitive account changes, even if they have your passcode. This matters most in shoulder-surfing situations, where someone watches you enter your code before taking the phone. It takes about thirty seconds to turn on.

If you found this useful, share it with someone who should set this up before they actually need it.

Share

Why This System Is Designed the Way It Is

The sender filter and the code phrase keep you in control of when this system runs and who can start it.

A shortcut that gives anyone continuous silent access to someone’s location and cameras is harmful by design, regardless of intent. Everything in this build is intentional.

If you are ever considering building something like this on someone else’s device, consent is the only relevant conversation.

Test the System Before the Stakes Are Real

Send the code phrase from your trusted contact.

Confirm the location arrives, both photos land, and the message sends automatically. Run it more than once.

When Shortcut 1 is working reliably, connect Shortcut 2 to its automation.

Testing is the only way to know the system works before the moment it matters.

Audit What’s Already Running on Your Phone

Open Shortcuts, tap Automation, and read every entry on the list. Every automation on that list runs on your phone.

Review each one and remove anything you didn’t build yourself.

If you find something unfamiliar and that concerns you in a deeper way, you don’t have to figure it out alone.

National Domestic Violence Hotline: 1-800-799-7233 or text START to 88788 / thehotline.org


If you like building systems like this, I share the shortcuts, templates, and walkthroughs inside the AI Flow Club.

Join the AI Flow Club

That’s where I publish the builds, templates, and experiments before they show up anywhere else.