Skip to main content

Notify website downtime via email and Telegram alerts

Workflow preview

Workflow preview
100%
Notify website downtime via email and Telegram alerts preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow runs every minute to check one or more website URLs with HTTP requests and, if a site appears down on two consecutive checks, sends an email alert and a Telegram messag...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.switch, n8n-nodes-base.splitout, n8n-nodes-base.merge, n8n-nodes-base.wait

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Notify website downtime via email and Telegram alerts
Workflow name
Notify website downtime via email and Telegram alerts

Quick overview

This workflow runs every minute to check one or more website URLs with HTTP requests and, if a site appears down on two consecutive checks, sends an email alert and a Telegram message.

How it works

  1. Runs on a schedule trigger every minute.
  2. Loads a newline-separated list of website URLs plus alert settings (wait time, Telegram chat ID, and email address), then converts the URL list into an array.
  3. Splits the array to test each website individually with an HTTP request that captures the full response without failing the workflow on errors.
  4. Determines whether the site is up based on the HTTP status code (up if status code is 400 or lower).
  5. If the first check indicates the site is down, waits for the configured number of seconds and performs a second HTTP check for the same URL.
  6. If the second check also indicates the site is down, sends a “Website Down” email via SMTP and then sends a Telegram message to the configured chat.

Setup

  1. Add SMTP email credentials (for example, Gmail SMTP on port 465) and set the from/to email addresses in the email step.
  2. Create a Telegram bot with BotFather, add Telegram Bot API credentials in n8n, and set your Telegram chat ID in the workflow configuration.
  3. Update the website URL list and the wait time (seconds) in the workflow configuration to match the sites you want to monitor and your preferred retry delay.

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - Sticky Note5

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

Block 7 - Sticky Note6

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

Block 8 - Every Minute Trigger

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

Block 9 - Set Site Status Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 10 - Check Website Status

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

Block 11 - Route by Site Status

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 12 - Split Websites

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

Block 13 - Set Configuration Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Set Website Field

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Merge Test Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 16 - Wait Configured Seconds

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 17 - Set Site Status Fields 2

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 18 - Check Website Status 2

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

Block 19 - Aggregate Test Results 2

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 20 - Route by Site Status 2

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 21 - Send Telegram Alert

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

Block 22 - Send Email Alert

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

3. Summary Table

Workflow Notify website downtime via email and Telegram alerts
Complexity advanced
Nodes 22
Categories DevOps
Author Oscar
Published 17 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16470/16470.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 Notify website downtime via email and Telegram alerts do?

Quick overview This workflow runs every minute to check one or more website URLs with HTTP requests and, if a site appears down on two consecutive checks, sends an email alert and a Telegram messag...

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 use case.