Notification when item arrives in InBox?

I am using integration with Mail, Zapier (for Github issues), and others which result in items being sent to my OF inbox – sometimes, without me knowing it.

Is there any way to have OF notify me when a new item has landed in the Inbox?


I can’t think of one.

If you are working in OF already, notice a thin bar of color to the left of the Inbox perspective icon in the sidebar when the inbox has one or more tasks.

From outside OF, you could use the following script by Jered Benoit (link from original included but no longer working) to set an alarm at regular intervals to check your inbox. Or try to get Zapier et al. to do one more action based on the same trigger, such as email you AND text 1234 to your phone.

-- set this as a Calendar alarm (with option of running AppleScript) once or twice a day

tell front document of application "OmniFocus"
	set oldTasks to inbox tasks whose its creation date < (current date)
	set inboxCount to count of oldTasks
	if inboxCount > 0 then
		if inboxCount > 1 then
			display dialog "Time to clean out the inbox. " & (inboxCount as string) & " tasks are waiting." buttons {"OK"} default button 1
			display dialog "Time to clean out the inbox. " & (inboxCount as string) & " task is waiting." buttons {"OK"} default button 1
		end if
		error number -128
	end if
end tell