@this-npm-test-org/connection-slack
v0.1.4
Published
Send messages, read channels, search conversations, and manage reactions.
Readme
Slack Connection
Connects your agent to Slack for team communication. Read channel history, post digests, manage threads, and look up users. The most-installed connection — used as the output channel for automations across every domain.
Authentication
Bot token. Create a Slack app at api.slack.com, install to your workspace.
bot_token— Bot user OAuth token (xoxb-...)- Required scopes:
channels:history,channels:read,chat:write,users:read,files:read
Endpoints
Messages
GET /conversations.history— Read channel message history with time rangePOST /chat.postMessage— Post message to channel (used by automations)POST /chat.update— Update a previously posted messagePOST /chat.delete— Delete a message (requires confirmation)
Threads
GET /conversations.replies— Read full thread by parent message timestampPOST /chat.postMessage(with thread_ts) — Reply in thread
Channels
GET /conversations.list— List channels the bot has access toGET /conversations.info— Get channel details (topic, purpose, member count)GET /conversations.members— List channel members
Users
GET /users.info— Get user profile by IDGET /users.lookupByEmail— Find user by email addressGET /users.list— List workspace users
Files
GET /files.list— List files shared in a channelPOST /files.upload— Upload file to channel (requires confirmation)
Rules
- Rate limit: Tier 3 methods (50 requests/minute), Tier 2 (20/minute)
- Message deletion always requires confirmation
- File uploads require confirmation
- The agent formats messages using Slack Block Kit for rich output
- Automation output uses the blocks format by default
