Slack
Run Slack admin operations and drive end-user conversations with Dex — all from one app.
Dex connects to Slack via the Web API as a custom workspace app. It handles two jobs: (1) channel/user administration — invite, kick, list, look up, create channels and user groups — and (2) the Slack communication channel itself, so employees can DM Dex in Slack to open tickets, request access, and get IT help without ever leaving the workspace.
What Dex does with Slack
Dex handles both admin workflows and employee self-service — all policy-guardrailed and audit-logged.
For admins (CoAdmin)
- Invite, remove, and list members of any public or private channel
- Create and archive channels, set topics and purposes
- Look up users by email and resolve Slack user IDs for other workflows
- List and manage user groups (@team mentions) including membership
- Post messages, announcements, or incident alerts to any channel
- Send broadcast notifications from automation workflows (e.g. license shortage, policy changes)
- Audit every grant/revoke action via Dex activity logs and Slack action policies
For employees (self-service)
- Chat with Dex directly in Slack — DM the bot or mention it in a channel to open a request
- Receive approval prompts, ticket updates, and device alerts as Slack messages
- Get proactive notifications when a licence, password reset, or access request changes state
- Send Dex a Slack message like "I'm locked out" and have it triage and remediate end-to-end
- Receive ephemeral DMs from Dex for sensitive items (MFA, credentials, signed links)
Just ask Dex
Your team types a request in plain language. Dex investigates, plans, and executes — with the right guardrails.
Admin prompts
- >Add dan@acme.com and jen@acme.com to the #exec-ops channel
- >Create a private channel called "incident-oct-12" and invite everyone in the @sre user group
- >Kick all deactivated Entra users out of #all-company
- >Post "Network maintenance tonight 10pm-12am PT" to #eng-announcements
- >Look up the Slack user ID for marco@acme.com and DM him the new VPN instructions
- >List every private channel marco@acme.com is a member of
Employee prompts
- >My laptop is running slow, can you take a look?
- >Request a Salesforce Pro licence for me — my manager is dana@acme.com
- >I need access to the #finance-reports channel for the Q2 close
- >Reset my Zoom password, I'm locked out
- >Check the status of my onboarding ticket
Policy actions
Every action Dex can take on Slack is declared, scoped, and guardrailed. Admins control which apply, who approves them, and whether they're limited to self-service.
| Action | What it does |
|---|---|
slack_channel_grant_access | Invite a user to a Slack channel (conversations.invite) |
slack_channel_revoke_access | Remove a user from a Slack channel (conversations.kick) |
slack_list_channels | List public and private channels in the workspace |
slack_create_channel | Create a new public or private channel |
slack_lookup_user | Look up users by email or Slack user ID |
slack_post_message | Post a message to a channel or DM a user |
slack_manage_user_group | Create and update Slack user groups and their members |
How to configure Slack
Onboarding takes minutes. Dex validates your credentials before saving them.
Setup steps
- 1Sign in to api.slack.com/apps as a workspace admin and click "Create New App" → "From a manifest".
- 2Select your workspace and paste the Dex-provided Slack manifest JSON (Dex generates it during discovery). Click Next → Create.
- 3Under Basic Information → Display Information, upload the Dex app icon and confirm app name.
- 4Go to OAuth & Permissions → Install to Workspace → Allow. Copy the Bot User OAuth Token (starts with xoxb-).
- 5From Basic Information → App Credentials, copy the Signing Secret and the App ID (starts with A).
- 6In Dex, paste the Bot Token, Signing Secret, and App ID. Dex validates them by calling /auth.test and displays the resolved workspace name before saving.
Credentials required
- botToken
- Bot User OAuth Token — starts with xoxb-, found at OAuth & Permissions after installing the app to your workspace
- signingSecret
- Signing Secret from Basic Information → App Credentials (used to verify inbound Slack events)
- appId
- App ID from Basic Information → App Credentials (starts with A, used by Dex to build manifest links)
Requirements
- •Slack workspace admin (or Primary/Workspace Owner) rights to install a custom app
- •Slack paid plan recommended — free plan limits private channel membership and user groups
- •Slack Web API rate limits apply (Tier 2/3 endpoints ~20 req/min per method)
- •Bot must be explicitly invited to private channels before it can post or manage membership
- •For DMs to users, the bot needs im:write + users:read.email scopes (granted by the manifest)
Related integrations
- Collaboration
Microsoft Teams
Manage Teams membership, route approvals to team owners, and send direct messages.
Learn more → - Collaboration
Zoom Workplace
Manage Zoom users, meetings, webinars, and phone from plain-language requests.
Learn more → - Collaboration
Atlassian (Jira & Confluence)
Manage Jira issues and Confluence pages in plain language, using the admin's own Atlassian account.
Learn more →
See Dex run Slack
Book a 30-minute walkthrough with our team and see how autonomous IT works in your environment — or get started for free.