DocsNodesDoes somethingDiscord

Discord

Posts to a Discord channel through a webhook, as plain text, rich embeds, or both.

Kindaction:discord
GroupDoes something
Credits5 credits
Ports out1

How it looks

Settings

SettingRequiredWhat it does
Send withintegrationRefYesA Discord integration: a channel's webhook.
MessagemessageNoThe text. Can be left out when there's an embed. Mentions like @everyone are never parsed.
EmbedsembedsNoUp to 10 cards, each with a title, link, description, colour (#RRGGBB), fields, footer, image, thumbnail and an optional timestamp.
Name and pictureusername, avatarUrlNoPost under another name or picture than the webhook's own.
ThreadthreadIdNoA thread in the channel to post into.

Ports

PortThe run leaves by it when
defaultDiscord saved the message.

What it adds to the run

Later nodes can read these, in a condition or as {{name}} in a text field.

ValueHolds
discord{ messageId, channelId } of the message posted.

Problems you might see

CodeMeans
DISCORD_MESSAGE_INVALIDThere's no message and no embed, or the message is too long.
DISCORD_EMBED_INVALIDAn embed has nothing visible, or a field is too long.
DISCORD_HTTP_ERRORDiscord answered with an error. A 429 is retried.

Problems found when you publish stop the publish and point at the node. Problems while a run is going fail the node, and its On failure setting decides what happens next. See the error codes for the API's own.