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.
- OAuth 2.0
- API Key
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
Send Message with Bot
Send Message with Bot
Send Message Webhook
Send Message Webhook
Request Approval in a Channel
Request Approval in a Channel
Posts the request and pauses the tool until a user approves or rejects it.
Find channel
Find channel
Create channel
Create channel
Rename channel
Rename channel
Delete channel
Delete channel
List guild members
List guild members
Add role to member
Add role to member
Remove role from member
Remove role from member
Create guild role
Create guild role
Delete guild role
Delete guild role
Remove member from guild
Remove member from guild
Ban guild member
Ban guild member
Remove ban from user
Remove ban from user
Custom API Call
Custom API Call
Sends a request to any Discord API endpoint. Artemis injects the authorization header from the auth profile.
Troubleshoot common issues
Related articles: