Discord webhook embeds

Hello!

I was setting up a workflow with the Discord node. I wanted to use an embed but couldn’t figure out what to put in the box. Discord’s documentation was pretty good but no matter how I tried to use it n8n would say invalid JSON. Could somebody give me a small example of how to use this?

Thanks

Hi @mrhappyma, welcome to the community!

Tbh, I struggled with this as well in the past and at some point gave up and simply used the HTTP Request node over the Discord one for this.

Following your post I have looked into this a bit closer and it seems the Discord node expects an array-like string with one or more embeds. So something like this would work:

This workflow posts a message like this:

image

2 Likes