Slack Integration
Overview
Connect Slack to receive investigation results, feedback buttons, and daily alert digests directly in your team's Slack channels.
Prerequisites
- Admin access to your Slack workspace (to authorize the OpsWorker app)
- An OpsWorker account with at least one cluster configured
Setup
1. Start the Integration
- In the OpsWorker portal, go to Integrations
- Find Slack and click Install
2. Authorize in Slack
- You'll be redirected to Slack's OAuth authorization page
- Select the Slack workspace to connect
- Review the permissions OpsWorker requests:
- Send messages to channels
- Post investigation results and alerts
- Click Allow
3. Configure Notification Channel
After authorization, configure which Slack channel should receive investigation results:
- Return to the OpsWorker portal
- Go to Notification Routing or cluster settings
- Select the Slack channel for investigation notifications (e.g.,
#incidents,#ops-alerts)
4. Test the Integration
- Go to your cluster settings and click Test Integration
- A test investigation will run and post results to your configured Slack channel
- Verify the message appears with the expected format
What Slack Receives
Investigation Results
Each completed investigation posts a message containing:
- Alert summary
- Root cause analysis
- Affected Kubernetes resources
- Recommended actions with kubectl commands
- Feedback buttons (Accurate / Partially Accurate / Needs Improvement)
Daily Alert Digest
A daily summary posted at 09:00 UTC with:
- Total alert count and day-over-day comparison
- Breakdown by severity and namespace
- Trend indicators
Permissions Required
OpsWorker's Slack app requires minimal permissions:
| Permission | Purpose |
|---|---|
| Send messages | Post investigation results to channels |
| Post to channels | Deliver notifications to configured channels |
OpsWorker does not read your Slack messages or access channels beyond posting notifications.
Next Steps
- Validate Slack Output — Verify the integration works correctly
- Notification Routing — Route notifications to different channels