Slack Connector for AI Agents

Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors

About this Connector

Slack is a business communication platform that offers messaging, file sharing, and integrations with other tools. This connector provides read access to users, channels, channel members, channel messages, and threads for workspace analytics, and supports write operations including sending and updating messages, creating and renaming channels, setting channel topics and purposes, and adding reactions.

CRM

Sales Analytics

Customer Data

team communication, messaging platform, workspace collaboration

Version Information

Package version

0.1.36

Connector version

0.1.10

SDK commit

5b20f488dec0e8f29410823753106603c23a4b65

Support Open Source

Star us on GitHub to help grow the Airbyte community

Github

Installation & Usage

Get started with the Slack connector in minutes

1

Install Package

Using uv or pip

bash

Copy
uv pip install airbyte-agent-slack

2

Import

Initialize and use

python

Copy
from airbyte_agent_slack import SlackConnector
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig

connector = SlackConnector(
    auth_config=SlackTokenAuthenticationAuthConfig(
        api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
    )
)

3

Tool

Add tools to your agent

python

Copy
@agent.tool_plain # assumes you're using Pydantic AI
@SlackConnector.tool_utils
async def slack_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Supported Entities & Actions

Access all your Slack data through a unified API

Lorem ipsum

Lorem ipsum

| Entity | Actions |\n|--------|---------|\n| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |\n| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |\n| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |\n| Threads | [List](./REFERENCE.md#threads-list) |\n| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |\n| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |\n| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |\n| Reactions | [Create](./REFERENCE.md#reactions-create) |

Example Prompts

The Slack connector is optimized to handle prompts like these

Lorem ipsum

List all users in my Slack workspace - Show me all public channels - Who are the members of channel \{channel_id\}? - Get messages from channel \{channel_id\} - Show me the thread replies for message \{ts\} in channel \{channel_id\} - List all channels I have access to - Get user details for user \{user_id\} - What messages were posted in channel \{channel_id\} last week? - Show me the conversation history for channel \{channel_id\} - List channel members for the general channel - Send a message to channel \{channel_id\} saying 'Hello team!' - Post a message in the general channel - Update the message with timestamp \{ts\} in channel \{channel_id\} - Create a new public channel called 'project-updates' - Create a private channel named 'team-internal' - Rename channel \{channel_id\} to 'new-channel-name' - Set the topic for channel \{channel_id\} to 'Daily standup notes' - Update the purpose of channel \{channel_id\} - Add a thumbsup reaction to message \{ts\} in channel \{channel_id\} - React with :rocket: to the latest message in channel \{channel_id\} - Reply to thread \{ts\} in channel \{channel_id\} with 'Thanks for the update!'

Why Airbyte for AI Agents?

Built for production AI workloads with enterprise-grade reliability

Agent-Native Design

Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.

Secure Authentication

Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.

Production Ready

Battle-tested connectors with comprehensive error handling, logging, and retry logic.

Open Source

Fully open source under the MIT license. Contribute, customize, and extend freely.

Works with your favorite frameworks

Use the Slack connector with any AI agent framework

🦜

LangChain

🦙

LlamaIndex

🤖

CrewAI

AutoGen

🧠

OpenAI Agents SDK

🔮

Claude Agents SDK

Frequently Asked Questions

Didn't find your answer? Please don't hesitate to reach out.

How do I authenticate with Slack?

The Slack connector supports token-based authentication using either a Slack Bot Token (xoxb-) or User Token (xoxp-). You can provide these credentials directly in open source mode or store them securely through Airbyte Cloud in hosted mode.

Can I use this connector with any AI agent framework?

The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.

Does this connector support write operations?

Yes, the Slack connector supports write operations including sending and updating messages, creating and renaming channels, setting channel topics and purposes, and adding reactions to messages. However, some operations like deleting messages, removing reactions, archiving channels, and managing channel membership are not currently supported.

How is this different from the Airbyte data connector?

Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.

Will there be a platform for agent connectors?

The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors