Building Custom Perspectives and Using Focus in OmniFocus Pro
Create saved views that answer precise questions, and use Focus to narrow the whole database to one area of work.
Read the full guideMuch of the work involved in managing tasks is repetitive: creating the same project structure every month, applying the same tags to certain types of request, or opening the same perspective at the start of each day. OmniFocus offers several layers of automation to remove this repetition. This guide explains Shortcuts and Siri, Omni Automation plug-ins, AppleScript on the Mac and project templates, with practical examples of each.
You do not need to use every option. Many people gain most of the benefit from a few well-chosen Shortcuts and one or two plug-ins.
Recent releases of OmniFocus 4 added a broad set of Shortcuts actions. These let you create actions and projects, set tags and dates, find items that match criteria and open specific perspectives, all as steps within a larger Shortcut.
Create a Shortcut that asks for a person's name and a list of follow-up items, then adds each item to OmniFocus with that person's tag and a defer date of tomorrow. After a meeting, run the Shortcut from the Home Screen, the menu bar or by voice, and your follow-ups are captured in seconds.
Combine a Shortcut that opens your Today perspective with a personal automation triggered at a set time each weekday. When you sit down, OmniFocus is already showing the day's plan.
Siri can trigger any Shortcut by voice, which makes hands-free capture straightforward. Saying the name of a capture Shortcut while driving or cooking adds an item to your Inbox without touching the device. On Apple Watch, dictation offers a similar experience directly from the wrist.
Omni Automation is The Omni Group's JavaScript scripting environment, shared across its applications. In OmniFocus, it provides access to tasks, projects, folders, tags and perspectives through a well-documented object model. Scripts can be packaged as plug-ins, which appear as commands in menus and in Quick Open.
The great advantage of Omni Automation is that a plug-in written once runs identically on Mac, iPhone, iPad and Vision Pro. A command you build on the Mac is available on your iPhone as soon as the plug-in syncs.
Plug-ins are files with an omnifocusjs extension. Open one on any device and OmniFocus offers to install it. You can also place plug-ins in the designated folder in iCloud Drive so they are shared across devices. Once installed, plug-ins appear in the Automation menu on the Mac and in the automation section of the toolbar on iPhone and iPad.
The Omni Group maintains extensive documentation and a library of example plug-ins on its automation website, and an active community shares many more. Always read a plug-in's description before installing it, and install only from sources you trust.
AppleScript has supported OmniFocus on the Mac for many years and remains valuable for connecting it to other applications. With AppleScript you can create tasks from selected messages in Mail, build projects from rows in a spreadsheet or export completed items to a text file. Scripts can be run from the Script menu, attached to keyboard shortcuts or called from Shortcuts on the Mac.
If you are starting fresh, Omni Automation is usually the better choice because it works on every platform. AppleScript is most useful when you need to communicate with Mac applications that do not support Omni Automation.
Recurring projects such as client onboarding, event planning or monthly reporting follow the same steps each time. Templates save you from rebuilding them.
OmniFocus understands the plain-text TaskPaper format. A line ending with a colon becomes a project, lines starting with a hyphen become actions, and tags written with the @ symbol become OmniFocus tags, including dates such as @due and @defer. Keep your template as text in a note or file, paste it into OmniFocus and the structure appears instantly.
Pro users can install an Omni Automation template plug-in. You store template projects in a dedicated folder, and the plug-in asks for values such as a client name or event date, then creates a fresh project with those values filled in and dates calculated relative to the chosen date. This approach is ideal for complex projects with many dated steps.
Start small: identify the single most repetitive task in your week and automate only that. Once it works reliably, look for the next opportunity.
OmniFocus supports links that open specific items, projects or perspectives. You can copy a link to any item and paste it into a note, document or calendar event. Selecting the link later opens OmniFocus at exactly that item. This is a lightweight form of automation that keeps related information connected across applications.
Automation works best alongside a clear system of perspectives and tags. A plug-in that adds a Waiting For tag is only useful if you have a perspective that shows Waiting For items. Our guide to custom perspectives and Focus explains how to build those views, and the article on projects and folders describes how to structure templates within your outline.
For more on backups and data protection, read our guide to OmniFocus sync, encryption and privacy.
If you are unsure where to begin, the following ideas deliver noticeable value with modest effort. Each can be built with Shortcuts alone or extended later with an Omni Automation plug-in.
On the Mac, a script or Shortcut can take the selected message in Mail, create an action with the subject as its title, place a link to the message in the note and apply an Email tag. When you return to the task, the original message is one step away.
A plug-in can gather every action completed in the last seven days, group it by project and copy the result to the clipboard as formatted text. Paste it into a status update, and a task that once took twenty minutes takes seconds.
When a launch slips by a week, every dated action in the project needs adjusting. A plug-in that moves all selected dates forward by a chosen number of days handles this cleanly, preserving the spacing between steps.
Keep a packing and preparation checklist as TaskPaper text. A Shortcut asks for the destination and departure date, inserts them into the text and passes it to OmniFocus, creating a complete travel project with sensible defer dates.
A Shortcut can open the Inbox, then the Forecast for tomorrow, then a Waiting For perspective in sequence. Running it at the end of the working day creates a consistent shutdown ritual that leaves nothing unresolved.
You do not need to be a professional developer to write useful plug-ins. Omni Automation uses standard JavaScript, and The Omni Group publishes tutorials, reference documentation and an interactive console where you can try commands against your own data. Beginning with a small modification to an existing example is often the easiest route. Over time, you will recognise common patterns, such as looping through selected tasks or reading the contents of a perspective, and build more ambitious tools with confidence.
Shortcuts and Siri work in both Standard and Pro. Omni Automation plug-ins, AppleScript and template creation are part of Pro, which also includes custom perspectives and Focus. A subscription unlocks Pro automatically. If automation is important to you, the 14-day trial, which includes Pro features, is an excellent way to test your ideas before committing.
Automation lets OmniFocus handle the repetitive parts of task management so you can concentrate on the work itself. Shortcuts and Siri provide quick wins for capture and daily routines on every device. Omni Automation plug-ins add powerful, cross-platform commands for batch editing, reporting and templates. AppleScript connects OmniFocus with other Mac applications, and TaskPaper text offers a simple way to reuse project structures. Begin with one well-chosen automation, test it carefully and build gradually, and you will save time every week.