I am trying to learn keyboard maestro. I use the daily notes feature on obsidian and have managed to make an automation which appends the last selected mail link (from mail app) to a daily note. So, it prompts me for a date - then generates a link for the mail link and then appends the mail link to the note with the date I entered.
Does anyone know if it is possible to append these links in a certain part of the file - e.g. after a ‘## Emails’ heading?
I think I might have to ‘read the file’ and search with regex, but beyond this I’m a bit stumped.