Discord
CommunicationGive agents a presence in your Discord server. Post and manage messages, open threads, react, DM members, assign roles, and relay through webhooks over the Discord REST API.
What This Integration Enables
FlowRunner agents use Discord to run community and internal operations without a moderator watching every channel. An agent can post rich embeds for release notes and status, open a thread per incident or support ticket, DM a member a personalized reminder, and assign or remove roles as external data changes. Because Discord delivers events over its Gateway rather than HTTP webhooks, agents detect new activity by polling recent messages. The value is not the automated post. It is that the agent handles the routine and pulls a human in for the calls a community should not automate.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Reaction-gated moderation
A moderation agent polls community channels with Get Messages. When a post matches a policy rule, it does not delete anything on its own. It posts the flagged content to the moderator channel with a plain summary of which rule matched, then adds a check-mark and cross-mark reaction to its own summary. A moderator taps the check mark. The agent reads the reactions on its next pass, deletes the original post, and removes the offending role. A wrong flag simply gets the cross mark and nothing happens.
Per-incident triage threads
When a support request arrives from another system, the agent calls Create Thread to open a dedicated triage thread and Send Message to post the request details for the team. Follow-up stays in the thread instead of scattering across the channel, and the thread can be archived when the issue closes.
Role-based onboarding
A workflow reads a list of new signups from another system. For each one, the agent resolves the member with Get Guild Member and calls Add Role To Member so onboarded users automatically receive the right server role. Offboarding runs the reverse with Remove Role From Member. Access tracks reality without a human editing roles by hand.
Human-in-Loop Highlight
The human-in-loop moment on Discord is the reaction gate. When the moderation agent matches a post against a policy rule, it treats that match as a suggestion, not a verdict. It posts the flagged post to the mod channel and adds two reactions: a check mark for remove, a cross mark for keep. A moderator taps one. On its next polling pass the agent reads the reactions with Get Messages, and only a confirmed check mark leads it to delete the post and change the member's role. The agent does the watching and the summarizing. A person makes the removal call, and the reaction is the record that they did.
Agent Capabilities
18 actionsMessages
8- Add Reaction Add an emoji reaction to a message. Used as a lightweight approval or vote signal an agent can attach to a message it posted.
- Delete Message Delete a message in a channel. Used to remove a confirmed policy violation or clean up a resolved alert.
- Edit Message Edit a message the bot previously sent. Used to update a status message in place, for example from Pending review to Approved.
- Get Message Fetch a single message by ID. Used to pull exact content the agent needs to reason over.
- Get Messages Read recent messages from a channel. Because Discord has no HTTP webhooks, agents poll with Get Messages to detect new activity and read reactions.
- Send Direct Message Send a private message to a member the bot shares a server with. Used to route a personal reminder without pinging the whole channel.
- Send Message Post a message to a channel. Used when a workflow completes or an exception needs broadcasting.
- Send Message (Advanced) Post a message with rich embeds, files, or components. Used for formatted status cards, release notes, and incident summaries.
Channels
4- Create Channel Create a new channel in the server. Used to spin up a per-topic space, such as a channel per new project.
- Create Thread Open a thread on a channel or message. Used to keep an incident or support conversation grouped under one topic.
- Delete Channel Delete a channel. Used to clean up temporary channels after a project or incident closes.
- List Channels List the channels in the server. Used to resolve a channel by name before posting.
Members & Roles
5- Add Role To Member Assign a role to a member. Used to grant access automatically during onboarding. The bot's highest role must sit above any role it assigns.
- Get Guild Member Look up a single server member. Used to resolve a member before assigning a role or sending a DM.
- List Guild Members List members of the server. Requires the Server Members privileged intent. Used to drive bulk role or notification workflows.
- List Roles List the roles defined in the server. Used to map a friendly role name to its ID before assignment.
- Remove Role From Member Remove a role from a member. Used to revoke access automatically during offboarding.
Webhooks
1- Send Webhook Message Post a message through an incoming webhook URL. Used to relay into channels the bot is not installed in.
Start building with Discord
$100 in credits. No card required. Connect in minutes.