Automating Tasks on Mac: Automator and Shortcuts Guide

Mac automation with Automator

Every week, I watch my clients perform the same repetitive tasks on their Macs: renaming batches of files, resizing images, organizing downloads, backing up documents. These tasks take minutes individually but compound into hours over months. What if your Mac could handle these automatically? That's the promise of Mac automation. After 15 years of Mac training, I've helped hundreds of clients save countless hours through Automator and Shortcuts. Let me show you how to harness these powerful tools.

Why Automate Your Mac?

Before diving into specific tools, let's address why automation matters. Consider these statistics from my own workflow tracking:

  • I used to spend 15 minutes daily renaming and organizing downloaded files
  • At 5 days/week, that's 65 hours per year
  • With Automator, that process now takes 30 seconds
  • The automation took 20 minutes to create and runs flawlessly

That's a 99% time savings on a task I previously dreaded. Multiply this across multiple automations, and you can reclaim hours weekly. For business users, automation isn't just convenience—it's productivity leverage.

Automator workflow

Understanding macOS Automation Tools

Apple provides two main automation tools on your Mac:

Automator

Automator is the older, more powerful tool included with macOS since 2005. It uses a visual workflow builder where you drag and drop "actions" into sequences. Automator can interact directly with files, folders, applications, and system features.

Shortcuts

Shortcuts (formerly Workflow) is the newer tool that debuted on iOS and came to macOS with Mojave. It offers a more streamlined interface with conditional logic and is synchronized across your Apple devices through iCloud.

Getting Started with Automator

Automator lives in your Applications folder. Let's create your first workflow:

Opening Automator

  1. Open Finder > Applications > Automator
  2. You'll see a template selection window
  3. Choose "Workflow" for a basic sequential workflow
  4. The main Automator window opens with a library on the left and a canvas in the center

Anatomy of Automator

  • Library: Left panel with all available actions organized by category
  • Canvas: Center area where you build your workflow by dragging actions
  • Action Details: Bottom panel showing configuration options for selected action
  • Log: Right panel showing workflow execution results

Creating Your First Automator Workflow

Let's build a practical workflow: resize all images in a folder to a maximum width of 800px.

Step 1: Select Input

At the top of the workflow canvas, find "Workflow receives current" dropdown. Select "image files" from "Finder items."

Step 2: Add the Resize Action

  1. In the Library, click "Photos" category
  2. Drag "Scale Images" action to the canvas
  3. In the action settings, enter "800" for pixel width
  4. Select "By Percentage" or "To Size" based on your needs

Step 3: Add Save Action

  1. Find "Copy Finder Items" or "Move Finder Items" in the Files category
  2. Drag it below the Scale Images action
  3. Choose a destination folder

Step 4: Test and Run

Click the "Run" button in the top right. Automator will process any files you select in Finder. To use this workflow, select image files in Finder, right-click, and choose "More" > "Automator" > "Your Workflow Name."

Mac workflow automation

Essential Automator Actions

Here are the Automator actions I use most frequently with clients:

File & Folder Actions

  • Get Selected Finder Items: Gets files you've selected in Finder
  • Get Folder Contents: Gets all items in a folder
  • Copy Finder Items: Copies files to specified location
  • Move Finder Items: Moves files to specified location
  • Rename Finder Items: Batch rename files with patterns
  • Make Sequential Aliases: Creates aliases with sequential numbering

Text Actions

  • Get Text from Text Edit: Extracts text from documents
  • Change Case of Text: Convert text to uppercase, lowercase, title case
  • Concatenate Text: Combine multiple text items
  • Search Replace: Find and replace text patterns

System Actions

  • Set Computer Volume: Adjust system volume
  • Speak Text: Have your Mac read text aloud
  • Display Notification: Show system notification
  • Quit All Applications: Close all apps at once

Advanced Automator: Variables and Loops

Automator supports variables and loops for more sophisticated workflows:

Using Variables

Variables store values for use later in workflows:

  1. Click the "Variable" button above the canvas
  2. Create a new variable with a descriptive name
  3. Insert the variable into your workflow where needed
  4. Variables can store text, file paths, dates, and more

Looping Actions

Repeat actions for multiple items:

  • Loop: Runs actions a specified number of times
  • Process Folders: Applies actions to each item in a folder
  • Repeat Actions: Creates a loop with condition

Building a Batch File Renamer

One of the most common automation requests I get is batch file renaming. Here's a workflow I created for a photographer client who needed to rename event photos:

The Workflow

  1. Get Selected Finder Items: Get the selected files
  2. Rename Finder Items: Add date prefix using "Date/Time" in name
  3. Rename Finder Items: Replace spaces with underscores
  4. Copy Finder Items: Copy to organized folder structure

Date-Based Renaming

The "Rena me Finder Items" action offers powerful options:

  • Make sequential with padding (001, 002, etc.)
  • Add date and time
  • Replace text
  • Change case
  • Trim characters

Shortcuts: The Modern Approach

Shortcuts offers a more intuitive interface with iOS-inspired design:

Opening Shortcuts

  1. Open Launchpad and find Shortcuts, or use Spotlight (⌘Space) and type "Shortcuts"
  2. The Shortcuts app opens showing your library
  3. Click "+" to create a new shortcut

Building a Shortcut

Let's create a shortcut to resize an image:

  1. Click "+" to create new shortcut
  2. Name your shortcut "Resize Image"
  3. Click "Add Action" to see available actions
  4. Search for "Resize Image" and add it
  5. Configure the resize dimensions
  6. Add "Save Image" action to specify output location

Shortcuts vs. Automator: When to Use Which

Here's my practical framework:

Feature Automator Shortcuts
Interface Workflow canvas with drag-drop List-based action configuration
File System Access Deep integration, folder actions Limited file actions
Cross-Device Sync No (Mac only) Yes (iCloud sync)
Complex Logic Variables and loops available Better conditional logic
Best For File processing, folder actions Cross-device workflows, media

Useful Shortcuts Templates

Here are shortcuts I recommend to every Mac user:

Quick Screenshot to Notes

  1. Screenshot captures go to clipboard
  2. Create a shortcut that gets clipboard image
  3. Creates new Note with the image
  4. Assign a keyboard shortcut

PDF to Image

Convert PDF pages to image files for easier sharing:

  1. Select PDF in Finder
  2. Run shortcut to convert pages to images
  3. Images saved to specified folder

Batch Image Compression

For web uploads, compress multiple images at once:

  1. Get selected Finder items
  2. Resize each image
  3. Compress JPEG quality
  4. Save to compression folder

Folder Actions: Automator's Hidden Gem

Folder Actions are Automator workflows that run automatically when files are added to a folder. This is incredibly powerful for workflow automation.

Setting Up a Folder Action

  1. Right-click any folder in Finder
  2. Select "Folder Actions Setup..."
  3. Choose an Automator workflow to attach
  4. Now any file dropped in the folder triggers the workflow

Example: Downloads Organizer

I set this up for almost every client:

  • Create folders: Images, Documents, Archives, DMGs
  • Attach Folder Actions to each
  • Rule: Images folder moves .jpg, .png, .gif files
  • Rule: Documents folder moves .pdf, .doc, .docx files
  • Now downloads auto-organize themselves

Scheduling Automator Workflows

While Automator doesn't have built-in scheduling, you can use Calendar to trigger workflows:

  1. Create your Automator workflow
  2. Save it as a plugin (File > Save As > Plugin)
  3. Open Calendar and create an event
  4. Set alert to "Run Script" and select your workflow
  5. Workflow runs when the calendar event triggers

Debugging and Troubleshooting

When automations fail, here's my debugging approach:

Automator Debugging

  • Use the Log panel to see which action failed
  • Run the workflow with fewer actions to isolate problem
  • Check that input types match action requirements
  • Verify file paths are correct (no typos)

Shortcuts Debugging

  • Use the "Play" button to step through actions
  • Check action outputs by looking at results
  • Use "Comment" action to add debug notes

My Top 5 Automations

Here are the automations I consider essential:

  1. Downloads Organizer: Automatically sorts downloads by file type
  2. Batch Image Resize: Quick resize for web uploads
  3. PDF Merger: Combine multiple PDFs into one
  4. Daily Backup: Copies important folders to backup location
  5. Screenshot to Notes: Every screenshot goes to a daily note

Learning Resources

To learn more about Mac automation:

  • Apple's Automator User Guide: Free in Apple Books
  • MacStories: Excellent Shortcuts tutorials and templates
  • Reddit r/shortcuts: Community sharing shortcuts
  • YouTube: Search for "Automator Mac tutorial"

Conclusion

Mac automation isn't about replacing your work—it's about eliminating the tedium. The 20 minutes you spend creating an automation saves you hundreds of hours over its lifetime. And unlike human labor, Automator workflows never forget a step or get tired.

I encourage you to identify one repetitive task in your daily workflow and automate it this week. It doesn't have to be perfect—it just has to work. Once you experience the satisfaction of watching your Mac handle tedious work automatically, you'll start seeing automation opportunities everywhere.

Alex Thompson

Alex Thompson

Mac trainer and Apple certified consultant with 15 years of experience. He helps individuals and businesses get the most from their Apple devices through training and consulting.