Categories:
AutomationCapture
Platforms: Mac

Hazel

Using Hazel for Mac and AppleScript or Apple Shortcuts, actions can be automatically created in OmniFocus for Mac as files are moved to specific folders.

App Description

Hazel can be configured to watch specific folders on your Mac and perform actions based on their contents. For example, when a file named “BC Hydro Invoice.pdf” shows up in your Downloads folder, Hazel can automatically rename it to something like “2025-06-05 – BC Hydro – Invoice” and then move it to a folder called “2025” within your “BC Hydro” folder. This automation provides a high level of convenience and ensures that your files are accurately and consistently named and filed.

In addition to moving and renaming files, Hazel allows you to trigger an AppleScript or Apple Shortcuts shortcut automatically. This makes it possible to automatically create OmniFocus actions as files are added to specific folders. The above example could be taken a step further. In addition to renaming and filing the invoice from BC Hydro, a “Pay: BC Hydro invoice” action could automatically be added to OmniFocus to ensure the invoice is paid and the lights stay on. 💡

Hazel Resources

MacSparky Post — David Sparks wrote a post called Create OmniFocus Tasks With AppleScript that provides detailed instructions for creating OmniFocus actions using Hazel. Copy and paste David’s script and modify it to suit your needs.

Hazel Video Field Guide — David Sparks also has an in-depth Hazel Video Field Guide that teaches you everything you need to know about Hazel. You can watch 30 minutes free of charge and then purchase the full guide if you want to delve deeper.

Hazel Articles & Reviews — Noodlesoft, the developer of Hazel, has a page on their website that references a growing collection of Hazel-related articles and reviews.

Learn OmniFocus Content Featuring Hazel

FREE
Live Session

2021-11-10 – OmniFocus Workflows with Mike Burke

  • iMac
  • iPad
  • iPhone
Intermediate
Live Session

2015-04-25 – Automating OmniFocus

  • iMac
  • iPad
  • iPhone
Intermediate
FREE
Live Session

2015-03-14 – Taming Email with OmniFocus

  • iMac
  • iPad
Intermediate