Create Your First iPhone Shortcut and Personal Automation

Switching to Mac Staff · Edited by Aseem Kishore
20 min read

Switching to Mac is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

If you’ve ever wished your iPhone could do three things with one tap, Shortcuts is the answer. This guide walks you through building one real shortcut from scratch, action by action, without any coding. Then you’ll learn the five ways to run it without opening the app, plus how to turn it into an automation that runs on its own.

The short answer: Open the built-in Shortcuts app and tap +. Tap Add Action, search for the actions you want, and stack them in order. Name your shortcut and tap Done. You can then run it from a Home Screen icon, Siri, a widget, the Action button (on iPhones that have one), or Back Tap (on iPhones that support it).

How to Create an iPhone Shortcut: Quick Reference

Here’s a snapshot of everything this guide covers, so you can jump to what you need.

What you want to doWhere to do itApplies to
Build a new shortcutShortcuts app > Shortcuts tab > +All iPhones with the Shortcuts app
Run it from a Home Screen iconShortcut menu > Add to Home ScreenAll iPhones
Run it with your voiceSay “Siri” + the shortcut’s nameAll iPhones with Siri turned on
Run it from a widgetHome Screen edit mode > add Shortcuts widgetiPhones with Shortcuts, on a supported iOS version
Run it with a button pressSettings > Action ButtonOnly iPhones with an Action button
Run it by tapping the back of your phoneSettings > Accessibility > Touch > Back TapiPhones that support Back Tap
Make it run on its ownOpen a shortcut > Edit > Automation (iOS 27)All iPhones with the Shortcuts app
Try ready-made shortcutsShortcuts app > GalleryAll iPhones with the Shortcuts app

What Is the iPhone Shortcuts App?

Shortcuts is Apple’s built-in automation app for iPhone, included with iOS. It lets you chain together single steps, called actions, into one shortcut that does several things at once. One action might open a website. Another might send a text or change a setting. You build everything visually by searching for actions and stacking them in a list. There’s no code involved. (Apple Shortcuts User Guide)

If you’re coming from Android, think of it like a visual routine builder that’s already on your phone. Shortcuts is made by Apple and is available from the App Store if it is missing from your iPhone, and it works closely with your iPhone’s own apps.

The three main sections, explained

This guide covers three main areas of Shortcuts, rather than promising three visible tabs in every version. On many iOS versions they appear as tabs at the bottom of the screen, but the layout changes between versions: on iPhone with iOS 27, Apple notes you may need to tap a button first to reach Automation. Each section has a different job:

  • Shortcuts: Your personal collection. This is where you build shortcuts and run them by tapping. New shortcuts usually show up under All Shortcuts, though list and folder names can vary with your Shortcuts layout.
  • Automation: Where you see and manage personal automations. These start when a trigger occurs, such as a time of day or arrival. Confirmation and permissions depend on the trigger, actions, and settings.
  • Gallery: A curated collection of ready-made shortcuts from Apple. You can add these to your collection and change them. It’s a great way to see how working shortcuts are put together.

Before You Begin

Make sure you have:

  • An iPhone running a current version of iOS (this guide reflects iOS 27, based on Apple’s Shortcuts User Guide, and notes where earlier versions differ)
  • The Shortcuts app on your iPhone (included with iOS on most models)
  • A website you visit often (we’ll use it in the worked example)
  • Siri turned on, if you want to run shortcuts by voice
  • An iPhone with an Action button, if you want to use that trigger (optional)
RequirementDetails
DeviceiPhone with the Shortcuts app
OS versionA current version of iOS. This guide reflects iOS 27. Check your version in Settings > General > About
AppShortcuts, included with iOS
Action button triggerOnly on iPhone models that have an Action button instead of the older Ring/Silent switch
CostNo separate purchase needed to use the built-in app

Can’t find the Shortcuts app? Swipe left past your last Home Screen page to open the App Library and search for “Shortcuts.” If you deleted it at some point, open the App Store, search for Shortcuts, and redownload it.

Step-by-Step Guide: Build Your First Shortcut

We’ll build one shortcut called Morning Read. It opens a website you check every day with a single tap. It uses just two actions, so it’s easy to follow. It also shows you how one action passes information to the next, which is the core idea behind every shortcut.

A note on labels: Action and button names here reflect the Shortcuts app in iOS 27. If a label or menu looks slightly different on your iPhone, search for a keyword like “URL” and you’ll find the right action.

Step 1: Open the Shortcuts App

On your iPhone, tap the Shortcuts app icon. If this is your first time, you’ll land on the Shortcuts tab. You may see a few starter shortcuts in the grid, or it may be mostly empty. Both are normal.

Look for the three main sections: Shortcuts, Automation, and Gallery. Depending on your iOS version, they appear as tabs at the bottom of the screen or one or more of them sits behind a menu button.

Shortcuts app showing a grid of shortcuts and the Shortcuts, Automation and Gallery tabs.

Expected result: You see the Shortcuts tab with a + button near the top-right corner.

Step 2: Start a New Shortcut

Tap the + button in the top-right corner of the Shortcuts tab. A blank shortcut editor opens. It’s mostly empty, with an Add Action button in the middle.

A new shortcut editor with Add Action selected.

Expected result: An empty editor with an Add Action prompt.

Step 3: Find and Add the “URL” Action

Tap Add Action. A panel slides up with a search field and a list of action categories, such as Web and Media.

Tap the search field and type:

URL

In the results, tap the action named URL. It drops into your editor as the first step. You’ll see a blue placeholder inside it. Tap that placeholder and type the full address of the website you want, such as https://www.switchingtomac.com.

Shortcuts action search showing results for URL.

Expected result: Your editor now shows one action, URL, with your website address filled in.

Tip: Not sure what an action is called? Skip the search and browse a category instead. Web-related actions live under Web. Browsing is often faster than guessing an exact name.

Step 4: Add the “Open URLs” Action

Now tell the shortcut what to do with that address. Tap the search field at the bottom of the editor and type:

Open URLs

Tap Open URLs in the results. It appears directly under your URL action.

Look closely at the new action. Instead of an empty box, it already shows URL as its input. If the input shows URL, Shortcuts has linked the two actions. If it does not, select the URL action’s output as the input before testing. That link is a variable, which we explain right below.

Illustrative Morning Read shortcut with URL followed by Open URLs.

Expected result: Two actions stacked top to bottom. First URL, then Open URLs.

Tip: Shortcuts runs actions from top to bottom. If something ends up in the wrong order, touch and hold the action, then drag it up or down.

What’s a Variable? (The Plain-English Version)

A variable is just a labeled box that carries information from one action to the next. When the URL action runs, it produces a result: your website address. Shortcuts puts that result in a box and hands it to Open URLs, which opens whatever is inside. That’s why Open URLs already showed “URL” without you typing anything. The power here is that the box doesn’t have to hold a fixed value.

If an earlier action fetched today’s weather, a date, or something you typed when asked, the next action would work with that real, changing information instead. Many Shortcuts users call these automatic output boxes “magic variables.” Whatever you call them, they’re the small labeled bubbles you see inside actions, and you can tap them to pick a different earlier result.

Step 5: Test Your Shortcut

Before you name it, make sure it works. Tap the Play button (the triangle icon) at the bottom of the editor.

Expected result: Your website opens in the browser your device uses for the action. Switch back to the Shortcuts app to keep editing.

If Shortcuts asks for permission, read the prompt before you tap anything. This can happen the first time an action needs access to something. More on permissions in the safety section below.

Step 6: Rename Your Shortcut and Pick an Icon

Right now, your shortcut has a generic name. Tap the shortcut’s name at the top of the editor. A menu opens with options that include renaming and choosing an icon.

  • Tap Rename and type Morning Read. Pick a short, unique name, since you’ll also say it to Siri.
  • Tap Choose Icon to pick a color and a symbol. This is what you’ll see on your Home Screen and in widgets.
Morning Read shortcut name, icon and color options.

Tap Done to save.

Expected result: Your shortcut appears as a colored tile named Morning Read on the Shortcuts tab, typically under All Shortcuts.

Congratulations, you just built your first iPhone shortcut. Now let’s make it easy to run.

Five Ways to Trigger Your Shortcut Without Opening the App

You can always run a shortcut by tapping its tile in the Shortcuts app. But the real time-saver is running it from wherever you already are. Here are all five options.

Step 7: Add It to Your Home Screen

This makes your shortcut look and act like a regular app icon.

  • In the Shortcuts tab, touch and hold the Morning Read tile (or open it and tap its name at the top).
  • Find Add to Home Screen. Depending on where you start, it may be in the share options instead.
  • A preview screen shows the name and icon. Change either one here if you want.
  • Tap Add.
Shortcuts Add to Home Screen confirmation for Morning Read.

Expected result: A Morning Read icon appears on your Home Screen. Tap it, and your website opens.

Step 8: Run It With a Siri Phrase

This one usually needs no extra setup as long as Siri is turned on. The shortcut’s name is the phrase. Say “Siri,” then “Morning Read,” and Siri runs the shortcut. The exact wake phrase depends on your Siri settings, and recognition can vary with your Siri language.

If Siri doesn’t recognize it, rename the shortcut to something more distinct. Names that sound like built-in commands, such as “Open” or “Timer,” can confuse Siri.

Expected result: Your website opens after you say the shortcut’s name.

Step 9: Add a Shortcuts Widget

Widgets let you run one or more shortcuts right from your Home Screen. This feature requires a supported iOS version.

  • Touch and hold an empty spot on your Home Screen until the icons jiggle.
  • Tap Edit at the top of the screen, then tap Add Widget.
  • Search for Shortcuts and tap it.
  • Swipe through the sizes, pick one, and tap Add Widget.
  • Tap the widget while still in edit mode to choose which shortcut it shows, if it doesn’t show Morning Read already.
  • Tap Done.

Expected result: A Shortcuts widget sits on your Home Screen, and tapping Morning Read in it runs the shortcut. If a shortcut uses an action the widget can’t run on its own, or one that needs more input from you, Shortcuts may open the app or pause to ask before it finishes.

Step 10: Assign It to the Action Button (Supported iPhones Only)

This step works only on iPhone models that have an Action button. Look at the upper-left side of your phone. If you see a small button there instead of a Ring/Silent switch, you have one.

  • Open Settings > Action Button.
  • Swipe through the options until you reach Shortcut.
  • Tap the button under it to choose a shortcut, then select Morning Read.

Expected result: Press and hold the Action button, and your shortcut runs.

The trade-off: the Action button can only do one thing at a time. If you assign a shortcut, it replaces the button’s current assignment, such as Silent Mode or whichever other option you picked from those available on your model.

Step 11: Set Up Back Tap

Back Tap is an accessibility feature available on supported iPhone models and iOS versions. It runs a shortcut when you double-tap or triple-tap the back of your iPhone. (Apple: Run shortcuts by tapping the back of your iPhone)

  • Open Settings > Accessibility > Touch > Back Tap.
  • Choose Double Tap or Triple Tap.
  • Scroll down to the Shortcuts section and select Morning Read.

Expected result: Tap the back of your iPhone two or three times (depending on your choice), and the shortcut runs.

Back Tap is easy to trigger by accident, for example when you set your phone down. If that happens a lot, use Triple Tap instead of Double Tap.

Configuration: Turning Your Shortcut Into a Personal Automation

So far, you’ve been the trigger. You tap, speak, or press a button, and the shortcut runs. A personal automation flips that around. It runs on its own when something happens, such as a set time of day, arriving at or leaving a location, or connecting to a specific Wi-Fi network. (Apple: Add automations to Shortcuts)

Here’s the difference in one line: a manual shortcut runs when you ask, and an automation runs when a condition is met. Let’s set Morning Read to open every morning.

Step 12: Open Your Shortcut’s Automation Options

On iOS 27, Apple attaches automations to a shortcut. In the Shortcuts app, tap the Morning Read shortcut you already created, tap Edit, then tap Automation. (Apple: Add automations to Shortcuts, iOS 27)

If your app instead shows the separate Automation-tab interface, follow that route: tap Automation, then Create Personal Automation (or tap + first if you already have automations). Apple documents this separate flow in its iOS 26 guide. Follow the route your installed interface actually presents; do not try to combine both routes.

Illustrative iOS 26 Automation tab with Create Personal Automation.

This illustration shows the separate Automation-tab route documented for iOS 26. If you started with Edit > Automation on your existing shortcut, stay in that shortcut-attached flow instead.

Expected result: A list of triggers appears, such as Time of Day and Arrive.

Step 13: Choose and Configure a Trigger

  • Tap Time of Day from the list.
  • Set the time you want, such as 7:00 a.m.
  • Pick how often it repeats, such as daily.
  • Keep trigger confirmation and lock-state permissions separate. In the Automation-tab flow, Apple’s iOS 26 instructions say to open the automation, turn off Ask Before Running, and confirm Don’t Ask when you want supported triggers to run without a confirmation prompt.

Separately from that confirmation choice, Apple’s iOS 27 guide documents Edit > the shortcut options > Privacy > Allow Running When Locked. This controls running while locked; do not assume it is the same switch as a visible confirmation choice. Follow any Run Immediately or confirmation choice actually shown for your trigger, and test the result on your device.

When running without asking is available and enabled for the chosen trigger, Apple says the automation will not notify you when triggered. Only some trigger types can run without confirmation, and Apple notes you may also need to set individual actions to run automatically.

  • Confirm the trigger to save it. The button label can vary by version.
Illustrative iOS 26 Time of Day trigger with time and repeat options.

Prefer location instead? Choose Arrive and pick a place, like your office. The automation then runs when your iPhone detects you’ve arrived there.

Want automations tied to Focus modes? Shortcuts can also react when a Focus turns on or off. That setup is different, and we cover it in detail in our guide on how to schedule automations with Focus on iPhone.

Step 14: Pick What the Automation Does

On iOS 27, the automation runs the actions of the shortcut you attached it to, so starting from Morning Read means it opens your website. In the separate Automation-tab flow, select your existing Morning Read shortcut, or build a new set of actions the same way you did in Steps 3 and 4.

Step 15: Test It Before You Finish

This is the step most people skip, and it’s the one that saves the most frustration. Before you rely on the automation, test the actions it runs. If you picked your Morning Read shortcut, run it from the Shortcuts tab and confirm each action works as expected. If your version of Shortcuts offers a way to run the automation directly from its editor, you can use that too.

If your website opens, tap Done.

Expected result: Your automation is saved for the time you set. Test it in the device state you expect to use: individual actions may still need permission or interaction, so do not assume the website will open unattended. To see your automations, tap Automation in the Shortcuts app; on iPhone with iOS 27, you may need to tap a button first.

If your nightstand has a MagSafe charger where your phone sits overnight, a morning automation like this is a nice way to start the day. Test the automation before relying on it; an action that needs interaction can prevent unattended completion.

Exploring the Gallery Safely

The Gallery is Apple’s curated collection of ready-made shortcuts. It’s a good place to find ideas and see how more advanced shortcuts are built.

  • Open the Gallery section.
  • Browse the featured collections and tap any shortcut that looks useful.
  • Tap the add button on the shortcut’s page to add it to your collection.
  • Open it in the Shortcuts tab and tap to edit. You’ll see every action it uses, so you can learn from it or tweak it.
Shortcuts Gallery showing curated shortcut examples.

Is It Safe to Use a Shortcut Someone Sent Me?

Treat shortcuts shared through links, forums, or social media as untrusted. Follow the add or import instructions your device presents, inspect the actions, and decide whether you trust the sender before running anything. The Private Sharing setting below specifically concerns shortcuts received privately from contacts, not every distribution method.

For privately shared shortcuts from contacts, Apple names the control Settings > Shortcuts > Private Sharing. Enable it only for shortcuts you trust: Apple cannot verify their authenticity or behavior. This is permission to receive shared shortcuts, not a reason to run an unfamiliar shortcut without inspecting its actions.

When an add or import screen is presented, inspect what it shows. After adding a shortcut, review its actions in the editor before running it. Depending on its actions and the permissions you grant, a shared shortcut may request access to contacts, location, or internet services. Check before running:

  • Review every action before you run it. After adding a shared shortcut, open it in the editor and scroll through each action. If you see something you don’t understand, like sending messages or uploading files, don’t run it.
  • Read permission prompts carefully. The first time an action needs access to something like Contacts, location, or the internet, Shortcuts asks for permission. If a “rename my photos” shortcut asks for your contacts, that’s a red flag.
  • Be extra careful with scripts. A shortcut that uses the Run JavaScript on Webpage action can read information from the webpage it runs on, so only use those from sources you trust. Individual actions may still ask for permission depending on your settings.
  • When in doubt, build it yourself. Now that you know how to stack actions, you can often rebuild a simple shared shortcut from scratch and know exactly what it does.

Tips and Troubleshooting

No actions appear when I try to add one

Why it happens: The action panel isn’t open, or your search term doesn’t match an action name.

Fix: Tap Add Action first. Then search with a simple keyword or browse a category like Web or Media instead of guessing an exact name.

Adding a second action keeps showing the same category

Why it happens: The action list stays filtered to the last category you browsed.

Fix: Swipe up on the search field at the bottom of the screen, then pick a different action. Tap Done to return to the full category list.

My actions run in the wrong order

Why it happens: Shortcuts always runs actions from top to bottom, in the order they appear in the editor.

Fix: Touch and hold an action, then drag it up or down to the right spot.

Illustrative shortcut editor showing an action being moved in the list.

I can’t find my shortcut after creating it

Why it happens: You may be looking in a folder or a separate list.

Fix: New shortcuts are normally added to All Shortcuts on the Shortcuts tab, although list and folder names can vary by layout. Check there first.

My personal automation doesn’t seem to do anything

Why it happens: The automation wasn’t tested, or one of its actions isn’t set up correctly.

Fix: Run the shortcut the automation uses from the Shortcuts tab and watch each step to see where it stops. Also check the run-without-asking setting from Step 13 (Allow Running When Locked in Apple’s iOS 27 guide; check the visible confirmation options on other versions). If the automation still asks for confirmation, it may be waiting for you, and you might be missing that prompt.

Siri runs the wrong thing when I say my shortcut’s name

Why it happens: The name sounds too much like a built-in Siri command or another app.

Fix: Rename the shortcut to something short and distinct, like “Morning Read” rather than “Open.”

Quick tips

  • Start from the Gallery: Add a Gallery shortcut and open it in the editor to see how it’s built. Then copy the parts you like.
  • Keep names short: Short names fit better under Home Screen icons and are easier to say to Siri.
  • Test after every change: Tap Play each time you add an action. It’s much easier to find a problem when you only changed one thing.
  • Try speaking results out loud: Search for the Speak Text action to have your iPhone read text aloud. It’s handy when you’re wearing AirPods and your phone is in your pocket.

Wrapping Up

You’ve now built a real shortcut from scratch, learned what a variable actually does, and set up five ways to run it without opening the app. You’ve also turned it into an automation that runs on its own. Honestly, Shortcuts is one of the most underrated things on your iPhone.

The editor can feel unfamiliar at first, but once two actions click together, you’ll start seeing small daily chores you can hand off. A good next step: open the Gallery, add one shortcut, and take it apart in the editor to see how it works.

StepActionApplies To
1–6Build, test, and name Morning ReadAll iPhones with Shortcuts
7Add to Home ScreenAll iPhones
8Run with SiriiPhones with Siri turned on
9Add a Shortcuts widgetiPhones with Shortcuts, on a supported iOS version
10Assign to the Action buttonOnly iPhones with an Action button
11Set up Back TapiPhones that support Back Tap
12–15Create and test a personal automationAll iPhones with Shortcuts

Resources