Open Draft URL template tag not working


#1

I am having an issue whereby the [[draft_open_url]] template tag is not working in the x-callback-url action. For example, the following url just creates a blank draft:

drafts5://x-callback-url/create?text=[[draft_open_url]]

Any ideas if I am doing something wrong?


#2

You know, it seems that tag is not working at all. Surprised that never got caught in the beta cycle - will fix for the 5.2 release.

In the meantime you could do:

drafts5://create?text={{drafts5://open?uuid=}}[[uuid]]

Note: I would just use a URL step, not a callback-url step, calling Drafts’ own URLs - no need to wait for a response from the app.