Passing msg.payload or to Notification


Trying to set up notification after a get entity state, where it dynamically puts the output of $msg.payload, and $ into this format. However the notify doesn’t recognize the information getting passed to it.

I tried using the template node to format it this way, which works in a debug output. However I can’t then get the notify node to accept {{msg.payload}} as the “data” field.

Any suggestions?

“message”: {{}},
“title”: {{msg.payload}}

I’m no expert, but try (notice the quotes):

“message”: “{{data}}”,
“title”: “{{payload}}”

It’s always better to post more of what you have to make sure there is no confusions of how your sequence is set up.


  "title": msg.payload

Works if everything else is correct.

1 Like