sodcalculator

10 Tech How-To

How to Use Automator on macOS: A Step-by-Step Guide

Guide 10-29314 · Updated · Step by step

To use Automator on macOS, you create a workflow that chains together actions to automate repetitive tasks, then run it manually, from a menu, or as a saved app. This guide walks you through building your first workflow, saving it, and troubleshooting common issues.

What Is Automator and Why Use It?

Automator is a built-in macOS app (introduced in 2005 with Mac OS X Tiger) that lets you automate tasks without writing code. You drag and drop “actions” – pre-built steps like “Get Selected Finder Items” or “Rename Finder Items” – onto a canvas, connect them, and run the result. It’s ideal for batch file renaming, resizing images, extracting text from PDFs, or moving files to a folder based on name or date.

Unlike AppleScript (which requires scripting knowledge) or Shortcuts (which is more iOS-oriented), Automator offers a visual, menu-driven interface that works with most Mac apps. It’s still present in macOS Sonoma and Sequoia, though Apple has been pushing Shortcuts for newer automation. For many file and folder tasks, Automator remains simpler and more reliable.

How Automator Workflows Work

Every Automator project is a “workflow” – a sequence of actions that pass data from one step to the next. The data type (files, text, images, etc.) must match between actions, or you’ll see a warning. Workflows can be saved in five formats:

  • Workflow – runs only inside Automator; useful for testing.
  • Application – a standalone .app file; drag files onto it to process them.
  • Quick Action – appears in the Finder’s right-click menu and the Touch Bar.
  • Print Plugin – adds a PDF menu item in the Print dialog.
  • Calendar Alarm – runs on a schedule via the Calendar app.

The most common for beginners is the Quick Action, because it integrates with the Finder context menu.

Step-by-Step: Create Your First Workflow

Let’s build a Quick Action that resizes selected images to a specific width. This is a classic Automator task.

  1. Open Automator – Go to Applications → Utilities → Automator (or use Spotlight).
  2. Choose “Quick Action” – In the “Choose a type for your document” dialog, select “Quick Action” and click “Choose”.
  3. Set input options – At the top of the workflow window, set “Workflow receives current” to “image files” and “in” to “Finder”. Check “Output replaces selected images” if you want to overwrite originals (leave unchecked for safety).
  4. Add the “Copy Finder Items” action – In the left library, search for “Copy Finder Items”. Drag it to the workflow area. Set “To” to a folder like “Resized” on your Desktop. This prevents modifying originals.
  5. Add “Scale Images” – Search for “Scale Images” and drag it below the Copy action. Choose “To Size” and enter a width like 1280 pixels. Automator will warn that the action will modify the copied files – that’s fine.
  6. Save – Press ⌘S, name it “Resize Images”, and save. Automator installs it automatically.

Now right-click any image file in Finder → Quick Actions → “Resize Images”. The resized copy appears in your “Resized” folder.

How to Run a Workflow in Different Ways

Depending on how you saved it, you can run your workflow via:

  • Quick Action – Right-click a file/folder in Finder, choose Quick Actions, then your workflow’s name.
  • Application – Double-click the .app file, or drag files onto its icon. It processes each dropped file.
  • Workflow – Open it in Automator and click the “Run” button (top right).
  • Calendar Alarm – In Calendar, create an event, set an alert, and choose “Open file” → select your .workflow file. It runs at that time.
  • Keyboard Shortcut – For Quick Actions, go to System Settings → Keyboard → Keyboard Shortcuts → Services. Find your workflow under “Files and Folders” and assign a shortcut like ⌥⌘R.

If a workflow doesn’t appear in the right-click menu, check that its input type matches the selected file (e.g., “image files” won’t show for a PDF).

Common Problems and How to Fix Them

Automator is stable, but a few issues crop up regularly:

  • Workflow not appearing in Quick Actions – Make sure you saved it as a Quick Action, not a Workflow. Also restart Finder (hold Option, right-click Finder icon, select “Relaunch”).
  • “The action ‘X’ encountered an error” – Usually a permissions issue. Go to System Settings → Privacy & Security → Files and Folders, and enable access for Automator and your workflow app to Desktop, Documents, or Downloads.
  • Workflow runs but does nothing – Check that the input type matches. For example, “Get Selected Finder Items” requires a file, not a folder.
  • Scaling images fails on some files – The Scale Images action works with common formats (JPEG, PNG, TIFF). For HEIC or RAW, convert to JPEG first.
  • Workflow is slow – Add a “Pause” action if you need delays, but avoid unnecessary loops. For heavy tasks, consider using a shell script action instead.

If you get a “not authorized to send Apple events” error, enable the target app in System Settings → Privacy & Security → Automation.

Automator vs. Shortcuts vs. AppleScript

You might wonder which tool to use. Automator is best for simple file operations and GUI automation. Shortcuts (introduced in macOS Monterey) is more modern, supports cloud sync, and runs on iOS, but its Finder actions are limited. AppleScript gives full control over apps but requires coding. For most batch file tasks, Automator is the fastest to set up and debug. If you need to loop over thousands of files, a shell script (via “Run Shell Script” action) is more efficient.

Frequently Asked Questions

Can I use Automator to rename multiple files at once?

Yes. Use the “Rename Finder Items” action. Add it to a workflow, choose “Add Date” or “Make Sequential”, and set the format. To preview, click “Options” and check “Show this action when the workflow runs” – then you can adjust settings before applying.

How do I make an Automator app that processes files I drop on it?

Create a new document, choose “Application”. Add actions like “Get Selected Finder Items” (it will receive dropped files automatically), then your processing steps. Save as .app. Drag files onto the app icon to run.

Why is my Automator Quick Action grayed out in the Finder menu?

This happens when the input type doesn’t match the selected item. For example, if your workflow expects “folders” but you right-clicked a file. Also ensure the workflow is enabled in System Settings → Extensions → Finder.

Can I schedule an Automator workflow to run daily?

Yes, save it as a Calendar Alarm. In Calendar, create an event at the desired time, set an alert, and choose “Open file” – select your .workflow file. It will run at that time.

Is Automator still supported in macOS Sequoia?

Yes, Automator is still present and functional in macOS Sequoia. Apple hasn’t removed it, though they encourage Shortcuts for new automations. For existing workflows, Automator continues to work.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →