Skip to Content

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.

ActionAction type
Send Discord Messagediscord/send-message

Send Discord Message

Action type: discord/send-message. Connection: required (discord).

Send a message to a Discord channel via webhook

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
discordMessagestringYesMessage.
usernamestringNoBot Username (optional).
avatarUrlstringNoAvatar URL (optional).
embedTitlestringNoEmbed Title (optional).
embedColorstringNononenone, red, green, yellow, blue, grayEmbed Color (optional).
retryAttemptsnumberNomin 0, max 5Retry 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.
retryDelaynumberNomin 0, max 15Retry 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

OutputDescription
successWhether the message was sent
messageIdDiscord message ID
errorError message if failed