# Discord (/docs/nodes/messaging/discord)

Send messages to Discord channels via webhooks.



The Discord node sends plain-text messages to a Discord channel through a webhook URL. Embed objects, attachments, and components are not supported - use the message field's Markdown for formatting.

Prerequisites [#prerequisites]

* Discord Webhook URL (Server Settings → Integrations → Webhooks)
* Add as a credential in [Credentials](/docs/credentials/adding)

Operations [#operations]

The Discord node sends a message to the configured webhook. There's no operation selector - it always sends a message.

Configuration [#configuration]

| Field    | Type   | Required | Description                                     |
| -------- | ------ | -------- | ----------------------------------------------- |
| content  | string | Yes      | Message content (supports template expressions) |
| message  | string | Alt      | Alternative to content (same behavior)          |
| username | string | No       | Override the webhook's display name             |

Template expressions [#template-expressions]

Use upstream data in your messages:

```
🚀 New token detected!
Name: {pumpfunResponse.data.name}
Market Cap: ${pumpfunResponse.data.market_cap}
```

Output [#output]

A successful send returns:

```json
{
  "success": true,
  "message": "Discord message sent",
  "renderedMessage": "🚀 New token: BONK",
  "webhook": "https://discord.com/api/webhooks/123.../redacted",
  "discordMessageId": "1234567890",
  "discordChannelId": "9876543210",
  "discordGuildId": "1122334455",
  "messageLink": "https://discord.com/channels/1122334455/9876543210/1234567890",
  "verifiedByFetch": true,
  "postedToDifferentChannel": false
}
```

Webhook discovery fields (`discordMessageId`, `discordChannelId`, `discordGuildId`, `messageLink`) are present when Discord returns them in the webhook response; long messages may also include `truncated: true` and `originalLength`. Reference these downstream with your response name (default `discordResponse`):

```text
{discordResponse.messageLink}
{discordResponse.discordMessageId}
```

Common use cases [#common-use-cases]

* Alert a Discord channel on DeFi events
* Post daily portfolio summaries
* Notify team channels on workflow failures

Next steps [#next-steps]

* [Telegram](/docs/nodes/messaging/telegram) - alternative with richer bot features
* [Webhook Trigger](/docs/triggers/webhook) - receive Discord events
