Skip to main content

Website downtime alert via LINE + Supabase log

Workflow preview

Workflow preview
100%
Website downtime alert via LINE + Supabase log preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automatically checks the status of your websites using UptimeRobot API. If any site is down or unstable, it will: Generate a natural language alert message using GPT 4o Push the messa...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.uptimerobot, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Website downtime alert via LINE + Supabase log
Workflow name
Website downtime alert via LINE + Supabase log

This workflow automatically checks the status of your websites using UptimeRobot API. If any site is down or unstable, it will:

  • Generate a natural-language alert message using GPT-4o
  • Push the message to a LINE group (with funny IT-style encouragement)
  • Log all DOWN status entries into your Supabase database
  • Wait 30 minutes before repeating

๐Ÿ”ง How It Works

  1. Schedule Trigger โ€“ Runs on a fixed interval (every few minutes).
  2. UptimeRobot Node โ€“ Fetches website monitor data.
  3. Code Node (Filter) โ€“ Filters only websites with status 8 (may be down) or 9 (down).
  4. IF Node โ€“ If any site is down, proceed.
  5. LangChain LLM Node โ€“ Formats alert with a humorous message using GPT-4o.
  6. Line Notify (HTTP Request) โ€“ Sends the alert to your LINE group.
  7. Loop Over Items โ€“ Loops through all monitors.
  8. Filter Down (Status = 9) โ€“ Selects only โ€œfully downโ€ sites.
  9. Supabase Node โ€“ Logs these into synlora_uptime_down table.
  10. Wait Node โ€“ Delays next alert by 30 minutes to avoid spamming.

โš™๏ธ Setup Steps

Required:

  • ๐Ÿ”— UptimeRobot API Key
  • ๐Ÿ“ฒ LINE Channel Access Token and Group ID
  • ๐Ÿง  OpenAI Key (GPT-4o Mini)
  • ๐Ÿ—ƒ๏ธ Supabase Project & Table

Step-by-step:

  1. Go to UptimeRobot โ†’ Get API key and ensure monitors are set up.
  2. Create a Supabase table with fields: website, status, uptime_id.
  3. Create a LINE Messaging API bot, join it to your group, and get:
    1. Access Token
    2. Group ID (userId or groupId)
  4. Add your OpenAI API Key for GPT-4o Mini (or switch to your preferred LLM).
  5. Import the workflow JSON into n8n.
  6. Set credentials in all necessary nodes.
  7. Activate the workflow.

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 - Schedule Trigger

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

Block 2 - Sticky Note

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

Block 3 - Get Monitors

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

Block 4 - LLM Message Format

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

Block 5 - OpenAI GPT-4o Mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Escape Newlines

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

Block 7 - Send to LINE

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

Block 8 - Filter Down Monitors

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

Block 9 - If Down

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

Block 10 - Wait 30 Min

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

Block 11 - Loop Over Monitors

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

Block 12 - Filter Status 9

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

Block 13 - Save to Supabase

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

3. Summary Table

Workflow Website downtime alert via LINE + Supabase log
Complexity intermediate
Nodes 13
Categories DevOps, Multimodal AI
Author sayamol thiramonpaphakul
Published 25 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4379/4379.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 Website downtime alert via LINE + Supabase log do?

This workflow automatically checks the status of your websites using UptimeRobot API. If any site is down or unstable, it will: Generate a natural language alert message using GPT 4o Push the messa...

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, Multimodal AI use case.