πŸ“Š Extract sitemap URLs to CSV using chat input, XML parsing and HTTP upload

⚑ 85 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

SEO Sitemap Extractor: Convert XML to CSV via Chat Interface

This workflow provides a streamlined, no-code solution to extract all nested URLs from any standard XML sitemap and instantly convert them into a structured CSV file. Built entirely within n8n’s native chat interface, it eliminates the need for manual data formatting or custom Python scripts during SEO audits and site migrations.

Typical Use Cases

How It Works

  1. Interactive Trigger: The workflow begins in the n8n chat window. Simply paste a valid sitemap URL (e.g., https://example.com/sitemap.xml).
  2. Validation & Fetching: An HTTP Request node fetches the raw XML data while conditional logic verifies the link is accessible (HTTP 200).
  3. Data Parsing: The native XML node parses the raw text into a structured JSON object, isolating the loc (URL) and lastmod (Last Modified) tags.
  4. File Generation & Delivery: The extracted data is compiled into a sanitized CSV binary file and temporarily uploaded to a file host. The workflow concludes by returning a one-click, secure download link directly in the chat.

Key Features

Prerequisites & Limitations

πŸ”— Nodes Used

HTTP Request, Convert to File, Summarize, Chat Trigger, Chat

πŸ“₯ Import

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

πŸ“– Importing guide Β· πŸ”‘ Credential setup