Skip to main content

Monitor website uptime and diagnose errors with Gemini and Slack alerts

Workflow preview

Workflow preview
100%
Monitor website uptime and diagnose errors with Gemini and Slack alerts preview
Open on n8n.io

1. Workflow Overview

Who is this for DevOps engineers, site reliability teams, and business owners who need to know the moment their website goes down — and want AI powered diagnostics instead of just a ping alert. Wha...

Best for

  • DevOps automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oka Hironobu.

Original n8n.io source

1.1 Workflow description

Title
Monitor website uptime and diagnose errors with Gemini and Slack alerts
Workflow name
Monitor website uptime and diagnose errors with Gemini and Slack alerts

Who is this for

DevOps engineers, site reliability teams, and business owners who need to know the moment their website goes down — and want AI-powered diagnostics instead of just a ping alert.

What this workflow does

A Schedule Trigger checks your website every 5 minutes by sending an HTTP Request to your target URL. A Code node evaluates the response status code and response time against your thresholds. When the site is down or degraded, Google Gemini analyzes the error pattern and provides a probable root cause diagnosis with recommended actions. Every health check is logged to Google Sheets for uptime history tracking. Downtime events trigger an immediate Slack alert that includes the AI diagnosis. A daily summary email is sent via Gmail so you have a record even when nothing goes wrong.

How to set up

  1. Replace https://example.com in the "Check Website" node with your actual URL
  2. Add your free Google Gemini API key from Google AI Studio
  3. Create a Google Sheet called "Uptime Log" and connect it
  4. Connect Slack and select your monitoring channel
  5. Connect Gmail and set the recipient email address

Requirements

  • Google Gemini API key (free tier)
  • Google Sheets account
  • Slack workspace
  • Gmail account
  • n8n instance (self-hosted or cloud)

How to customize

  • Change the check interval in the "Check Every 5 Minutes" trigger node
  • Adjust the response time threshold in the "Evaluate Response" Code node (default: 3000ms)
  • Monitor multiple URLs by duplicating the HTTP Request and Code nodes

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Note - Health Check

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Note - AI Diagnosis

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Note - Notifications

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Check Every 5 Minutes

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Check Website

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Evaluate Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Site Down?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 9 - Diagnose Error

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 10 - Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 11 - Log to Uptime Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 12 - Alert Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 13 - Send Daily Report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Monitor website uptime and diagnose errors with Gemini and Slack alerts
Complexity intermediate
Nodes 13
Categories DevOps, AI Summarization
Author Oka Hironobu
Published 24 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13672/13672.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor website uptime and diagnose errors with Gemini and Slack alerts do?

Who is this for DevOps engineers, site reliability teams, and business owners who need to know the moment their website goes down — and want AI powered diagnostics instead of just a ping alert. Wha...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps, AI Summarization use case.