Overview
ArgentOS integrates with Slack as a workspace app using the Events API for incoming messages and the Web API for sending responses.Prerequisites
- A Slack workspace where you have admin permissions
- ArgentOS gateway running
Setup
Create a Slack App
- Go to api.slack.com/apps
- Click Create New App > From scratch
- Name your app and select your workspace
Configure Permissions
Navigate to OAuth & Permissions and add these Bot Token Scopes:
chat:write— Send messageschannels:history— Read messages in public channelsgroups:history— Read messages in private channelsim:history— Read direct messagesim:write— Send direct messagesusers:read— Look up user info
Enable Events
Navigate to Event Subscriptions and enable events. Subscribe to these bot events:
message.im— Direct messages to the botmessage.channels— Messages in channels the bot is inapp_mention— When someone @mentions the bot
Install to Workspace
Click Install to Workspace and authorize the app. Copy the Bot User OAuth Token (
xoxb-...).Configuration
Supported Features
| Feature | Supported |
|---|---|
| Direct messages | Yes |
| Channel messages | Yes |
| Threads | Yes |
| File uploads | Yes |
| Slash commands | Planned |
| Interactive modals | No |
| Workflow Builder | No |
Tips
- Use
allowedChannelsto restrict which channels the agent responds in - The bot only responds when directly messaged or mentioned unless configured otherwise
