Skip to main content
Back to list of integrations Use the Discord integration to let agents post messages, request approvals, and manage guild channels, roles, and members through Action Tools.

Supported actions

Actions are Discord operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.

Workflow triggers

Triggers are Discord events that start a workflow automatically. Select them as app triggers when you configure a workflow.

Prerequisites

  • A Discord application with a bot user in the Developer Portal, invited to your guild with the permissions your actions need.
  • The bot role ranked above any role the agent manages.

Set up the integration

1

Prepare the Discord app

Copy the Client ID and Client Secret from OAuth2 (for OAuth 2.0), or the bot Token from Bot (for API Key).
2

Create the auth profile

In Integrations, select Discord > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Discord > Continue. Configure the fields, select Create Profile, and for OAuth 2.0 select Authorize.
Artemis pre-fills the Discord authorization, token, and refresh URLs. Enter Scopes (for example bot guilds), Client ID, and Client Secret, and add the read-only Callback URL under OAuth2 > Redirects in the Developer Portal.Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.
3

Create the action tool

In Tools, select New Tool > Action > Discord > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.

Action reference

Posts the request and pauses the tool until a user approves or rejects it.
Sends a request to any Discord API endpoint. Artemis injects the authorization header from the auth profile.
Delete channel, Delete guild role, Remove member from guild, and Ban guild member are irreversible. Assign them only to agents that need them.

Troubleshoot common issues

Related articles: