Is it possible to insert text from another draft through an action?
My use case: I keep various templates in one workspace within Drafts (meeting note, literature note, etc…) and would like to have actions to retrieve the content of a specific template and insert it into the current draft.
Is this possible?
I know, Drafts has a template system to retrieve template files from within the Finder/Files App but I would like to use Drafts itself as a repo for my templates because that way I can easily call them from the Shortcuts App to use in other automations as well.
Tag each of those drafts with a tag (e.g. “Client Ref”)
Create an action using the “New draft with Template” functionality to list out the drafts with the tag “Client Ref”
Find a way to add the content of the selected draft where the cursor is, instead of creating a new draft from the selection, which is what the “New draft with Template” function does currently.
Is my approach above the best way to do this? Is there a better way?
Are you inserting the full content of the draft? Autocomplete has built-in support for inserting other drafts. Just type << and you’ll get a drop-down. Keep typing to filter list, select one, and it’s contents will be inserted at the cursor.