What This Workflow Does
This error notification workflow provides instant alerts when critical system failures occur, ensuring your team can respond immediately. It sends simultaneous notifications to both a Mattermost channel and via SMS, creating redundant communication channels that increase the likelihood of rapid response.
The workflow is particularly valuable for monitoring production systems, API integrations, or scheduled jobs where downtime can impact business operations. By automating error notifications, you reduce mean time to resolution (MTTR) and minimize potential revenue loss from system outages.
How It Works
1. Error Detection
The workflow triggers when an error condition is met in your monitoring system or application logs. This could be an API timeout, failed database connection, or any other configured error scenario.
2. Dual Notification
Upon triggering, the workflow simultaneously sends alerts through two channels: a detailed message to your Mattermost team channel and an SMS to designated mobile numbers. This ensures visibility whether team members are at their desks or mobile.
3. Error Context
The notifications include relevant error details like timestamp, error code, affected system component, and any available diagnostic information to help with troubleshooting.
Pro tip: Configure different severity levels to trigger different notification protocols (SMS only for critical errors to avoid alert fatigue).
Who This Is For
This workflow benefits DevOps teams, system administrators, and engineering managers who need real-time awareness of production issues. It's especially valuable for:
- Companies running critical business systems that require 24/7 uptime
- Teams supporting e-commerce platforms where downtime directly impacts revenue
- Organizations with distributed teams who need mobile-friendly notifications
What You'll Need
- An n8n instance (self-hosted or cloud)
- Mattermost webhook URL configured for your team channel
- SMS gateway API credentials (Twilio, Plivo, etc.)
- Error monitoring system that can trigger webhooks
Quick Setup Guide
- Download and import the JSON template into your n8n instance
- Configure the Mattermost webhook node with your channel details
- Set up your SMS provider credentials in the SMS node
- Connect the trigger to your error monitoring system
- Test with simulated errors to verify notifications
Key Benefits
Reduced downtime costs by ensuring immediate awareness of system issues. The average cost of IT downtime is $5,600 per minute according to Gartner - rapid notification can significantly reduce this impact.
Improved team responsiveness with redundant notification channels. Mattermost provides detailed context while SMS ensures mobile visibility, covering both desk-based and on-the-go team members.
Configurable severity levels allow you to tailor notification protocols based on error impact. Critical issues can trigger immediate SMS alerts while minor warnings only notify through Mattermost.