Setup
Go to Settings → Notifications and paste your Slack incoming webhook URL into the Slack Webhook URL field. To create an incoming webhook:- Go to api.slack.com/apps and create a new app
- Enable Incoming Webhooks
- Add a webhook to your workspace and choose a channel
- Copy the webhook URL (format:
https://hooks.slack.com/services/T.../B.../...)
app_settings.slack_webhook_url for the workspace.
Notification events
Configure which events trigger Slack messages in Settings → Notifications:| Event key | When it fires |
|---|---|
approvalRequired | An agent action requires human approval |
approvalDecided | A reviewer approves or denies a pending request |
killSwitch | The global kill switch is enabled or disabled |
rogueAction | An action is blocked by policy (rogue detection) |
Example notification preferences
app_settings.notification_preferences as JSON.
Notification delivery
Notifications are queued as rows in thenotifications table with channel = 'slack' and status = 'pending'. The send-notification edge function processes the queue and delivers to Slack via the incoming webhook URL.
Failed deliveries are retried according to retry_count and retry_at columns.
In-app notification delivery (
channel = 'in_app') is stored in the database and displayed in the Sentrail dashboard. It does not push to external services.