diff --git a/docs/nodes/credentials/Discord/README.md b/docs/nodes/credentials/Discord/README.md index 5778f8b88..f612f79c3 100644 --- a/docs/nodes/credentials/Discord/README.md +++ b/docs/nodes/credentials/Discord/README.md @@ -10,13 +10,23 @@ You can find information about the operations supported by the Discord node on t Create a [Discord](https://www.discord.com/) account. -## Using OAuth +## Create a webhook in Discord + +1. To create a webhook in Discord that sends content to your channel, go to the settings of your channel. +2. Select 'Webhooks' from the sidebar. +3. Click on 'Create Webhook'. +4. Name your bot, copy the 'Webhook URL', and click on the ***Save*** button. +4. Back in n8n, use the Webhook URL in your Discord Node. + +![How to create a webhook in Discord](./gif-of-webhooks-in-discord.gif) + + diff --git a/docs/nodes/credentials/Discord/gif-of-webhooks-in-discord.gif b/docs/nodes/credentials/Discord/gif-of-webhooks-in-discord.gif new file mode 100644 index 000000000..b9d417d12 Binary files /dev/null and b/docs/nodes/credentials/Discord/gif-of-webhooks-in-discord.gif differ diff --git a/docs/nodes/nodes-library/nodes/Discord/README.md b/docs/nodes/nodes-library/nodes/Discord/README.md index 25c9b9004..c635d450c 100644 --- a/docs/nodes/nodes-library/nodes/Discord/README.md +++ b/docs/nodes/nodes-library/nodes/Discord/README.md @@ -4,10 +4,10 @@ permalink: /nodes/n8n-nodes-base.discord # Discord -[Discord](https://discord.com/) is a voice, video, and text communications platform for groups. Discord allows users to programatically send messages using webhooks. +[Discord](https://discord.com/) is a voice, video, and text communications platform for groups. Discord allows users to programmatically send messages using webhooks. ::: tip 🔑 Credentials -The Discord node does not require authentication, but you must have access to a channel's settings to use webhooks. +The Discord node does not require authentication, but you must have access to a channel's settings to use webhooks. You can find out how to create a webhook in Discord [here](../../../credentials/Discord/README.md). ::: ## Basic Operations @@ -17,7 +17,7 @@ The Discord node does not require authentication, but you must have access to a ## Example Usage This workflow allows you to send a message to a Discord channel using webhooks. You can also find the [workflow](https://n8n.io/workflows/410) on this website. This example usage workflow would use the following two nodes. -- [Start](../../core-nodes/Start) +- [Start](../../core-nodes/Start/README.md) - [Discord]() The final workflow should look like the following image. @@ -28,13 +28,9 @@ The final workflow should look like the following image. The start node exists by default when you create a new workflow. -### 2. Discord Node +### 2. Discord node -1. In order to create a Discord webhook that sends content to your channel, go to the settings of your channel. -2. Click Webhooks. -3. Name your bot and copy the link of the webhook. -4. Back on n8n, paste your webhook into the *Webhook URL* field of the Discord Node. -5. Enter your message in the *Text* field. -6. Click on *Execute Node* to run the workflow. :tada: - -![GIF of Webhooks in Discord](./gif-of-webhooks-in-discord.gif) +1. First of all, you'll have to create a webhook for the Discord node. You can find out how to do that [here](../../../credentials/Discord/README.md). +2. Paste your webhook into the ***Webhook URL*** field. +5. Enter your message in the ***Text*** field. +6. Click on ***Execute Node*** to run the workflow.