Slack
Send incident notifications to a Slack channel when an incident is assembled.
Slack Integration
The Slack integration sends a notification to a channel when an incident is assembled. The notification includes the incident URL, the first confirmed break, affected services, and coverage information.
What the notification contains
[Incidentary] payments-api incident — shared incident timeline
First confirmed break: payments HTTP_IN 503
Affected services: edge, api, payments
Coverage: partial coverage · 1 gap visible
Captured steps: 6
View and annotate incident timeline >>The notification links to a publicly accessible incident URL. Anyone in the channel can open it without an Incidentary account.
Setup
Step 1: Create a Slack app and get a webhook URL
- Go to api.slack.com/apps and click Create New App
- Choose From scratch
- Name the app
Incidentaryand select your workspace - Under Features, select Incoming Webhooks
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Select the channel where incident notifications should be posted
- Copy the webhook URL — it starts with
https://hooks.slack.com/services/...
Step 2: Add the webhook URL in Incidentary
- In the Incidentary dashboard, go to Settings → Integrations → Slack
- Paste the webhook URL
- Click Save
Step 3: Test the integration
Click Send Test Notification in the integration settings. A test message labeled [Incidentary][TEST] will appear in your Slack channel. If it does not appear within 30 seconds, verify the webhook URL and check that the Slack app has access to the channel.
Thread replies and annotations (Team plan)
On the Team plan, replies to the incident notification thread are captured as annotations on the incident timeline. Team members can comment in Slack during an incident and those comments appear alongside the causal chain.
To enable this:
- Configure the Slack Events API subscription in your Slack app
- Set the request URL to:
https://api.incidentary.com/api/v1/integrations/slack/events - Subscribe to the
message.channelsevent
Slash command (Team plan)
The /incidentary status command shows the latest open incident in the current channel.
To add the slash command to your Slack app:
- Under Features, select Slash Commands
- Click Create New Command
- Command:
/incidentary - Request URL:
https://api.incidentary.com/api/v1/integrations/slack/commands - Short description:
Show latest Incidentary incident
/incidentary status — posts the latest open incident ephemerally (visible only to you)
/incidentary status share — posts the latest open incident to the channel