๐Ÿ“Š Submit new sitemap URLs to IndexNow with Telegram alerts

โšก 16 views ยท ๐Ÿ“Š Market Research & Insights

Description

Quick overview

This workflow runs daily to fetch an XML sitemap, detect newly added URLs, submit them to the IndexNow API for faster indexing, and send a Telegram message listing the new pages.

How it works

  1. Runs every morning on a cron schedule.
  2. Loads your configuration values (sitemap URL, optional URL filter, site host, IndexNow key details, and Telegram chat ID).
  3. Downloads the XML sitemap via HTTP and extracts all URLs, optionally filtering them by a path substring (for example, โ€œ/blogโ€).
  4. Compares the extracted URLs with previously seen URLs stored in workflow static data and keeps only URLs that are new since the last active run.
  5. Submits the new URL list to the IndexNow API and then sends a Telegram message with the detected URLs (or, on the first run, sends a baseline confirmation message without submitting anything).

Setup

  1. Generate an IndexNow key, host the key file at the root of your site, and set the correct site host, key, and key file URL in the workflow configuration.
  2. Update the sitemap URL (and optionally the URL filter) in the configuration so the workflow reads the correct sitemap.
  3. Add Telegram bot credentials, then set your target Telegram chat ID in the configuration so the workflow can send messages.

Requirements

Customization

๐Ÿ”— Nodes Used

HTTP Request, Telegram, Schedule Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup