Smooth out your routine’s rough edges with automations in Shortcuts

Here’s what you need to know about automation in Shortcuts in iOS 13 and iPadOS 13.

Automations are a new addition to the Shortcuts lineup with iOS 13 and iPadOS 13. Automations are essentially shortcuts with a single specific trigger. Where a standard shortcut can be activated with Siri, by pressing its button in the app, or through the widget, an automation has one method of activation.

An automation can be triggered by something like the time of day, arrival at or departure from a location, activating low power mode, and more. Once the condition is met, the automation will either run or surface a notification to let you start running it. If you have a lot of recurring tasks or habits (maybe you play the same Apple Music playlist whenever you get in the car), automations can be especially useful.

This is what you need to know about automations, and how to work with them.

Automation triggers

Automation triggers are broken up into three categories: Events, Travel, and Settings. Each trigger is also either what I call “active” or “passive” in nature. An active trigger is one that is the result of a user’s deliberate action, like plugging your iPhone into your CarPlay-enabled vehicle or tapping an NFC tag. At some point, you deliberately did something to or with your iPhone to start your automation.

A passive trigger, like the time of day or arriving at or leaving a location, is one where you’re not actively doing something to or with your phone. While you might leave a location with your iPhone in your pocket, for instance, your phone is passive at that moment. Ironically, these automations with this type of trigger ultimately require your active consent to run. When their trigger is activated, you’ll get a notification. Tapping that notification will show you a “Run” button. Tap that, and your automation will run.

Here’s how the different automation trigger categories break down.

Events:

  • Time of Day: A passive trigger that activates at a certain time of day, optionally on a particular day or days of the week.
  • Alarm: An active trigger that starts when you stop a designated (or any) alarm on your iPhone or iPad.
  • Apple Watch Workout: An active trigger that starts an automation when you start a workout on your Apple Watch.

Travel:

  • Arrive: A passive trigger for arriving at a location.
  • Leave: A passive trigger for leaving a location.
  • Before I Commute: A passive trigger that can be set to activate at or before your regular travel time to home or from work.
  • CarPlay: An active trigger that starts your automation when you successfully connect to CarPlay.

Settings:

  • Airplane Mode: An active trigger that starts your automation when you turn Airplane Mode on or off.
  • Wi-Fi: A passive trigger that activates when you join a particular Wi-Fi network, such as your home network.
  • Bluetooth: A passive trigger that activates when you connect to a specific Bluetooth accessory such as AirPods.
  • Do Not Disturb: An active trigger that starts when you turn Do Not Disturb on or off.
  • Low Power Mode: An active trigger that starts when you turn Low Power Mode on or off.
  • NFC: An active trigger that starts your automation when you tap an NFC tag or sticker.
  • Open App: An active trigger that starts your automation when you open an app.

How to create a shortcut automation

If you’ve already created your own shortcuts, building an automation isn’t that different. Except for the beginning, when you choose your trigger, building an automation is exactly like building a shortcut, and an automation can do anything a standard shortcut can do.

How to create a shortcut

As an example, here we’re going to build a simple automation that works with an NFC tag. Since we’re using NFC, the beginning of the instructions will be fairly specific for that, but setting up any trigger is fairly self-explanatory once you get started.

  1. Open Shortcuts on your iPhone.
  2. Tap the Automation tab.
  3. If you already have other automations, tap the + button.

  4. Tap Create Personal Automation.
  5. Tap the trigger you want to use. In this example, we’ll tap NFC.
  6. Tap Scan on NFC Tag.

  7. Scan your NFC tag with your iPhone.
  8. Name your NFC tag.
  9. Tap OK. After this, the instructions generally apply to all automations.

  10. Tap Next.
  11. Tap Add Action.
  12. Tap one of the options presented to you, such as Apps, Favorites, Location, a suggestion, or search for the action you want to use.

  13. Tap on the action you want to add to your automation.
  14. Tap on a blue parameter to change it.
  15. Select an option for your parameter.

  16. Tap Show More if it’s available.
  17. Tap any parameters or buttons to change them.
  18. Tap the + button if you want to continue adding actions to your shortcut.

  19. Tap Next when you’re done adding actions.
  20. Tap the switch for Ask Before Running (if available) to the gray “off” position if you want this automation to run without any further input once you trigger it.

  21. Tap Don’t Ask if you tapped to switch off.
  22. Tap Done.

Once you’ve created your automation, using it is a simple matter of either waiting for its trigger to activate. Whether you’re tapping an NFC tag, plugging your iPhone into a CarPlay unit, or waiting for an appointed time, once the trigger condition is met, your automation will either start or send you a notification asking for your approval.

How to create a HomeKit automation

In addition to shortcut automations, the Shortcuts app also lets you set up HomeKit-specific automations from within the app, too. This is the same functionality that you’ll find in the Home app and works the exact same way. In the shortcuts app, instead of tapping Create Personal Automation, instead, tap Create Home Automation.

How to setup Home automations on iOS and iPadOS

Questions?

If you have any questions about setting up an automation in Shortcuts, ask away in the comments.

This article was originally posted here