Shortcuts · Apple app

Also known as: Apple Shortcuts

On this page 7

Shortcuts is the Apple app for building automations from a sequence of predefined actions, and on macOS it is one of the built-in apps that ships with the system since macOS Monterey (version 12). Each shortcut is a visual workflow of actions that pass data from one step to the next, so a user can resize images, rename files, query a web API or toggle system settings without writing a traditional program.

Within macOS apps & services, Shortcuts occupies the role once held by Automator, while also sharing the same automation format as iPhone and iPad. Shortcuts created on one device sync through iCloud and usually run on the others, which makes the app the common cross-platform automation layer of the Apple ecosystem.

How a shortcut runs its chain of actions

A shortcut runs its actions from top to bottom, and each action receives the output of the previous action as its default input. This implicit data flow is the core design idea: a “Get Selected Files in Finder” action produces a list of files, the next action can convert them, and a later action can save the results to a folder.

Data moves between actions as typed content items such as files, images, text, URLs, dates or dictionaries. When an action expects a different type, Shortcuts performs automatic type coercion, for example extracting text from a PDF or reading the name of a file. Users can also store values in named variables, use magic variables that reference any earlier output, and control flow with “If”, “Repeat” and “Choose from Menu” actions.

The following table lists the main building blocks of a shortcut and what each one contributes to the workflow.

Building blockPurposeTypical example
ActionPerforms one operationResize Image, Get Contents of URL
VariableStores a value for later stepsSet Variable named “Report date”
Magic variableReferences any earlier output directlyOutput of Get Current Date
Control flowBranches or repeats stepsIf, Repeat with Each, Choose from Menu
InputDefines what the shortcut acceptsFiles passed from Finder Quick Actions
Core building blocks of a shortcut

Where Shortcuts can be triggered on macOS

A shortcut on the Mac can start from many system entry points, which is a large part of its practical value. The same shortcut can appear in the menu bar, in Finder as a Quick Action, in the Services menu, in Spotlight results, as a Dock item, or through a keyboard shortcut assigned in the shortcut details.

The table below compares the most common launch methods and the situations where each one fits best.

Launch methodHow it is set upBest suited for
Menu barPin in shortcut detailsFrequent one-click tasks
Quick ActionEnable Finder or Services useProcessing selected files
Keyboard shortcutAssign a key combinationTasks repeated many times a day
Siri or SpotlightAvailable by shortcut nameHands-free or search-driven runs
Command lineshortcuts run "Name" in TerminalScripts, cron jobs and developer tools
Personal automationTriggers such as Focus or time of dayFully unattended routines
Launch methods for shortcuts on the Mac

The `shortcuts` command-line tool deserves special attention. It can list, run, sign and export shortcuts, accept input with --input-path and write results with --output-path, which lets shell scripts and Shortcuts cooperate in a single pipeline.

How Shortcuts compares with Automator and scripting

Shortcuts is the strategic successor to Automator, but it does not replace every scripting approach on macOS. Automator remains available for compatibility, and Shortcuts can import many Automator workflows, although some actions have no direct equivalent and require rework.

The comparison below summarizes how Shortcuts relates to the older and more technical automation options.

ToolSkill levelCross-deviceMain strength
ShortcutsBeginner to advancedYes, through iCloudVisual actions and app integrations
AutomatorBeginner to intermediateNo, Mac onlyLegacy workflows and folder actions
AppleScriptIntermediateNo, Mac onlyDeep control of scriptable apps
Shell scriptsAdvancedNo, Mac onlyText processing and system tools
Shortcuts compared with other macOS automation tools

In practice these tools combine rather than compete. Shortcuts includes a Run Shell Script action and a Run AppleScript action, so a visual workflow can call precise low-level code where the built-in actions are not enough, while the shortcut keeps a friendly interface for the person who runs it.

App intents, privacy and security model

Third-party and Apple apps expose their features to Shortcuts through the App Intents framework, which defines actions an app offers to the system. When a developer adopts App Intents, those actions appear in the Shortcuts library automatically, and recent versions of macOS can also surface them in Spotlight and through Siri.

Because shortcuts can touch files, contacts, location and the network, the app applies a permission-based privacy model. The first time a shortcut accesses a protected resource or sends data to a website, macOS asks for explicit user approval, and these grants can be reviewed in the Privacy tab of the shortcut details. Shortcuts that run scripts require a separate setting, Allow Running Scripts, in the app settings.

Shared shortcuts are distributed as signed files or iCloud links. Before adding a shared shortcut, a careful user reads every action, because a shortcut from an untrusted source can exfiltrate data to a remote server as easily as it can automate a harmless task.

Common mistakes and limitations

Most Shortcuts problems come from unexpected data types, missing permissions or differences between devices. The table below lists typical symptoms with their causes and fixes.

SymptomLikely causeFix
Action receives wrong contentImplicit input from the wrong stepSet the input explicitly with a magic variable
Shortcut fails on iPhoneMac-only action such as Run Shell ScriptAdd a device check or keep it Mac only
Script action does nothingScripting not allowed in settingsEnable Allow Running Scripts
Automation never startsTrigger requires confirmationDisable Ask Before Running where offered
Slow runs on large foldersPer-item loops with heavy actionsBatch work in a shell script action
Typical Shortcuts problems and their fixes

Shortcuts also has structural limits. Debugging is basic, with no breakpoints or step logs beyond the Show Result action, and very long workflows become hard to maintain. For complex logic, a common pattern is to keep the shortcut short and delegate heavy processing to scripts, or to split work into smaller shortcuts that call each other with the Run Shortcut action.

A plain-language summary

Shortcuts is a free app on the Mac, iPhone and iPad that lets you put routine chores on autopilot. You build a small recipe from ready-made steps, such as “take these photos”, “make them smaller” and “save them to this folder”, and the app follows the recipe every time you ask.

You do not need to know programming. You drag steps into a list, and each step hands its result to the next one, like workers on an assembly line. The key takeaway is simple: if you do the same sequence of clicks often, Shortcuts can do it for you with one click, a key press or a spoken request.

An example from practice

A freelance product photographer delivers about 200 edited images per week to online shops that require JPEG files no wider than 2,000 pixels, with a consistent naming scheme. Doing this by hand in Preview took roughly half an hour per delivery.

The photographer built a shortcut that accepts selected files as a Finder Quick Action, converts them to JPEG at 85 percent quality, resizes them to 2,000 pixels wide, renames them with the client code and date, and compresses the folder into a ZIP archive ready for upload. A keyboard shortcut starts the whole chain.

The result was a delivery step that now takes under two minutes, with no naming errors. Because the shortcut syncs through iCloud, the same workflow is visible on the photographer’s iPad, although the Mac remains the device that handles the full-resolution files.