Discord action reference
This page is generated from the plugin registry. Do not edit it by hand.
Send messages to Discord channels via webhooks
For guidance and examples see the Discord guide.
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
| Action | Action type |
|---|---|
| Send Discord Message | discord/send-message |
Send Discord Message
Action type: discord/send-message. Connection: required (discord).
Send a message to a Discord channel via webhook
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
discordMessage | string | Yes | Message. | ||
username | string | No | Bot Username (optional). | ||
avatarUrl | string | No | Avatar URL (optional). | ||
embedTitle | string | No | Embed Title (optional). | ||
embedColor | string | No | none | none, red, green, yellow, blue, gray | Embed Color (optional). |
retryAttempts | number | No | min 0, max 5 | Retry attempts. Extra attempts after the first, for connection failures before the request is sent and retryable statuses (408, 425, 429, 5xx). A retry can post the message twice if Discord received the first request but the response was lost. Default 0, max 5. | |
retryDelay | number | No | min 0, max 15 | Retry delay (seconds). Backs off linearly: attempt N waits this many seconds times N. A 429 waits for the time Discord reports instead, and the step stops retrying when that is over 15 seconds. Default 1, max 15. |
Outputs
| Output | Description |
|---|---|
success | Whether the message was sent |
messageId | Discord message ID |
error | Error message if failed |