Instant Service Downtime Alerts via SMS
detail.loadingPreview
This workflow provides a simple yet effective way to monitor your web services or APIs. It periodically checks the status of a specified URL and instantly sends an SMS alert via Twilio if the service is not responding with a 200 OK status code.
About This Workflow
Ensure your critical services are always online with this automated uptime monitoring workflow. Designed for simplicity and reliability, it uses a scheduled trigger to regularly ping your designated HTTP endpoint. If the service returns any status code other than a healthy 200 OK, the workflow immediately dispatches a "Service Down" SMS notification through Twilio. This proactive alerting system helps you identify and address service interruptions promptly, minimizing downtime and ensuring continuous operation for your users and business.
Key Features
- Automated Scheduling: Set it and forget it, with checks running at configurable intervals.
- HTTP Endpoint Monitoring: Easily monitor the health of any public web service or API.
- Conditional Alerting: Only receive alerts when an actual issue (non-200 status) is detected.
- Instant SMS Notifications: Get critical alerts delivered directly to your phone via Twilio.
- Customizable Message: The alert message "Service Down" can be easily modified to provide more context.
How To Use
- Schedule Trigger: This node is already configured to run periodically (e.g., every minute). You can adjust the
Intervalto your desired frequency (e.g.,every 5 minutes). - HTTP Request:
- Enter the
URLof the service or API endpoint you wish to monitor. - No other changes are typically needed for basic uptime checks.
- Enter the
- If: This node checks if the HTTP request returned a 200 status code. No configuration is needed here as it's set to check
statusCode equals 200. - Twilio:
- First, add your Twilio account credentials if you haven't already. Click on "Credentials" and select or create new "Twilio API" credentials by providing your
Account SIDandAuth Token. - Enter the
Fromphone number (your Twilio phone number) and theTophone number (the recipient's phone number) for the SMS alert. - (Optional) Modify the
Messagefield from "Service Down" to include more specific details like service name or incident ID.
- First, add your Twilio account credentials if you haven't already. Click on "Credentials" and select or create new "Twilio API" credentials by providing your
Apps Used
Workflow JSON
{
"id": "677c31f5-43ec-4a8d-b7d1-0b4b06214a47",
"name": "Instant Service Downtime Alerts via SMS",
"nodes": 16,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 677c31f5-43ec...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.
Effortless Bug Reporting: Slack Slash Command to Linear Issue
Streamline your bug reporting process by instantly creating Linear issues directly from Slack using a simple slash command. This workflow enhances team collaboration by providing immediate feedback and a structured approach to logging defects, saving valuable time for development and QA teams.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.