Slack Integration for Openclaw

Automate Slack messaging, channel management, and team notifications through a powerful CLI and API integration.

charlie-morrison
v1.0.0
May 1, 2026
0
669
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cm-slack-integration

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cm-slack-integration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Slack Integration?

This skill enables AI agents to interact directly with Slack workspaces, facilitating seamless communication through messages, channel administration, and file sharing. By leveraging the Slack Web API, the integration supports everything from simple text alerts to complex Block Kit layouts, making it an essential component for teams using Openclaw Skills to drive operational efficiency.

Whether you are using bot tokens for workspace-wide automation or user tokens for personal DMs and status updates, this skill provides a robust interface for programmatic Slack interactions. It handles the complexities of the Slack API, including pagination, rate limiting, and rich text formatting, allowing developers to focus on building meaningful automation workflows.

Slack Integration Use Cases

  • Instant CI/CD status updates and deployment reports sent to dedicated channels.
  • Automated incident response channel creation and management during production outages.
  • Scheduled team standup reminders and automated response collection.
  • Real-time error alerting with visual status reactions for critical issues.
  • Secure file sharing and document distribution within private or public channels.

How Slack Integration Works

  1. Authenticate with the Slack Web API using a Bot or User OAuth Token stored in the environment.
  2. Resolve human-readable channel names or user emails to their respective internal Slack IDs.
  3. Execute actions such as posting messages, creating channels, or uploading files via structured HTTP POST requests.
  4. Apply rich formatting using Slack Block Kit or standard mrkdwn to ensure information is presented clearly.
  5. Manage the message lifecycle through threading, updating existing posts, or scheduling delivery for the future.

Slack Integration Setup

Prerequisites

  1. Create a Slack App at the Slack API Dashboard.
  2. Configure required OAuth Scopes under OAuth & Permissions: chat:write, channels:read, channels:history, files:write, reactions:write, and users:read.
  3. Install the app to your workspace and copy the Bot User OAuth Token.

Environment Configuration

export SLACK_TOKEN="xoxb-your-bot-token-here"

Quick Verification

curl -s -X POST https://slack.com/api/chat.postMessage \
  -H "Authorization: Bearer $SLACK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channel": "C0123ABCDEF", "text": "Openclaw Skills integration is now active!"}'

Slack Integration Data Schema & Taxonomy

The integration interacts with Slack's structured API objects. Key data entities include:

Entity Key Attributes Purpose
Message channel, text, blocks, thread_ts Content delivery and threading logic
Channel id, name, is_private, topic Workspace organization and discovery
User id, real_name, tz, email Identity resolution and presence mapping
File id, upload_url, external_url Asset management and document sharing

Slack Integration Advanced Features

  • Multi-token support: Seamlessly switch between bot tokens for apps and user tokens for personal automation.
  • Block Kit Integration: Build interactive and high-fidelity UI elements within Slack messages using the Block Kit framework.
  • Contextual Threading: Maintain organized conversations by programmatically replying to specific message timestamps.
  • Dynamic Channel Operations: Programmatically create private incident rooms, set topics, and invite stakeholders on the fly.
  • Precision Scheduling: Use Unix timestamps to queue notifications, ensuring team alerts land at the optimal time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*