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
Automate site monitoring with n8n and Google Sheets

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

Learn how to Build this Workflow with AI:

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.

Automate site monitoring with n8n and Google Sheets

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.