Skip to content

Slack

Connect Crow to Slack to read messages, post updates, and interact with channels and threads through your AI assistant.

What You Get

  • Read messages from channels and threads
  • Send messages to channels
  • List channels and browse channel history
  • Look up user profiles

Setup

Step 1: Create a Slack App

  1. Go to api.slack.com/apps
  2. Click Create New AppFrom scratch
  3. Name it (e.g., "Crow") and select your workspace
  4. Click Create App

Step 2: Add Bot Token Scopes

  1. In your app settings, go to OAuth & Permissions in the left sidebar
  2. Scroll to ScopesBot Token Scopes
  3. Click Add an OAuth Scope and add each scope listed in Required Permissions below
  4. Scroll up and click Install to Workspace
  5. Authorize the app when prompted
  6. Copy the Bot User OAuth Token (starts with xoxb-)

Step 3: Invite the bot to channels

In Slack, go to each channel you want Crow to access and type /invite @Crow (or whatever you named the app).

Step 4: Add to Crow

Paste your bot token in Crow's NestSettingsIntegrations, or on the Setup page at /setup.

The environment variable is SLACK_BOT_TOKEN.

Required Permissions

ScopeWhy
channels:historyRead messages in public channels
channels:readList public channels and their details
chat:writeSend messages to channels the bot is in
users:readLook up user names and profiles

Optional scopes for expanded access:

ScopeWhy
groups:historyRead messages in private channels
groups:readList private channels
im:historyRead direct messages
reactions:readView emoji reactions on messages

Troubleshooting

"not_in_channel" error

The bot must be invited to each channel before it can read or post messages. Use /invite @Crow in the channel.

"missing_scope" error

You need to add the missing scope in OAuth & Permissions and reinstall the app to your workspace. Slack requires reinstallation after adding new scopes.

Bot can't see messages from before it joined

Slack bots can only access message history from channels they've been invited to. They cannot retroactively access messages from before the invitation.

Released under the MIT License.