I use NodeRed and have a node to call the notify service with the following data:
{
"title": "{{title}}",
"message": "{{message}}",
"data": {
"data": {
"ttl": "0",
"priority": "high"
},
"group": "{{group}}",
"tag": "{{tag}}",
"color": "{{color}}",
"sticky": "{{sticky}}",
"clickAction": "{{clickaction}}",
"channel": "{{channel}}",
"image": "{{image}}",
"importance": "{{importance}}",
"persistent": "{{persistent}}",
"timeout": "{{timeout}}",
"actions": [
{
"action": "{{action1}}",
"title": "{{actiontitle1}}"
},
{
"action": "{{action2}}",
"title": "{{actiontitle2}}"
},
{
"action": "{{action3}}",
"title": "{{actiontitle3}}"
}
]
}
}
This lets me use a change node or something else to just set msg.group, msg.tag, msg.timeout, etc. Notice that ttl: 0 and priority: high are hard coded.