Sitemap Page Extractor: Discover, Clean & Save URLs to Google Sheets

Automates extraction of page URLs from website sitemaps, filters out unwanted links, and saves clean lists to Google Sheets for SEO analysis and reporting.

n8n
Sitemap Page Extractor: Discover, Clean & Save URLs to Google Sheets

This workflow automates the discovery and extraction of all page URLs from a website's sitemap structure. Starting with a simple URL input via form, it generates and tests common sitemap paths like /sitemap.xml, /sitemap_index.xml, and /robots.txt. It identifies valid sitemaps by sending HTTP requests and filtering successful responses, then handles nested sitemaps by extracting and processing each sub-sitemap individually for complete coverage.

From valid sitemaps, it parses XML content to pull <loc> tags and additional HTML links, ensuring comprehensive URL collection. URLs containing 'sitemap' are filtered out to retain only content pages like products, services, or blogs. Finally, deduplicated clean URLs are appended to Google Sheets, ready for SEO audits, competitor analysis, or content inventory.

Benefits include massive time savings over manual crawling tools, high accuracy with nested sitemap support, and seamless Google Sheets integration for collaboration. Ideal use cases: SEO agencies tracking site health, marketers building content calendars from competitors' sitemaps, or developers maintaining URL inventories for migrations.

$24.99
Last updated August 29, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Human Resources workflows

More from Timo Salim

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.