Skip to main content

macOS Workflow Automation: Run Scripts with Pre-Run Approval & Live Output

Henry AGI
7 min readNov 2026
macOS Workflow Automation: Run Scripts with Pre-Run Approval & Live Output

When a shell script inside a longer routine hangs or exits with an error, the hard part is seeing what it printed and where it stopped. DockRun Workflows are designed for macOS users and developers who want multi-step automation with explicit script confirmation, live streaming output, and step-by-step failure diagnostics.

Chaining Multi-Step Routines Without Black-Box Failures

A daily routine on macOS is rarely a single command. For example, a 'Start my day' workflow might sync your calendar via a zsh script, check today's tasks, copy the summary to your clipboard, and open Calculator or your notes app.

In DockRun, each action is a discrete step with its own condition ('Run if: Always', 'Previous Step Succeeded' or 'Previous Step Failed') and its own time limit. As the workflow runs, you watch each step tick off in real time alongside its live stdout stream.

DockRun
DockRun workflow automation builder on macOS running a multi-step zsh script with pre-run approval and live terminal output
Chaining steps in DockRun Workflows on macOS with a live script output console and step-by-step progress indicators.

Safety First: Why Script Steps Ask Before They Run

Running scripts blindly is a security risk. DockRun asks before it runs a script step (zsh, bash, AppleScript, python, node, ruby, perl).

Before the script runs, DockRun shows which workflow and step want to run and what they will do. You can approve it once, or tick 'Don't ask again for this exact step' for a routine you trust.

Related guideHow to Have Multiple Docks on Mac: Left, Right & Bottom Edge Setup

Activity Log & Step-Level Failure Inspector

When an automated backup or build script fails at 2:00 PM, you need to know two things immediately: what triggered the run, and which step broke. DockRun's Activity view logs every workflow and workspace run along with its trigger source — Command Palette, Dock click, Global Shortcut, or Schedule.

DockRun
DockRun Activity Log showing workflow execution history, trigger source, and exact step error diagnostics on Mac
Inspecting a failed workflow run in DockRun Activity Log to see the exact step, exit code, and error message.

Clicking any failed run opens the exact step that failed (for example, 'Step 1: Copy notes to the backup drive — Backup drive /Volumes/Backup was not mounted') with its error message and what the script printed.

Trigger Workflows from Your Dock, Palette, Shortcut, or Schedule

Once you build a workflow in DockRun, you can pin it directly to any floating dock, launch it by name in the ⌥Space Command Palette, or, with Pro, bind it to a global shortcut or run it on a schedule or when an event happens.

Try building your first automated workflow today — download DockRun for macOS or explore the full Pro feature set on our pricing page.

Your Mac, one command away.

Open entire workspaces in one click, add docks to any screen edge, and automate routines safely on macOS.

Download for macOS

Already have DockRun? Read the setup guide →

New to DockRun? See pricing →

Frequently asked

Which scripting languages are supported in DockRun Workflows?

DockRun natively supports zsh, bash, AppleScript, Python, Node.js, Ruby, and Perl. You can either write inline script code or point the step to an external script file with custom arguments.

Can I pass output from one script step to the next step?

Yes. Using the Insert Token menu in the workflow editor, subsequent steps can read the stdout printed by an earlier script step or copy it directly to your clipboard.

What happens if a script hangs or takes too long?

Every step has a time limit. When it runs out, the step is stopped and marked as failed, and the step's failure setting decides whether the workflow stops or carries on.

Does DockRun log runs triggered by keyboard shortcuts and schedules?

Yes. The Activity tab records every run and where it came from: the Command Palette, a dock icon, a keyboard shortcut or a schedule. Shortcuts and schedules are part of Pro.

Curious if DockRun is right for you?

Let ChatGPT, Claude, or Perplexity look into it - click below and see what AI actually thinks about DockRun.