I try to build Dynamic Notifications, my payload have to look like this:
{
"extras": {
"client::display": {
"contentType": "text/markdown"
},
"client::notification": {
"click": {"url": "$URL" }
}
},
"message": "$MESSAGE.",
"priority": 3,
"title": "$TITLE"
}
as inputs i have for example a "msg.url" wich contains the url of a service
- $URL in my payload should be replaced by msg.url
- the $MESSAGE should be replaced with "msg.text" wich contains the text
- $TITLE should be replaced with the content from msg.title
Played arround with the JSON node, function node and googled, after an hour of try and error i hope that someone can bring me in the right direction