TextExpander Snippet Expansion *within* a URL Scheme Action?

I’d like to use the “drafts://x-callback-url/create?text=” URL to create a new Draft – super simple. But I’d like to have the text in that URL be a TextExpander snippet that would then expand in the Drafts app.

I tried encoding the drafts:// URL and the snippet abbreviation text, but that didn’t work for me. I was left with a new draft that only had the TE abbreviation typed out (but not expanded).

Any ideas how to make this work? Is it even possible?

It is not possible at all on Mac.

On iOS, you theoretically could accomplish this by way of an action, but it cannot be done directly via the /create URL scheme.

You might look at the tip below for a flow to create new drafts based on templates. This action evaluates the template content creating the new draft, so could expand TextExpander snippets on iOS using the <<snippet>> syntax (see template tag docs).

1 Like

Awesome, thank you so much for sharing that!