I have a template called “foo” and every time I apply this specific template I want it to run a hook. The docs on hooks is very unclear and I can’t figure out how to specify which template I want to run another command; it seems right now that the hooks command is to run the hook on ALL templates.
My workflow is like this:
I use Zotero Integration to get a list of all my pdf annotations from Zotero; the plugin makes a new note and automatically puts into a folder called “Annotations”.
I then run a shell script to process all those into a specific format and separate files for each.
I want to be able to just add the “foo” template when the zotero note is created, and have it automatically trigger the script (I’m using shell commands plugin). Bonus points if this can happen automatically when the new annotations note is created in the “Annotations” folder.