Skip to content

Discord

Post messages and rich embeds to a Discord channel via a webhook, or read channels and messages with a bot token.

Gives every scheduled watcher and page monitor somewhere to report to. In Webhook mode it POSTs a message — optionally a rich embed (title, URL, description, thumbnail) — to a single channel. In Bot mode it reads channels and messages and adds reactions.

Send a “page changed” notification with the page title and a screenshot thumbnail (pairs well with Screenshot Page and Edit Image), mirror alerts into a team channel, or read recent messages from a channel to drive a workflow.

ResourceOperationsAuth
WebhookSend (message + optional rich embed)Webhook URL
ChannelGet, List (server channels), Get messagesBot token
MessageGet, ReactBot token
SettingNotes
CredentialThe Discord credential (see below).
Resource / OperationWhat to act on and how.
MessageThe message text (Webhook Send) — optional if an embed is provided.
UsernameOverride the webhook display name for this message.
Embed Title / URL / Description / Thumbnail URLFields of the rich embed. Any subset may be set; leave all empty to send a plain message.
Server (Guild) IDThe Discord server ID (Channel → List).
Channel ID / Message IDIdentify the channel or message (Bot operations).
EmojiUnicode emoji (e.g. 👍) or a custom emoji as name:id (Message → React).
LimitNumber of messages to return (Channel → Get messages, 1–100).
  • Auth type: Bearer Token. The stored value depends on the mode:
    • Webhook operations: store the webhook URL. A webhook URL is a secret — anyone holding it can post to that channel, so treat it like a password.
    • Channel / Message operations: store a bot token. The node sends it as Authorization: Bot <token>.
  • Create one credential per secret (a webhook URL, or a bot token) and select it on the node. The secret is stored in your credential vault and resolved at run time — it is never read from a node parameter.

This node is extension-only. Discord’s API does not send permissive CORS headers, so the calls can only be made from the awflow browser extension, not the web app.

  • Unknown Webhook / 404 on Webhook Send — the webhook URL is wrong or the webhook was deleted; recreate it in the channel’s Integrations settings.
  • rate limited — Discord returned 429; reduce how often the node runs.
  • 401 on Bot operations — the bot token is missing or invalid, or the bot isn’t in the server / lacks access to the channel.
  • Discord IDs are numeric snowflakes — enable Developer Mode in Discord to copy channel, message, and server IDs.