Drafts Action Directory

Fantastical + [[UUID]]

Posted by Tethys, Last update 3 months ago
  • Sends first line of Draft to be parsed as a Natural Language event in Fantastical app.

  • Places the Draft UUID as an x-callback-url in Fantastical.

  • On complete Draft is directly Archived (without asking for a prompt).

USAGE: The UUID link placement in Fantastical provides direct reference to an Archived note in Drafts—such as long form notes, checklists, multimarkdown tables, etc.

Install

Steps

  • callbackUrl

    template
    fantastical2://x-callback-url/parse/?sentence=[[title]]&url=drafts5://x-callback-url/open?uuid=[[uuid]]
    waitForResponse
    true
    encodeTags
    true
  • script

    // Auto-Archives draft, opens editor to new draft
    
    {
    	draft.isArchived = true;
    	draft.update();
    	editor.new();
    	editor.activate();
    }

Options

  • After Success Default
    Notification Info
    Log Level Info

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.