Appearance
Slack: Channels & Beyond
Claude Code integrates with team communication. Mention @Claude in Slack with a bug report and get a pull request back. Route events from Telegram, Discord, or webhooks into sessions. This lesson covers the team communication surface.

What you'll learn
@Claudein Slack, mention it with a bug report and get a PR back- Channels connect Telegram, Discord, iMessage, and webhooks to Claude Code sessions
- The same CLAUDE.md, settings, and MCP servers work across all surfaces
The problem
Your team reports bugs in Slack. You triage them, create issues, assign them, and eventually someone writes code. Claude Code shortens that loop: a teammate mentions @Claude with a bug description, and Claude Code investigates the codebase, writes a fix, and opens a PR, all before you've finished reading the message.
Build it
Step 1: Set up Slack integration
Follow the Slack setup in the Claude Code docs. Once connected, team members can:
@Claude the login page is returning a 500 error when users enter an email with a + symbolClaude Code investigates the codebase, finds the bug, fixes it, and opens a PR.
Step 2: Set up Channels
In the web dashboard, configure Channels for Telegram, Discord, iMessage, or custom webhooks. Each channel can push events into Claude Code sessions.
Step 3: Webhook integration
You can programmatically trigger a Claude Code session by sending a POST request to a custom webhook URL. This is commonly used in CI pipelines or monitoring systems to dispatch an agent when an error event occurs.
bash
# Send a webhook to trigger Claude Code
curl -X POST https://your-claude-webhook \
-H "Content-Type: application/json" \
-d '{"event": "deploy-failed", "service": "api", "error": "Connection refused on port 8080"}'What goes wrong
| Mistake | How you notice it | The fix |
|---|---|---|
@Claude doesn't respond in Slack | Message sits unacknowledged | Check the Slack app is installed and has the correct permissions. Verify Claude Code is running and connected |
| Channel events flood the session | Claude Code processes every event and context fills up | Configure channel filters to only forward specific event types |
| Webhook authentication fails | 401 or 403 responses | Verify the webhook secret matches. Rotate the secret if compromised |
Confirm it worked
- Set up a test Slack workspace or use an existing one
- Install the Claude Code Slack app
- Send
@Claude helloin a channel, Claude should respond