Version v1.x · .NET
Slack Alert Notifications
Configure a Slack incoming webhook and connect it to DurableStack alert dispatch.
Slack Alert Notifications
Use this guide to send DurableStack alert notifications to a Slack channel.
Before you start
- Slack alert dispatch is a Pro feature in DurableStack.
- You need Slack workspace permissions to create or manage an incoming webhook for a channel.
- You need access to the DurableStack app with organization-level integration management permissions.
1) Create a Slack incoming webhook
- Open Slack incoming webhook docs: https://api.slack.com/messaging/webhooks
- Create or select a Slack app with incoming webhooks enabled.
- Add a new webhook URL for the destination channel.
- Copy the generated webhook URL.
Treat this URL like a secret. Anyone with the URL can post to that channel.
2) Add the integration in DurableStack
- In DurableStack, go to Workspace > Organizations.
- Open Manage Integrations for your organization.
- In Slack Integrations, select Add Slack Integration.
- Enter:
- Name: a clear destination label (example:
Slack #ops-alerts) - Target URL: the Slack incoming webhook URL
- Name: a clear destination label (example:
- Save the integration.
Integrations are organization-scoped, so they can be reused across projects in the same organization.
3) Send a test notification
From the Organization Integrations page, click Test on the Slack integration.
- If the test succeeds, Slack should receive a sample alert message.
- If it fails, DurableStack shows an error toast with details.
4) Use the integration in an alert rule
- Go to Alerts > Manage Alerts for your project.
- Create or edit a rule.
- In Dispatch, enable Slack.
- Choose one of:
- an existing Slack integration, or
- Create new integration and save it inline
- Save the alert rule.
Troubleshooting
invalid_payloadorno_text: usually means the endpoint is not receiving the expected Slack payload path.invalid_token,no_active_hooks, orchannel_not_found: webhook was revoked, misconfigured, or points to an invalid channel.- No message received with no visible error: verify you selected the correct organization integration and the integration is enabled.
Security and operations
- Store webhook URLs in secure secret systems during setup and rotation workflows.
- Rotate webhook URLs periodically and after team or channel ownership changes.
- Use integration names that reflect channel ownership and purpose.