ScrapingBee Sitemap Extractor to Google Sheets (Recursive)

Extracts all website links from a domain's sitemaps using ScrapingBee API, recursively handling XML files, compression, and appends results directly to Google Sheets via webhook trigger.

n8n
ScrapingBee Sitemap Extractor to Google Sheets (Recursive)

This advanced n8n workflow automates comprehensive sitemap scraping for any domain. Triggered by a webhook with the domain (e.g., www.example.com), it first checks robots.txt for sitemap links, falling back to sitemap.xml if needed. It intelligently handles various response types: parsing plain text XML for links and sub-sitemaps, extracting text from binary files, and decompressing gzip content before processing. Website links are immediately appended to a 'links' column in your Google Sheet, while new XML sitemaps trigger recursive execution to uncover all nested links.

Key benefits include time-saving automation of manual sitemap crawling, robust error handling for real-world web files, and seamless integration with ScrapingBee for reliable scraping (bypassing blocks) and Google Sheets for easy data export/analysis. No coding required beyond API keys—ideal for SEO audits, competitor analysis, content inventory, or lead generation from public sites.

Use cases: SEO professionals mapping site structures, marketers collecting competitor URLs, researchers building datasets, or agencies offering scraping services. Outputs a complete link list in Sheets, ready for further processing like CSV export or CRM import. Compatible only with self-hosted n8n due to community nodes.

$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 Other - Miscellaneous workflows

More from Emil Volkov

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.