openclaw - 💡(How to fix) Fix feat: add Slack channel integration [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#51539Fetched 2026-04-08 01:09:52
View on GitHub
Comments
1
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
closed ×1commented ×1cross-referenced ×1locked ×1
RAW_BUFFERClick to expand / collapse

Q2 2026 Priority: Expand Channels

Currently active channels:

  • Telegram (configured, running, healthy)
  • iMessage (configured, running, healthy)
  • WhatsApp (configured but not linked)

Goal: Wire Slack as a third active channel to meet Q2 target of 3+ active channels.

Scope:

  1. Create Slack extension adapter (similar to existing Telegram/iMessage)
  2. Implement auth flow for Slack workspace/bot token
  3. Add Slack handlers for incoming messages and events
  4. Configure allowlists and message routing
  5. Add health monitoring via channels status
  6. Document Slack setup and configuration
  7. Test with existing command/tool framework

Definition of Done:

  • Slack appears in openclaw channels status with health probes
  • Messages flow bi-directionally (incoming/outgoing)
  • Supports at least basic commands and responses
  • Included in channel orchestration + allowlists system

Related Documentation:

  • Core channels: docs/channels/
  • Extension examples: extensions/discord, extensions/msteams
  • Status monitoring: src/commands/channels-status.ts
  • Message routing: src/routing/

extent analysis

Fix Plan

To integrate Slack as a new channel, we'll follow these steps:

  • Create a Slack extension adapter
  • Implement Slack authentication flow
  • Add handlers for incoming messages and events
  • Configure allowlists and message routing
  • Implement health monitoring

Step-by-Step Solution

1. Create Slack Extension Adapter

Create a new file extensions/slack/index.ts with the following code:

import { ChannelAdapter } from 'src/channels';

class SlackAdapter extends ChannelAdapter {
  // Implement Slack-specific logic
}

export default SlackAdapter;

2. Implement Auth Flow

Create a new file extensions/slack/auth.ts with the following code:

import { SlackAdapter } from './index';

const slackAuth = async () => {
  // Implement Slack auth flow using workspace/bot token
};

export default slackAuth;

3. Add Handlers for Incoming Messages and Events

Create a new file extensions/slack/handlers.ts with the following code:

import { SlackAdapter } from './index';

const messageHandler = async (message) => {
  // Handle incoming messages
};

const eventHandler = async (event) => {
  // Handle incoming events
};

export { messageHandler, eventHandler };

4. Configure Allowlists and Message Routing

Update src/routing/index.ts to include Slack routing:

import { SlackAdapter } from 'extensions/slack';

const routes = [
  // Existing routes...
  {
    channel: 'slack',
    adapter: SlackAdapter,
  },
];

export default routes;

5. Implement Health Monitoring

Update src/commands/channels-status.ts to include Slack health monitoring:

import { SlackAdapter } from 'extensions/slack';

const healthCheck = async () => {
  // Implement Slack health check
};

export default healthCheck;

Verification

Run openclaw channels status to verify that Slack appears with health probes. Test bi-directional message flow using existing command/tool framework.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING