Automate Website Uptime Monitoring with n8n & Google Sheets

This workflow automates website uptime monitoring by checking status codes of listed sites in Google Sheets every 6 hours, sending alerts on downtime via Gmail and Slack, and logging events back in Sheets.
scheduleTrigger
googleSheets
slack
+5
Workflow Identifier: 2067
NODES in Use: Schedule Trigger, Google Sheets, SplitInBatches, HTTP Request, Set, Switch, Gmail, Slack

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow automates checking if websites are up or down every six hours.

It reads website URLs from a Google Sheet, tests each one with HTTP requests, and finds if their status changed.

Alerts go out by email and Slack if a site goes down or comes back up.

It also logs all events and updates the Google Sheet with current status.

This saves time and helps catch problems faster.


Tools and Services Used

  • n8n: Automates workflow steps.
  • Google Sheets: Stores URLs to check and logs status history.
  • HTTP Request node: Sends GET requests to websites to get status codes.
  • Gmail: Sends email alerts if websites change status.
  • Slack: Sends chat alerts to notify about uptime changes.

Inputs, Processing Steps, and Outputs

Inputs

  • Website URLs listed in a Google Sheet under a “dashboard” tab.

Processing Steps

  1. Scheduled trigger runs workflow every 6 hours.
  2. Reads URLs from Google Sheets.
  3. SplitInBatches node sends each URL alone for processing.
  4. HTTP Request node sends GET to the URL to check status code.
  5. Set node calculates if status changed from last known UP/DOWN.
  6. Switch node routes flow based on four cases: UP stays UP, DOWN stays DOWN, UP recovered from DOWN, or DOWN newly found.
  7. Each route logs event in website-specific Google Sheet tab.
  8. Updates main Google Sheet dashboard with current status.
  9. Sends alerts via Gmail and Slack if status changed.

Outputs

  • Updated Google Sheet showing latest site statuses.
  • Logs of uptime events in separate Google Sheet tabs.
  • Email and Slack messages alerting about status changes.

Beginner Step-by-Step: How to Use This Workflow in n8n Production

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Go inside n8n editor.
  3. Use the option Import from File to load the downloaded workflow.

Step 2: Configure Credentials and Settings

  1. Add or update your Google Sheets credentials using OAuth2.
  2. Set up Gmail credentials with OAuth2 to allow sending emails.
  3. Enter Slack bot token and choose the right channel for alerts.
  4. Update Google Sheet Document IDs, sheet names, email addresses, and Slack channel IDs in nodes as needed.

Step 3: Test the Workflow

  1. Run the workflow manually once to check if all nodes work without errors.
  2. Verify emails and Slack messages are received when appropriate.

Step 4: Activate for Production

  1. Turn the workflow on by toggling the “Active” switch in n8n.
  2. From now, the workflow will run every six hours automatically.

For those using self hosting n8n, consider using a stable VPS and check self-host n8n for setup help.


Step-by-Step Workflow Building Instructions (Summary)

  1. Set up a Schedule Trigger for every 6 hours.
  2. Use Google Sheets node to read list of sites to check.
  3. Use SplitInBatches to handle sites one at a time.
  4. Use HTTP Request node to check site status with GET.
  5. Use Set node to compare old and new statuses, make Booleans to detect changes.
  6. Use Switch node to route depending on status changes.
  7. Append events in website-specific Google Sheet tabs via Google Sheets append node.
  8. Update the master dashboard Google Sheet with current info.
  9. Send Gmail and Slack alerts only when status changed.


Customization Ideas

  • Change how often the workflow runs by editing the frequency in the Schedule Trigger node.
  • Add more alert methods like SMS using Twilio by duplicating alert nodes.
  • Do extra checks such as response times in the HTTP Request node for better uptime insights.
  • Filter which sites to check by adding a Filter node before SplitInBatches to select only “active” sites.

Troubleshooting Common Issues

Workflow Stops on HTTP Errors

The HTTP Request node might stop if “Never Error” is off.

Turn on “Never Error” so workflow continues even if some sites fail.

Google Sheets Authentication Fails

Check Google Sheets OAuth credentials are valid and have proper permissions.

Reauthenticate if needed in the Google Sheets node settings.

No Alerts Sent

Verify Gmail OAuth and Slack tokens are correct and authorized.

Make sure email addresses and Slack channel IDs are entered properly in alert nodes.


Summary of Results

✓ Saves about 4 hours weekly by automating uptime checks.

✓ Sends immediate alerts by email and Slack when sites go down or recover.

✓ Keeps detailed logs per website in Google Sheets for tracking history.

→ Updates dashboard sheet to give quick status overview.

→ Improves reaction time and reduces website downtime.

Frequently Asked Questions

Yes, other email nodes in n8n can be used, but the user must set correct credentials and message settings.
API calls depend on the number of sites and check frequency; moderate use typically stays within free limits.
Yes, credentials are stored safely in n8n with OAuth2; data flows remain private in the user environment.
Change the interval in the Schedule Trigger node to run hourly or daily as desired.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free