Since the Drafts application offers integrated URL support, many of its functions, such as creating a new document, can be triggered from other applications like those supporting Omni Automation: OmniGraffle and OmniOutliner.
Here are links to automation documentation for the Drafts app:
And here are examples of using Omni Automation with the Drafts app. They are designed using the JavaScript Action Templates provided here.
NOTE: because of similarities in the design and implementation of their scripting implementations, some of these examples also work with the 1Writer app, and are marked accordingly.
Synopsis: An example of “round-tripping” data, this workflow copies the text from the selected OmniGraffle graphic to a new Drafts document, and processes the transfered text with a Drafts action that ends by replacing the text in the graphic with the processed text.
Synopsis: The tab-indented paragraphs of the Drafts document are appended to the current OmniOutliner outline as a rows, using the tab indents to determine a row’s position in the outline hierarchy.
Workflow → OmniGraffle → Drafts → OmniGraffle → Mail
Synopsis: A complete end-to-end workflow where the Workflow app creates a new business letter addressed to a chosen person from your address book, edited using dictation in Drafts, and signed and sent via email as a PDF document from within OmniGraffle.
UNDER CONSTRUCTION
This webpage is in the process of being developed. Any content may change and may not be accurate or complete at this time.