# 6. Notifying the Team

In this step of the workflow you will learn how to send messages to a Discord channel using the Discord node.

Now that you have a calculated summary of the booked orders you need to notify Nathan’s team in their Discord channel. n8n has a Discord node that allows you to send messages. We'll be sending the messages to the n8n server (opens new window) on Discord.

πŸ’‘ Communication nodes

You can replace the Discord node with another communication app. For example, n8n also has nodes for Slack (opens new window) and Mattermost (opens new window).

In your workflow, add a Discord node connected to the Function node. In the Discord node window, configure the parameters:

  • Webhook URL: Please use the URL that you received in the email upon signing up.
  • Text (Expression): This week we have {{$json["totalBooked"]}} booked orders with a total value of {{$json["bookedSum"]}}. My Unique ID: {{$node["HTTP Request"].parameter["headerParametersUi"]["parameter"][0]["value"]}}
Discord node expression
Discord node expression

Now execute the Discord node and if all works well, you should get a message in Discord:

Discord message
Discord message

# What's next?

Nathan πŸ™‹: Incredible, you've saved me so many hours of tedious work already! Now I can simply execute this workflow when I need it. I just need to remember to run it every Monday morning at 9 am...

You πŸ‘©β€πŸ”§: Don't worry about that, you can actually schedule the workflow to run on a specific day, time, or interval. I'll set this up in the next step.