DevOps HTTP Request Automated Alerts n8n Uptime

Website & API Health Monitoring System

Automate uptime monitoring, validate HTTP status codes, and get instant alerts for downtime—all in one free n8n workflow.

Download Template JSON · n8n compatible · Free
Visual diagram of a website and API health monitoring automation workflow showing HTTP request nodes, conditional logic, and alert notifications

What This Workflow Does

Website and API downtime costs businesses revenue, damages reputation, and frustrates users. Manual monitoring is unreliable and doesn't scale. This automated health monitoring system performs regular HTTP checks on your critical endpoints, validates their responses, and immediately alerts your team when something goes wrong.

The workflow acts as your 24/7 digital watchdog. It sends requests to configured URLs (websites, REST APIs, internal services), analyzes HTTP status codes, checks response times, and can even validate specific JSON fields for APIs. When a service fails or responds slower than your SLA, it triggers notifications through Slack, email, SMS, or other channels you configure.

Beyond simple uptime checking, this template provides actionable diagnostics. It doesn't just tell you something is broken—it tells you why (server error, timeout, incorrect response) and provides the exact failure details needed for rapid troubleshooting.

How It Works

The workflow follows a logical sequence of checks, validations, and notifications.

1. Scheduled Trigger & Target Configuration

A schedule node initiates checks at regular intervals (every 5 minutes, hourly, etc.). You configure the target URLs to monitor—these can be public websites, internal APIs, third-party services, or database health endpoints.

2. HTTP Request Execution

The core HTTP Request node sends GET or POST requests to each configured endpoint. You can customize timeout thresholds, headers, and authentication. The node captures the full response: status code, headers, body, and response time.

3. Response Validation & Analysis

Conditional logic nodes analyze the response. They check if the HTTP status code matches expected values (200-299 for success), verify response times against performance thresholds, and optionally parse JSON responses to validate specific data fields that indicate true service health.

4. Failure Detection & Alert Routing

If any validation fails, the workflow branches to alerting nodes. Different failure types can trigger different responses: critical outages might send SMS alerts, while performance degradation might only notify Slack. The workflow includes retry logic to confirm failures before alerting.

5. Notification Delivery

Alert nodes send formatted messages to your chosen channels. Notifications include the failing URL, error details, status code, response time, and timestamp. For recurring issues, the workflow can suppress duplicate alerts to avoid notification fatigue.

6. Health Status Logging

All check results—both successes and failures—are logged to a database or spreadsheet. This creates an audit trail for compliance and provides historical data for uptime reporting and trend analysis.

Who This Is For

This automation is essential for any business that depends on digital services being available. DevOps teams use it to monitor production infrastructure. E-commerce companies monitor checkout APIs and payment gateways. SaaS businesses ensure their customer-facing APIs meet SLAs. IT departments track internal tool availability. Marketing teams verify landing page uptime during campaigns.

If you manage websites, APIs, microservices, or any digital service where downtime means lost revenue or productivity, this workflow provides the automated oversight you need. It's particularly valuable for small to medium businesses that can't justify expensive enterprise monitoring suites but still require reliable, customizable monitoring.

What You'll Need

  1. n8n instance – Self-hosted or n8n.cloud account
  2. Target URLs to monitor – Your website, API endpoints, or third-party services
  3. Notification channels – Slack, email, SMS, or other alerting services configured in n8n
  4. Expected response criteria – Know what HTTP status codes and response times indicate healthy vs. unhealthy services
  5. Optional: Storage – Google Sheets, Airtable, or database to log check results

Quick Setup Guide

  1. Import the template – Download the JSON file above and import it into your n8n instance.
  2. Configure target URLs – Edit the HTTP Request node with your website/API endpoints to monitor.
  3. Set validation rules – Adjust the If nodes to match your expected status codes (200 OK, 201 Created, etc.) and maximum acceptable response times.
  4. Connect alert channels – Replace placeholder notification nodes with your actual Slack, email, or SMS integrations.
  5. Adjust schedule – Modify the Schedule Trigger node to run at your desired frequency (every 5, 15, or 60 minutes).
  6. Test and activate – Execute the workflow manually to verify it works, then activate it to run automatically.

Pro tip: Start with conservative alert thresholds to avoid false positives. Monitor during low-traffic periods first, then adjust based on real performance data.

Key Benefits

Proactive issue detection: Catch problems before users report them, reducing support tickets and minimizing business impact.

Reduced manual oversight: Eliminate the need for staff to manually check services, saving hours per week across your team.

Comprehensive validation: Go beyond simple "is it up?" checks to validate response content, performance SLAs, and business logic.

Customizable alerting: Route different severity issues to appropriate teams (critical to DevOps, performance issues to developers).

Historical reporting: Build uptime reports and identify patterns in service degradation for capacity planning.

Frequently Asked Questions

Common questions about website and API monitoring automation

Website and API health monitoring is the automated process of regularly checking your digital services to ensure they are online, responding correctly, and performing within acceptable parameters. It involves sending requests to your endpoints and validating the HTTP status codes, response times, and content to detect issues before they impact users.

This goes beyond simple uptime checking to include validation of response content, performance benchmarking against service level agreements (SLAs), and integration with your existing alerting and incident management systems.

Manual health checks are time-consuming, inconsistent, and prone to human error. Automation runs 24/7, provides immediate alerts, reduces mean time to resolution (MTTR), and frees up your team for higher-value tasks. It ensures proactive issue detection rather than reactive firefighting.

For businesses with multiple services across different environments (development, staging, production), manual checking becomes impossible to scale. Automated monitoring provides consistent coverage regardless of team size or time of day.

Key metrics include HTTP status codes (200 for success, 500 for server errors), response time (latency), uptime percentage, error rates, and specific JSON response fields for APIs. Monitoring these helps you understand performance trends, set service level agreements (SLAs), and identify degradation before complete failure.

Advanced monitoring might also check response payload size, validate authentication tokens remain working, confirm database connections within APIs, and monitor third-party dependencies that your services rely on.

Automated health checks prevent users from encountering downtime by alerting your team before issues become widespread. This minimizes disruption, maintains trust, and ensures business continuity. For e-commerce sites, even minutes of downtime can result in significant lost revenue and damaged reputation.

Beyond preventing outages, monitoring response times helps identify performance degradation that frustrates users even when services are technically "up." Slow page loads or API responses lead to abandoned carts and poor user satisfaction metrics.

Yes, absolutely. This workflow is perfect for monitoring external dependencies like payment gateways, shipping APIs, authentication services, or data providers. By validating their responses, you can hold vendors accountable to their SLAs and trigger alternative workflows if a critical service fails.

For example, if your payment processor API goes down, you could automatically disable checkout functionality and show a maintenance message rather than letting customers encounter errors during payment attempts.

Best practices include setting appropriate check frequencies (not too frequent to cause load, not too infrequent to miss issues), monitoring from multiple geographic locations, implementing escalating alert tiers (Slack → SMS → Phone call), documenting runbooks for common failures, and regularly reviewing and tuning your thresholds.

Start with monitoring your most business-critical endpoints first. Implement alert fatigue prevention by grouping related alerts and suppressing duplicates. Always include actionable information in alerts—not just "something is wrong" but "what's wrong and who should fix it."

  • Monitor from regions where your users are located
  • Set different thresholds for business hours vs. off-hours
  • Include retry logic before declaring a failure

While dedicated services offer specialized features, this n8n template provides customizable, cost-effective monitoring that integrates directly with your existing tools (Slack, email, SMS). You control the logic, can add complex validation beyond simple status codes, and avoid vendor lock-in while reducing monthly subscription costs.

The template approach lets you extend monitoring to include business logic validation—checking that an API returns specific data formats, that database queries complete successfully, or that multi-step transactions work end-to-end. You're not limited to what a SaaS provider decides to offer.

Yes, GrowwStacks specializes in building tailored monitoring systems that match your specific infrastructure and alerting needs. We can create workflows that monitor complex multi-step transactions, validate business logic in responses, integrate with your incident management platform, and provide detailed analytics dashboards.

Our team will work with you to understand your critical services, failure scenarios, and team workflows. We'll design a monitoring solution that not only detects issues but also triggers appropriate remediation workflows automatically—like failing over to backup systems or notifying the right on-call engineers.

  • Custom integration with your existing tools and platforms
  • Multi-region monitoring for global services
  • Advanced analytics and reporting on service health trends

Need a Custom Website & API Monitoring Automation?

This free template is a starting point. Our team builds fully tailored monitoring systems for your specific business needs.