Best notification app on android?

You can apparently send an image through discord using the same webhook, but I haven't got to it yet. It seems easy enough, but I haven't figured out the correct syntax for the http request node's "file upload".

To get started, you make a Discord account and create a "server" (not a real server, but that's what they call a chat room). There will be a default channel called "general" which you can use or create a new channel. Right click on the server icon (left pane) and go to server settings --> integrations --> webhooks. Give it a name and copy the URL that it generates. This is the URL you put in your http request node. If you do a GET request on this URL, it will return a JSON string containing the auth token and all the other parameters you need to configure a change node that feeds into your http request node.

You could do the initial request in node-red and pass the returned values to more nodes to be processed, but since the values never change, I just do a GET in my browser and manually copy/paste the values into a change node which pipes into an http request node that goes off to discord.

I believe there are a couple of discord node-red modules available which might make it easier, but I haven't tried them because it's easy enough to do it this way.

I could post the flow if you really want it, but since there are a lot of personal values in there, it would take some time to sanitize and I want to go to bed. It did take me a bit to figure out how to properly write the JSONata payload (this helped).

The discord developer docs were also helpful.

Let me know if you need the flow or some screenshots and I might get to it later.

1 Like