Monitor regulatory updates with ScrapeGraphAI and send alerts via Telegram
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-scrapegraphai(Scrape Regulatory Data)
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Scrapegraph Ai
n8n-nodes-scrapegraphai.scrapegraphAi - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Redis
n8n-nodes-base.redis
What it does
Breaking News Aggregator with Telegram and Redis ⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n instance before using this template. This workflow monitors selected government websites, regulatory bodies, and legal-news portals for new or amended regulations relevant to specific industries. It scrapes the latest headlines, compares them against previously recorded items in Redis, and pushes real-time compliance alerts to a Telegram channel or chat. Pre-conditions/Requirements Prerequisites - n8n instance (self-hosted or cloud) - ScrapeGraphAI community node installed - Redis server accessible from n8n - Telegram Bot created via BotFather - (Optional) Cron node if you want fully automated scheduling instead of manual trigger Required Credentials - ScrapeGraphAI API Key – Enables ScrapeGraphAI scraping functionality - Telegram Bot Token – Allows n8n to send messages via your bot - Redis Credentials – Host, port, and (if set) password for your Redis instance Redis Setup Requirements | Key Name | Description | Example | |----------|-------------|---------| | latestRegIds | Redis Set used to store hashes/IDs of the most recent regulatory articles processed | latestRegIds | > Hint: Use a dedicated Redis DB (e.g., DB 1) to keep workflow data isolated from other applications. How it works This workflow monitors selected government websites, regulatory bodies, and legal-news portals for new or amended regulations relevant to specific industries. It scrapes the latest headlines, compares them against previously recorded items in Redis, and pushes real-time compliance alerts to a Telegram channel or chat. Key Steps: - Manual Trigger / Cron: Starts the workflow manually or on a set schedule (e.g., daily at 06:00 UTC). - Code (Define Sources): Returns an array of URL objects pointing to regulatory pages to monitor. - SplitInBatches: Iterates through each source URL in manageable chunks. - ScrapeGraphAI: Extracts article titles, publication dates, and article URLs from each page. - Merge (Combine Results): Consolidates scraped items into a single stream. - If (Deduplication Check): Verifies whether each article ID already exists in Redis. - Set (Format Message): Creates a human-readable Telegram message string. - Telegram: Sends the formatted compliance alert to your chosen chat/channel. - Redis (Add New IDs): Stores the article ID so it is not sent again in the future. - Sticky Note: Provides inline documentation inside the workflow canvas. Set up steps Setup Time: 10-15 minutes 1. Install community nodes: In n8n, go to Settings → Community Nodes and install n8n-nodes-scrapegraphai. 2. Create credentials: a. Telegram → Credentials → Telegram API → paste your bot token. b. Redis → Credentials → Redis → fill host, port, password, DB. c. ScrapeGraphAI → Credentials → ScrapeGraphAI API → enter your key. 3. Configure the “Define Sources” Code node: Replace the placeholder URLs with the regulatory pages you need to monitor. 4. Update Telegram chat ID: Open any chat with your bot and use https://api.telegram.org/bot<token>/getUpdates to find the chat.id. Insert this value in the Telegram node. 5. Adjust frequency: Replace the Manual Trigger with a Cron node (e.g., daily 06:00 UTC). 6. Test the workflow: Execute once manually; confirm messages appear in Telegram and that Redis keys are created. 7. Activate: Enable the workflow so it runs automatically according to your schedule. Node Descriptions Core Workflow Nodes: - Manual Trigger – Allows on-demand execution during development/testing. - Code (Define Sources) – Returns an array of page URLs and meta info to the workflow. - SplitInBatches – Prevents overloading websites by scraping in controlled groups. - ScrapeGraphAI – Performs the actual web scraping using an AI-assisted parser. - Merge – Merges data streams from multiple batches into