Skip to content
Agentic Workflowdocs
v0.8.2Install free

use the app / connections

Connect Discord

Post to a channel with a webhook URL, or read channels and messages with a bot token.

≈ 4 min Extension Bearer Token

The secret depends on the Resource you use. Create one credential for each and pick the right one on the node.

  • Manage Webhooks permission on the channel (webhook), or Manage Server to add a bot.
  • The AWFlow browser extension. These steps run in the extension (the web app hands them to it).
Method Use it when
Webhook URL Recommended Webhook › Send: post messages and embeds to one channel. Nothing to install.
Bot token Channel and Message operations: get or list channels, read messages, react.
  1. Create the webhook. In Discord, open the channel’s Edit Channel › Integrations › Webhooks, click New Webhook and Copy Webhook URL.

  2. Save it in AWFlow. Open Credentials and click Add Credential (or + Add Credential in a node’s Credential field), then fill the New Credential form. In the browser side panel the form comes in two steps: tap Discord in the list, then fill the rest.

    The New Credential dialog with Discord picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Auth Type menu: the app sets it), a note that the secret is saved locally and encrypted in this browser, and the Cancel and Create Credential buttons. The New Credential dialog with Discord picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Auth Type menu: the app sets it), a note that the secret is saved locally and encrypted in this browser, and the Cancel and Create Credential buttons.

    Numbered areas in the screenshot: 1. Integration App / Service: Discord; 2. Name; 3. Bearer Token; 4. Where the secret is stored (here, locally in this browser); 5. Create Credential.

  • “Unknown Webhook”. The webhook URL is wrong or the webhook was deleted. Create a new one and update the credential.
  • “401: Unauthorized” on Channel or Message. The credential holds a webhook URL, or the bot token was reset. Use a bot token credential.
  • “Missing Access”. The bot isn’t in that server, or its role can’t see the channel.
  • Messages come back with empty text. Turn on Message Content Intent for the bot.
  • The run is blocked in the web app. Discord runs through the browser extension. Install the extension and allow Discord for this workflow when asked, or run the workflow from the extension. See Extension-only integrations in the web app.
Ask Aria