On 12/04/2023 10:46, Marcin Borkowski wrote:
I'd like to perform some actions after a successful capture. I know about `org-capture-.*-finalize-hook's, and I think `org-capture-after-finalize-hook' is the one I need, but I need to decide what action to take depending on the capture template used. How can I access it?
It does not respond to your question directly, but capture templates may have the :after-finalize property. In some cases it should allow to define a template-specific action.
(info "(org) Template elements") https://orgmode.org/manual/Template-elements.html 10.1.3.1 Template elements