Create Drafts Action with Optional Bear ID

Hi,

The idea is to write in Drafts with a link to a Bear.app note and then to send it say to Day One.

  • Bear syntax is: bear://x-callback-url/open-note?id=

  • Bear note ID is say: CD47ADAA-585E-4D74-BDB4-2B9D733087C3-16750-000051E3EC29CFFA

  • Resulting link to Bear note is say: See Bear

So, my question : how do i build an action to be self-applied into Drafts so that:

  1. Default part is : bear://x-callback-url/open-note?id=
  2. Prompt to enter : [See Bear] (or any text I want to name my Bear Reference)
  3. Prompt to add Bear note ID between parentheses
  4. Return to current Drafts document with: See Bear

Hope that’s clear.
I’m just starting my annual subscription to Drafts 5 :smile:
Thanks.