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
Replace https://example.com in the "Check Website" node with your actual URL Add your free Google Gemini API key from Google AI Studio Create a Google Sheet called "Uptime Log" and connect it Connect Slack and select your monitoring channel 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
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments