⚙️ devops9 nodes20-25 min

Multi-Channel Alert Router

Alert fatigue kills response times. This workflow acts as an intelligent alert dispatcher: receive alerts from any source (Datadog, Grafana, UptimeRobot, custom scripts) via a single webhook, then route them based on severity. Critical alerts trigger phone calls (Twilio) and Slack @channel mentions. Warnings go to Slack and email. Info-level goes to email only. Includes deduplication (don't re-alert on the same issue within 15 minutes) and escalation (if unacknowledged after 10 min, escalate to the next level).

alertsroutingslackemailtwiliodevops
$19

One-time purchase

⬇ Download Free Preview

How It Works

1Ingest

Single webhook accepts alerts from any monitoring tool

2Route

Critical→Call+Slack, Warning→Slack+Email, Info→Email

3Dedupe

Same alert within 15 min is suppressed

4Escalate

Unacknowledged after 10 min → escalate to next tier

📋 Prerequisites

  • Twilio account with voice capability (for phone calls)
  • Slack incoming webhook
  • Email service (Gmail/SMTP)
  • n8n instance

🎁 What You Get

  • Importable n8n workflow JSON file
  • Single webhook endpoint accepting any JSON alert payload
  • Severity-based routing logic (critical/warning/info)
  • Twilio voice call integration with text-to-speech
  • Slack notification with severity-colored formatting
  • 15-minute deduplication cache
  • 10-minute escalation if unacknowledged

📖 Setup Guide

## Setup Guide 1. **Webhook node**: POST endpoint accepts { severity, title, message, source, alert_id } 2. **Function node**: Normalize severity (uppercase, default to "info") 3. **IF node**: Check if this alert_id was sent in last 15 min (in-memory or database lookup) 4. **Switch node**: Route by severity: - **Critical**: Twilio voice call + Slack @channel + email - **Warning**: Slack + email - **Info**: Email only 5. **Twilio node**: Make voice call with text-to-speech alert message 6. **Slack node**: Post with color-coded attachment (red/orange/blue) + @channel for critical 7. **Gmail node**: Send formatted alert email 8. **Function node**: Record alert in dedup cache with timestamp 9. **Wait node (escalation)**: 10 minutes — if critical and not acknowledged, re-alert at higher level > 💡 **Pro tip**: Create alert-specific Slack channels (#alerts-critical, #alerts-warning) and use different Twilio caller IDs so you know severity before answering.

Ready to automate?

Get this template and start automating in 20-25 min. One-time purchase, lifetime access.