Discord Notification Blank Message

I have set up monitors for discord using webhook, however when the alert triggers the discord message is blank. The messages via email seem to work correctly.

https://www.imghippo.com/i/rrwJ7023yM.png

My settings on Distill for the notification have not been modified and i am using the standard preset. See below image for reference

https://www.imghippo.com/i/JAgc7557sY.png

Any help would be really appreciated!

the screenshot shows that a raw webhook is being used. the webhook must contain content field.

can you try using distill provided webhook specifically for discord? that should be easier to configure and show better preview by default.

Thanks for replying!

So i used the default ‘Discord’ action and it seems to be working just like the emails. I guess my next question is how do i send and reformat the raw webhook to discord?

I’d like to use the ‘Webhook Call’ action so i can format the data a little. For example i’d like to have the Distill title of the monitor sent over and my label.

In the documentation i found this. The following values can be used in the webhook parameter’s field.

  1. {{sieve.id}} - Id of the monitor.
  2. {{sieve.name}} - Name of the monitor.
  3. {{sieve.tags}} - The label of the monitor. This only works in cloud.
  4. {{sieve.uri}} - URL of the monitor.
  5. {{sieve_data.text}} - Text value of the monitor.
  6. {{sieve_data.ts}} - Timestamp when change was detected.
  7. {{sieve_data.data}} - HTML data of the monitor.

When i used the webhook call originally by default alot of these params were being used but as you can see the message on discord was blank. Am i missing something really obvious lol

Thank you for your help so far!

discord webhook reads content in the data and uses that to render the message’s body. you can rename name in the list of fields to content and remove everything else. here is an example:

note that you can change the value to have a prefix or suffix too.