# Monitor website uptime and latency with Telegram and email alerts

> Quick overview This workflow checks multiple websites every 5 minutes, records uptime and response time history in n8n Data Tables, and sends state-change alerts via Telegram and/or email when a site goes down, becomes slow, or recovers. How it works 1. Runs on a 5-minute schedule (or manually) and reads the list of domains/URLs to monitor. 2. Validates and normalizes the website list into HTTPS URLs and builds a monitor configuration with timeout and slow-response thresholds. 3. Ensures the n8n Data Tables (uptimestate and uptimehistory) exist and then checks each website via HTTP request, retrying up to three times for failures. 4. Classifies each result as UP, SLOW, or DOWN based on HTTP status code and response time, and captures any error message. 5. Writes each check to the uptimehistory table and upserts the latest status (including incident start time) into the uptimestate table. 6. Compares the current status to the previously stored state and generates an alert message only w

- **Domain**: `n8n-workflow-19954.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19954
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19954.n8n.io
- Documentation: https://n8n.io/workflows/19954
