Example 12678

Notification Config

Multi-channel notification routing rules.

{
channels: {
email: {
enabled: true
provider: "postmark"
from: "notifications@slow-jump.net"
}

slack: {
enabled: true
webhook_url: "https://hooks.slack.com/services/yNmjLRJau42JsW4qqanQ"
default_channel: "#deployments"
}

sms: {
enabled: false
provider: "sns"
}
}

# Routing rules
rules: [
{
event: "deploy_success"
channels: [
"slack"
"email"
]
priority: "low"
}

{
event: "deploy_failure"
channels: [
"slack"
"email"
"sms"
]
priority: "critical"
}

{
event: "error_spike"
channels: [
"slack"
]
priority: "high"
}
]
}

See also