Faster Notification Toggle
Introduction
In this article I show you how to quickly toggle a specific notification type on or off. These iOS setting are normally buried in an inconvenient location that you must slog your way to. But using Apple’s Shortcuts app, you can create a button that jumps directly to the setting. You can even use a voice command and have Siri open the page for you.
For me, email notifications are especially vital during work hours. Because email is the lifeblood of an information business (like my employer’s), I want to respond immediately when a request or question hits my inbox. But it is equally important to prevent email alerts from interrupting meetings, disrupting doctor appointments, annoying cinema patrons, or awakening me and my spouse in the dead of night.
Therefore, I frequently toggle this particular notification on or off as the situation demands. I found the manual method unnecessarily cumbersome: First, find and open the Settings app. Then find the Notifications category. Next scroll through the massive list of apps in the search of the one I want (often scrolling past the Mail app). And, lastly, toggling the notifications to the desired state.
I have now fixed that pain point: I can say “Hey, Siri, toggle mail” or tap a “Toggle Mail” button in my widgets. Either method jumps immediately to the toggle page for Mail. Below I give the steps on how to create this shortcut on your iOS device. This technique requires iOS version 13 (it does not work on certain older versions or out-of-date devices). Apple’s earlier support for this mechanism was a bit waffled, so let’s hope this recent development signifies a stronger commitment to let the Shortcuts app access settings.
Create the Shortcut
Watch the video below for a quick walkthrough. Or keep reading for the full written instructions and some additional information for advanced users.
First, find and open Apple’s Shortcut app. If you don’t remember where you put it, use Apple’s Finder. On my iPhone the Finder is opened by swiping downward from the middle of the screen. Start typing the word “shortcut” and it will soon show the app in the Applications section. If you deleted it, then you can re-download it from the iTunes store.
After you launch the Shortcuts app, make sure you are on the “My Shortcuts” page by using the menu at the bottom of the page. To create a shortcut, you can either tap the plus sign in the upper right corner of the page or tap the “Create Shortcut” button at the bottom of the displayed list.
I named my shortcut “Toggle Mail” for several reasons. First, it is short enough to fit inside a widget button. Second, I could also use Siri to invoke the shortcut because the name was memorable, easy to say, and unambiguous. And third, (the reason that it was memorable) was because the name was logical and self-explanatory. But feel free to use something else if this name does not work for you. To set the name of your shortcut, tap the button in the upper right of the page (with three dots) to access the shortcut’s “Details” page.
Replace the “Shortcut Name” in the top field by typing in the name you prefer.
While still on this “Details” page, tap the existing icon if you want to change the symbol or color. I chose green and used the “alert” symbol for my glyph. The “Show in Widget” is already on by default so we can leave that untouched. You could optionally also tap the “Add to Home Screen” if having the shortcut there is more your style. When you’re finished on this page tap the “Done” link in the upper right of the page to begin building the actions of the shortcut.
Tap the “Done” link in the upper right of the Icon page to return to the “Details” page. On the “Details” page tap the “Done” link to return to the actual shortcut definition.
Now tap the blue plus sign button (with the “Add Action” link) centered near the top of the page. Our shortcut will have two steps (i.e., actions). First, define our destination: that is, tell the shortcut where this particular setting lives. And, second, open that defined location (that is, display that page so we can set the toggle to the desired state).
For our first action, begin typing in “URL” into the search field. Select “URL” when it appears in the “Actions” results list.
When the action is initially added it has an example destination of “apple.com” in light text. Tap this example text so we can type in a replacement.
Enter the following string precisely. I recommend that you copy and paste the line below to ensure accuracy.
prefs:root=NOTIFICATIONS_ID&path=com.apple.mobilemail
Now we are ready to add our second and final action. Again, tap the plus icon centered below our first action. When the search field appears begin typing “Open URLs” and then tap the matching result when it appears in the “Actions” list.
There are no parameters to configure for this final/second action. So, tap the “Done” link in the upper right of the page to finish your creation. It is now ready to use. You can invoke the shortcut from the widget button (swipe left-to-right from the center of the home page), or by name using Siri. If you took the option of putting a button on your home page, you might want to reposition its icon so it’s placed in a convenient location.
Advanced Users
For users that are a bit more adventurous and technically inclined, you can use the URL shortcut technique to access different settings. If you’re not using Apple’s built-in mail program, you need to replace the identifier with your product’s official internal name. The first action will still begin with
prefs:root=NOTIFICATIONS_ID&path=
But instead of ending with com.apple.mobilemail you need to specify your mail app after the equal sign. Here is how to find the official internal name of your application.
Go into the Notifications section of Settings and find the exact name as it’s listed there
Open a web browser and search for “iTunes” and the name of your application (for example, “Outlook on iTunes store”)
Find the search result that’s on the official Apple.com website. In the screenshot below, it was the first result.
Click the official App Store link and confirm it’s the correct application (vendor, version, etc.)
Make note of the final identification number in the URL. For our example, Microsoft Outlook’s URL to its App Store page is https://apps.apple.com/us/app/microsoft-outlook/id951937596 so the identification number is 951937596
Put this identification at the end of a lookup URL (i.e., after the equal sign). For MS Outlook (app identifier 951937596) the URL would be https://itunes.apple.com/lookup?id=951937596
Go to the lookup URL and you’ll be prompted to download a file name 1.txt
Save the file and then open it in a text editor
Search this text file for “bundleId” and make note of the exact official name that follows. For our example, we found
, "bundleId":"com.microsoft.Office.Outlook",
So, the official internal name is com.microsoft.Office.Outlook
Use this name in your shortcut. For this example, the first action would define the settings URL as:
prefs:root=NOTIFICATIONS_ID&path=com.microsoft.Office.Outlook
Other Settings
A shortcut can have other destinations than just notification toggles. Below is a slew of other destinations to inspire your creativity and research.
Accessibility
Accessibility:
prefs:root=ACCESSIBILITY
App Store
App Store:
prefs:root=STOREApp Store ⮞ App Downloads:
prefs:root=STORE&path=App%20DownloadsApp Store ⮞ Video Autoplay:
prefs:root=STORE&path=Video%20Autoplay
Apple Pencil
Apple Pencil (iPad-only):
prefs:root=Pencil
Battery
Battery:
prefs:root=BATTERY_USAGEBattery ⮞ Battery Health (iPhone-only):
prefs:root=BATTERY_USAGE&path=BATTERY_HEALTH
Books
Books:
prefs:root=IBOOKS
Calendar
Calendar:
prefs:root=CALENDARCalendar ⮞ Alternate Calendars:
prefs:root=CALENDAR&path=Alternate%20CalendarsCalendar ⮞ Default Alert Times:
prefs:root=CALENDAR&path=Default%20Alert%20TimesCalendar ⮞ Default Calendar:
prefs:root=CALENDAR&path=Default%20CalendarCalendar ⮞ Sync:
prefs:root=CALENDAR&path=Sync
Camera
Camera:
prefs:root=CAMERACamera ⮞ Record Slo-mo:
prefs:root=CAMERA&path=Record%20Slo-moCamera ⮞ Record Video:
prefs:root=CAMERA&path=Record%20Video
Compass
Compass:
prefs:root=COMPASS
Contacts
Contacts:
prefs:root=CONTACTS
Control Center
Control Center:
prefs:root=ControlCenterControl Center ⮞ Customize Controls:
prefs:root=ControlCenter&path=CUSTOMIZE_CONTROLS
Display
Display:
prefs:root=DISPLAYDisplay ⮞ Auto Lock:
prefs:root=DISPLAY&path=AUTOLOCKDisplay ⮞ Text Size:
prefs:root=DISPLAY&path=TEXT_SIZE
Do Not Disturb
Do Not Disturb:
prefs:root=DO_NOT_DISTURBDo Not Disturb ⮞ Allow Calls From:
prefs:root=DO_NOT_DISTURB&path=Allow%20Calls%20From
Emergency SOS
Emergency SOS:
prefs:root=EMERGENCY_SOS
Face ID
Face ID:
prefs:root=PASSCODE
FaceTime
FaceTime:
prefs:root=FACETIME
Game Center
Game Center:
prefs:root=GAMECENTER
General
General:
prefs:root=GeneralGeneral ⮞ About:
prefs:root=General&path=AboutGeneral ⮞ Background App Refresh:
prefs:root=General&path=AUTO_CONTENT_DOWNLOADGeneral ⮞ CarPlay:
prefs:root=General&path=CARPLAYGeneral ⮞ Date & Time:
prefs:root=General&path=DATE_AND_TIMEGeneral ⮞ Dictionary:
prefs:root=General&path=DICTIONARYGeneral ⮞ Keyboard:
prefs:root=General&path=KeyboardGeneral ⮞ Keyboard ⮞ Hardware Keyboard:
prefs:root=General&path=Keyboard/Hardware%20KeyboardGeneral ⮞ Keyboard ⮞ Keyboards:
prefs:root=General&path=Keyboard/KEYBOARDSGeneral ⮞ Keyboard ⮞ One Handed Keyboard:
prefs:root=General&path=Keyboard/ReachableKeyboardGeneral ⮞ Keyboard ⮞ Text Replacement:
prefs:root=General&path=Keyboard/USER_DICTIONARYGeneral ⮞ Language & Region:
prefs:root=General&path=INTERNATIONALGeneral ⮞ Multitasking (iPad-only):
prefs:root=General&path=MULTITASKINGGeneral ⮞ Profiles:
prefs:root=General&path=ManagedConfigurationListGeneral ⮞ Reset:
prefs:root=General&path=ResetGeneral ⮞ Software Update:
prefs:root=General&path=SOFTWARE_UPDATE_LINK
Health
Health:
prefs:root=HEALTH
iCloud
iCloud:
prefs:root=CASTLEiCloud Backup:
prefs:root=CASTLE&path=BACKUP
Mail:
prefs:root=MAILMail ⮞ Blocked:
prefs:root=MAIL&path=BlockedMail ⮞ Blocked Sender Options:
prefs:root=MAIL&path=Blocked%20Sender%20OptionsMail ⮞ Default Account:
prefs:root=MAIL&path=Default%20AccountMail ⮞ Include Attachments with Replies:
prefs:root=MAIL&path=Include%20Attachments%20with%20RepliesMail ⮞ Increase Quote Level:
prefs:root=MAIL&path=Increase%20Quote%20LevelMail ⮞ Mark Addresses:
prefs:root=MAIL&path=Mark%20AddressesMail ⮞ Muted Thread Action:
prefs:root=MAIL&path=Muted%20Thread%20ActionMail ⮞ Notifications:
prefs:root=MAIL&path=NOTIFICATIONSMail ⮞ Preview:
prefs:root=MAIL&path=PreviewMail ⮞ Signature:
prefs:root=MAIL&path=SignatureMail ⮞ Swipe Options:
prefs:root=MAIL&path=Swipe%20Options
Maps
Maps:
prefs:root=MAPSMaps ⮞ Driving & Navigation:
prefs:root=MAPS&path=Driving%20%26%20NavigationMaps ⮞ Transit:
prefs:root=MAPS&path=Transit
Measure
Measure:
prefs:root=MEASURE
Messages
Messages:
prefs:root=MESSAGES
Music
Music: prefs:root=MUSIC
Music ⮞ Cellular Data:
prefs:root=MUSIC&path=com.apple.Music:CellularDataMusic ⮞ EQ:
prefs:root=MUSIC&path=com.apple.Music:EQMusic ⮞ Optimize Storage:
prefs:root=MUSIC&path=com.apple.Music:OptimizeStorageMusic ⮞ Volume Limit:
prefs:root=MUSIC&path=com.apple.Music:VolumeLimit
News
News:
prefs:root=NEWS
Notes
Notes: prefs:root=NOTES
Notes ⮞ Access Notes from Lock Screen:
prefs:root=NOTES&path=Access%20Notes%20from%20Lock%20ScreenNotes ⮞ Default Account:
prefs:root=NOTES&path=Default%20AccountNotes ⮞ Lines & Grids:
prefs:root=NOTES&path=Lines%20%26%20GridsNotes ⮞ New Notes Start With:
prefs:root=NOTES&path=New%20Notes%20Start%20WithNotes ⮞ Password:
prefs:root=NOTES&path=PasswordNotes ⮞ Sort Checked Items:
prefs:root=NOTES&path=Sort%20Checked%20ItemsNotes ⮞ Sort Notes By
: prefs:root=NOTES&path=Sort%20Notes%20By
Passwords & Accounts
Passwords & Accounts:
prefs:root=ACCOUNTS_AND_PASSWORDSPasswords & Accounts ⮞ Add Account:
prefs:root=ACCOUNTS_AND_PASSWORDS&path=ADD_ACCOUNTPasswords & Accounts ⮞ Fetch New Data:
prefs:root=ACCOUNTS_AND_PASSWORDS&path=FETCH_NEW_DATA
Personal Hotspot
Personal Hotspot:
prefs:root=INTERNET_TETHERINGPersonal Hotspot ⮞ Family Sharing:
prefs:root=INTERNET_TETHERING&path=Family%20SharingPersonal Hotspot ⮞ Wi-Fi Password:
prefs:root=INTERNET_TETHERING&path=Wi-Fi%20Password
Phone
Phone:
prefs:root=Phone
Photos
Photos:
prefs:root=Photos
Privacy
Privacy:
prefs:root=PrivacyPrivacy ⮞ Calendars:
prefs:root=Privacy&path=CALENDARSPrivacy ⮞ Camera:
prefs:root=Privacy&path=CAMERAPrivacy ⮞ Contacts:
prefs:root=Privacy&path=CONTACTSPrivacy ⮞ Location Services:
prefs:root=Privacy&path=LOCATIONPrivacy ⮞ Microphone:
prefs:root=Privacy&path=MICROPHONEPrivacy ⮞ Motion:
prefs:root=Privacy&path=MOTION\Privacy ⮞ Photos:
prefs:root=Privacy&path=PHOTOSPrivacy ⮞ Reminders:
prefs:root=Privacy&path=REMINDERSPrivacy ⮞ Speech Recognition:
prefs:root=Privacy&path=SPEECH_RECOGNITION
Reminders
Reminders:
prefs:root=REMINDERSReminders ⮞ Default List:
prefs:root=REMINDERS&path=DEFAULT_LIST
Safari Browser
Safari:
prefs:root=SAFARISafari ⮞ Advanced:
prefs:root=SAFARI&path=ADVANCEDSafari ⮞ Camera:
prefs:root=SAFARI&path=CameraSafari ⮞ Clear History and Data:
prefs:root=SAFARI&path=CLEAR_HISTORY_AND_DATASafari ⮞ Close Tabs:
prefs:root=SAFARI&path=Close%20TabsSafari ⮞ Content Blockers:
prefs:root=SAFARI&path=Content%20BlockersSafari ⮞ Downloads:
prefs:root=SAFARI&path=DOWNLOADSSafari ⮞ Location:
prefs:root=SAFARI&path=LocationSafari ⮞ Microphone:
prefs:root=SAFARI&path=MicrophoneSafari ⮞ Page Zoom:
prefs:root=SAFARI&path=Page%20ZoomSafari ⮞ Reader:
prefs:root=SAFARI&path=ReaderSafari ⮞ Request Desktop Website:
prefs:root=SAFARI&path=Request%20Desktop%20Website
Screen Time
Screen Time:
prefs:root=SCREEN_TIMEScreen Time ⮞ Always Allowed:
prefs:root=SCREEN_TIME&path=ALWAYS_ALLOWEDScreen Time ⮞ App Limits:
prefs:root=SCREEN_TIME&path=APP_LIMITSScreen Time ⮞ Downtime:
prefs:root=SCREEN_TIME&path=DOWNTIME
Shortcuts
Shortcuts:
prefs:root=SHORTCUTS
Siri
Siri:
prefs:root=SIRI
Sounds
Ringtone:
prefs:root=Sounds&path=Ringtone
Sounds:
prefs:root=Sounds
TV
Settings ⮞ TV:
prefs:root=TVAPP
Voice Memos
Voice Memos:
prefs:root=VOICE_MEMOS
VPN
VPN:
prefs:root=General&path=VPN
Wallet
Wallet:
prefs:root=PASSBOOK
Wallpaper
Wallpaper:
prefs:root=Wallpaper
Wireless Radios
Bluetooth:
prefs:root=BluetoothCellular:
prefs:root=MOBILE_DATA_SETTINGS_IDWi-Fi:
prefs:root=WIFI