Creating a Hotkey Workflow

One type of workflow actions we love is hotkeys. With a hotkey, you can launch an application or file in an instant.

What can I use hotkeys for?

Hotkeys can trigger a wide range of actions:

  • Launch one or more applications, open folders or files with just a hotkey combination
  • Pop up Alfred with a keyword pre-filled
  • Launch a script or AppleScript to perform an action

Creating a hotkey workflow

In this tutorial, I'll create a simple hotkey workflow to launch a few of the applications I use many times a day.

Launch Alfred's preferences to the Workflows tab. Click the + button in the bottom left of the preferences and select Templates > Files & Apps > Launch file group from hotkey.

Hotkey Workflow Template

When the "Details" tab slides down, give your workflow a name and a bundle ID, which uniquely identifies the workflow. Optionally, you can also drag an icon to the square on the left.


Double-click the "Hotkey" object and type in the hotkey you want to use. I've set Cmd + Ctrl + i here. Click "Save" to close.

Hotkey setting

For more details on the Action and Argument settings in this preference pane, see the Hotkey Triggers page.

Next, double-click on the object to the right, the "Launch Apps/Files" object. Drop the application, folder or file you'd like to launch with your hotkey.

In this case, I've searched for iTunes using Alfred and dragged it directly from Alfred's search results to the dropdown. Click "Save" once you've added the applications or files you want to launch.

Launch iTunes

You can select multiple applications or files to launch at once. For example, if you're editing photos, you may want Photos, Aperture and Safari launched at once, in which case you would simply drag all three to this window.

I now have a single hotkey launching a single application, so I could stop here. However, I'd like to add more applications and hotkeys to this particular workflow. To add to your existing workflow, click the + button at the top right of the current workflow to add two items:

  • Triggers > Hotkey
  • Action > Launch Apps / Files

Set the hotkey and choose your application, as per the steps above.

Now we need to connect the hotkey to the second object. Hover over the hotkey until it becomes highlighted and a little handle appears on its right side. Click and hold the handle, then keep dragging until a line connects to the second object.

Dragging to connect

You can add as many of these hotkeys as you need for your most common applications and files, or you can connect the hotkeys to various other actions.

Discover more Alfred features

Take a look at the Guides and Tutorials page for more great tips on using Alfred.

Latest Blog Post: Alfred 2.8.1 Released: Compatibility improvements for OS X El Capitan and performance enhancements
CacheFly Campaign Monitor

"Alfred" is a registered trademark of Running with Crayons Ltd. ©2015 Running with Crayons Ltd. All rights reserved.

Terms & Conditions, Privacy Policy, Cookies.