X-callback-url to create Inbox item without item details screen

I’m using Drafts 5 to create OmniFocus 2 for iOS Inbox items using x-callback-url. I’m using a URL of:

omnifocus:///add?name=[[title]]&note=[[body]]&due=[[prompt_button]]%2021:00&defer=[[prompt_button]]&reveal-new-item=false

Submitting that URL properly opens the create item screen and fills in the passed in details. However, I then have to manually click “Save” to save the new item to the Inbox and return to Drafts. Is there anything I can add to the URL to have it immediately save the new inbox item?

Thanks!

1 Like

Hmmm. Neither the https://inside.omnifocus.com/url-schemes or the Implementation Details for OmniFocus 2.14 Automation documentation mention the saving of a task.

It seems that a project can be auto-saved:
https://omni-automation.com/omnioutliner/app-to-app-04.html

But not a task:
https://omni-automation.com/omnioutliner/app-to-app-02.html
https://omni-automation.com/omnioutliner/app-to-app-03.html

Note: it seems sending URLs via Omni Automation are broken on macOS so the examples are shown are on iOS only.

I think you can add &autosave=true - it was discussed in the forums in the past, but isn’t documented on that article page.

ScottyJ

6 Likes

That worked! Thank you!

2 Likes