Action

Fantastical + [[UUID]]

Posted by Tethys, Last update over 6 years 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.

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
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.