I’m currently following the Level 1 n8n course (chapter 5.6) and I’m stuck at the step where we send a message to a Discord channel using the Discord Webhook node.
I realize now that my URL is pointing to an n8n webhook (internal.users.n8n.cloud/…) instead of a Discord webhook(discord.com/api/webhooks/…).
So, I tried running the workflow using the webhook from one of my personal Discord servers. With that webhook, the workflow worked perfectly.
This confirmed that the Discord webhook URL provided in the n8n course email is not the correct one.
Could you please provide me with the correct webhook URL for the Course 1 Discord channel, so I can complete the training?
Since the course email URL won’t work for Discord, the easiest way to continue the exercise is to create your own Discord server and channel, generate a webhook for that channel, and use it in your workflow.
I tested it just now. If yours is the same, it means that your formatting is wrong (it’s very strictly checked). This is my syntax, copy it exactly if you need to:
This week we've {{$json["totalBooked"]}} booked orders with a total value of {{$json["bookedSum"]}}. My Unique ID: {{ $('HTTP Request').params["headerParameters"]["parameters"][0]["value"] }}
I already tried replacing the webhook URL with one from my own Discord server, and it worked — the message arrives correctly in my server. However, in order to complete the training, I need to send the message to the course-1 channel of the n8n server…
I was able to identify the problem thanks to your message. It was an issue with the text formatting — missing a space before the expression showing my unique ID.
bad syntax :
This week we’ve {{$json[“totalBooked”]}} booked orders with a total value of {{$json[“bookedSum”]}}. My Unique ID:{{ $(‘ABCorp’s data warehouse Request’).params[“headerParameters”][“parameters”][0][“value”] }}
Good syntax :
This week we’ve {{$json[“totalBooked”]}} booked orders with a total value of {{$json[“bookedSum”]}}. My Unique ID: {{ $(‘ABCorp’s data warehouse Request’).params[“headerParameters”][“parameters”][0][“value”] }}