profClaw’s Slack integration supports both Socket Mode (recommended, no public URL needed) and HTTP webhook mode. It handles slash commands, direct messages, app mentions, and interactive components.Documentation Index
Fetch the complete documentation index at: https://docs.profclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
Capabilities
| Feature | Supported |
|---|---|
| Direct messages | Yes |
| Channel messages | Yes (on mention) |
| Slash commands | Yes |
| Block Kit messages | Yes |
| Interactive buttons/menus | Yes |
| Message reactions | Yes |
| Message threads | Yes |
| File sharing | Yes |
| Socket Mode | Yes |
| OAuth app installation | Yes |
Setup
- Socket Mode (Recommended)
- HTTP Mode
Create a Slack App
Go to api.slack.com/apps and create a new app from scratch.
Enable Socket Mode
Under Settings > Socket Mode, enable Socket Mode and generate an App-Level Token with
connections:write scope.Add Bot Token Scopes
Under OAuth & Permissions > Bot Token Scopes, add:
app_mentions:readchat:writecommandsim:historyim:readim:writereactions:write
Environment Variables
Bot OAuth token. Format:
xoxb-...App-level token for Socket Mode. Format:
xapp-... Required when SLACK_MODE=socket.Signing secret for webhook verification. Required when
SLACK_MODE=http.Connection mode:
socket or http. Defaults to http.Incoming webhook URL for simple outbound messages (optional).
Configuration Example
- .env (Socket Mode)
- .env (HTTP Mode)
- settings.yml
Slash Commands
Register slash commands in your Slack app and profClaw will handle them:Block Kit Messages
profClaw sends structured Block Kit messages for rich responses:Notes
- Socket Mode is strongly recommended for development and behind-firewall deployments.
- In Socket Mode, profClaw connects outbound to Slack’s servers - no inbound ports needed.
- The bot responds to
@mentionin channels and to all DMs by default. - Multiple Slack workspaces are supported via multi-account configuration.
Related
- Slack Bot Setup Guide - Step-by-step walkthrough with screenshots
- Chat Providers Overview - Compare all 27 supported channels
- Notifications Tool - Send proactive messages to Slack channels from agents
- profclaw channels - Enable and test the Slack connection from the CLI