Link Search Menu Expand Document
Table of contents
  1. Flow - dropennew
    1. Description
    2. Variables
      1. Used
      2. Created
    3. Termination
    4. Flow
    5. Notes

Flow - dropennew

Description

Creates a new draft in Drafts using a URL scheme, and so will bring the Drafts application to the foreground with the new draft loaded. The flow supports prefixing all lines with additional text. This can be useful for setting up Markdown lists (numbered or bulleted) for example. It also supports the execution of a Drafts action on the new draft.

Variables

Used

The following variables can be passed in and will be processed by the flow.

Variable Description
query * The base content to populate the new draft with.
action The name of an action to execute on the new draft once it has been created.
prefix The text to prepend to each content line.

* These are mandatory for triggering this flow.

Created

The following variables are set-up by the flow.

Variable Description
content The (modified) content to populate the new draft with.
NotificationTitle The title to be shown in any completion notification.
NotificationMessage The message to be shown in any completion notification.

Termination

Flow

dropennew

Notes

  • Supports new lines from Alfred input as “\n”.
  • Supports tab characters from Alfred input as “\t”.