Templates / Sitemap page extractor: Discover, clean, and save website URLs to Google Sheets

Sitemap page extractor: Discover, clean, and save website URLs to Google Sheets

Ready for 3.0

by Incrementors ✓ · 1,226 views · created 2025-08-23 · Market Research, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when someone submits an n8n form (“Sitemap Page Extractor”). Along the way it connects Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Sitemap Page Extractor”).

  1. Prepare website URL (Edit Fields (Set)): sets 1 field: url
  2. Build sitemap URLs (Code): runs custom JavaScript code
  3. Sitemap URL Check (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Filter Non-Empty Sitemap Responses (If): checks a condition and branches into true / false
  5. Fetch Sitemap Data (HTTP Request): calls an HTTP API
  6. Extract Sitemap URLs (Code): runs custom JavaScript code
  7. Fetch Sitemap Pages XML (HTTP Request): calls an HTTP API
  8. Extract Page URLs from Sitemap (Code): runs custom JavaScript code
  9. Exclude the Sitemap URLs (Filter): keeps only the items that match a condition
  10. Save Page URLs to Sheet (Google Sheets): append or update

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Description: Automatically extracts all page URLs from website sitemaps, filters out unwanted sitemap links, and saves clean URLs to Google Sheets for SEO analysis and reporting. How It Works: This workflow automates the process of discovering and extracting…

Excerpt from Incrementors's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.