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
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
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