Link Search Menu Expand Document
Table of contents
  1. Flow - dropenuuid
    1. Description
    2. Variables
      1. Used
      2. Created
    3. Termination
    4. Flow
    5. Scripting
      1. Sample Code (AppleScript)
      2. URL
    6. Notes

Flow - dropenuuid

Description

Receives a draft UUID, and then triggers bringing the Drafts app to the foreground and loading the draft with the specified UUID into the editor. Will also run an action on the draft, if one has been specified.

Variables

Used

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

Variable Description
query * The UUID of the draft to be opened.
action The name of an action to be run.

* These are mandatory for triggering this flow.

Created

The following variables are set-up by the flow.

Variable Description
NotificationTitle The title to be shown in any completion notification.
NotificationMessage The message to be shown in any completion notification.

Termination

Flow

dropenuuid

Scripting

Sample Code (AppleScript)

tell application id "com.runningwithcrayons.Alfred" to run trigger "dropenuuid" in workflow "com.thoughtasylum.doctordrafts" with argument "60348DD9-C3B3-4CFF-891F-E749CBED1E40"

URL

alfred://runtrigger/com.thoughtasylum.doctordrafts/dropenuuid/?argument=60348DD9-C3B3-4CFF-891F-E749CBED1E40

Notes

  • None.