Pass user Id to node-red-node-pushover with msg property is possible?

Good day everyone, I would need to send push notifications via Pushover, unfortunately the node-red-node-pushover node does not seem to allow you to send the user id via msg dynamically as for the other parameters but only to set it in the property.
Is it really so? If so and then I could not use the node for my purpose, how can I create a flow to make the pushover API call correctly, should I use an http request?
Thanks in advance for the valuable answers.

You should be able to use the pushover api with the http request block
https://pushover.net/api#messages

1 Like

You are true, I had already read the documentation, but what I did not understand, (for my ignorance) is how to pass the json file prepared via http put request. PS thanks for your reply.

PPS: I'm reading the documentation and maybe I didn't understand how to set the request, where should I enter the various parameters?

example

[{"id":"aa52642e.36932","type":"inject","z":"190c8195.72b3be","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"token\":\"azGDORePK8gMaC0QOYAMyEEuzJnyUi\",\"user\":\"uQiRzpo4DXghDmr9QzzfQu27cmVRsG\",\"device\":\"droid4\",\"title\":\"Backup finished - SQL1\",\"message\":\"Backup of database \\\"example\\\" finished in 16 minutes.\"}","payloadType":"json","x":200,"y":1060,"wires":[["41c2f8e4.f2e028"]]},{"id":"41c2f8e4.f2e028","type":"http request","z":"190c8195.72b3be","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"https://api.pushover.net/1/messages.json","tls":"","persist":false,"proxy":"","authType":"","x":430,"y":1040,"wires":[["810c61c9.ea902"]]},{"id":"810c61c9.ea902","type":"debug","z":"190c8195.72b3be","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":640,"y":1040,"wires":[]}]
1 Like

Thanks a lot, of course it was simpler than I imagined, I hope this can help other novice users like me.
Thanks again for your invaluable help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.