Briefing template for notifications

This Topic concerns a question raised by the following topic:

How do you setup a file like this? I’ve tried several things but they all return a config file error.

I’d like to create a similar file, save it somewhere and whenever i use a notify or tts action i can add these macro’s in my message, like:

      message: {{ greeting(person) }} , {{ locationupdate() }}

so this works:

but the same thing doesn’t work when i put this as a message template value: