Slack
Learn how to integrate AI agents with Slack using xpander.ai. Create seamless workflows that automate repetitive tasks, provide instant insights, and enhance team collaboration by leveraging AI-powered assistants directly within your Slack channels and conversations.
About Slack
Slack is a cloud-based communication and collaboration platform designed to streamline team interactions, replacing traditional email chains and enhancing productivity.
Key features include:
-
Channels: Organize conversations by topics, projects, or teams. Channels can be public (open to all members) or private (restricted access).
-
Direct Messaging: Send private messages to individuals or groups for more focused discussions.
-
Huddles: Initiate quick audio or video calls within channels or direct messages to facilitate real-time conversations.
-
File Sharing: Easily share documents, images, and other files within conversations, with the ability to integrate with services like Google Drive and Dropbox.
-
Integrations: Connect with over 2,400 third-party applications, including Google Calendar, Asana, and Salesforce, to centralize your workflow.
-
Searchable History: Access and search through past messages and files, ensuring important information is always retrievable.
-
Automation: Utilize tools like Workflow Builder to automate repetitive tasks and processes, enhancing efficiency.
Authentication Options
Below are possible authentication options you can choose:
The simplest way to connect Slack is by using xpander.ai’s built-in authentication:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Slack from the available integrations.
- Click Sign in with Slack.
- Grant xpander.ai permission to access specific channels in your Slack workspace.
- Your Slack integration is now ready to use.
The simplest way to connect Slack is by using xpander.ai’s built-in authentication:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Slack from the available integrations.
- Click Sign in with Slack.
- Grant xpander.ai permission to access specific channels in your Slack workspace.
- Your Slack integration is now ready to use.
Generate a Slack API Key
-
Log in to Slack Apps.
-
Click Create an App, then select From scratch.
-
Give your app a name, and select the Slack workspace you want to develop it in.
-
After clicking Create App, go to the OAuth & Permissions section in the sidebar.
-
Under the Scopes section, in Bot Token Scopes, click Add an OAuth Scope and select the permissions your app needs.
You can browse all available scopes here. -
Still in OAuth & Permissions, scroll to OAuth Tokens and click Install to <YOUR-WORKSPACE>.
-
After installation, your Slack access token will be displayed—make sure to save it securely.
Integrate Slack into xpander.ai
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Slack from the available integrations.
- Click Other auth options.
- Enter an Interface name, e.g., “xpander-slack”.
- Select API Key as the authentication mode.
- Choose Integration User as the authentication scope.
- Paste the Slack access token into the provided field.
- Set the Auth Type to Bearer.
- Save the configuration.
Integration of Slack into AI Agent
Once you’ve configured your Slack account with the authentication option(s) described above, you can integrate it into your AI agent with xpander.ai:
- Go to the + sign located in the top right of the graph visualization of your xpander.ai agent.
- Select Apps.
- Choose Slack with the same Interface name you configured in the previous section (e.g., xpander-slack).
- Select the available Slack operations that suit your use case.
Expose Slack as MCP Server
Alternatively, you can also expose your Slack account as an MCP server. To do so:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Slack with the same Interface name you configured in the previous section (e.g., xpander-slack).
- Click MCP Configuration.
- Enter the MCP configuration into the appropriate settings of the client app you want to use (e.g., Cursor, Windsurf, Claude Desktop, etc.).
AI Agent Slack Prompt Library
Below are possible prompts or use cases you can try after integrating Slack into your xpander AI agent: