Guides
Notifications
Get alerted when jobs succeed, fail, or complete via webhook, email, Slack, or Discord.
TrigRun can notify you when job executions succeed, fail, or complete. Notifications are configured in two steps: create a channel (where to send), then attach a rule to a job (when to send).
Channel types
| Type | Config | Description |
|---|---|---|
webhook | url, optional secret | POST to any URL. Optional HMAC signing. |
email | email | Send to an email address |
slack | url | POST to a Slack incoming webhook URL |
discord | url | POST to a Discord webhook URL |
Creating a channel
Webhook with signing secret:
Slack:
Email:
Notification events
| Event | Fires when |
|---|---|
on_success | An execution completes with a success status |
on_failure | An execution exhausts all retry attempts and fails |
on_completion | An execution finishes, regardless of outcome |
Attaching rules to jobs
A rule connects a channel to a job for a specific event:
You can attach multiple rules to the same job — for example, send failures to Slack and all completions to a webhook.
Listing rules for a job
Removing a rule
Delivery tracking
Every notification sent is tracked as a delivery. You can list deliveries and retry failed ones.
List all deliveries:
List deliveries for a specific execution:
Retry a failed delivery:
Delivery statuses
| Status | Meaning |
|---|---|
pending | Queued, waiting to be sent |
processing | Currently being sent |
sent | Successfully delivered |
failed | All delivery attempts exhausted |