FM
FlowMarket
Docs, PDF & OCR Intermediate ⚡ 10 n8n Nodes

Extract process specific links from sitemap.xml

Description This workflow reads a sitemap.xml file, extracts all URLs, and allows you to filter out specific types of links—such as PDF files, images, or any...

🔌 Nodes & Integrations Used (2)

HTTP Request Xml

📖 Implementation & Setup Guide

Description This workflow reads a `sitemap.xml` file, extracts all URLs, and allows you to filter out specific types of links—such as PDF files, images, or any other content—based on your needs.

Who Is This For? - **SEO Specialists** looking to analyze specific URLs in their sitemap. - **Developers** who need to extract links for automated processing. - **Content Managers** filtering out downloadable assets like PDFs or images.

How It Works 1. **Fetch `sitemap.xml`** – The workflow reads the sitemap file from a given URL. 2. **Extract URLs** – Parses all the URLs listed in the sitemap. 3. **Filter URLs** – Use a simple filter to extract only the links you need (e.g., *.pdf). 3. **Export or Process** – The filtered list can be sent via email, stored in a database, or used in another workflow.

Customization 1. Edit the **Set sitemap URL** block and edit the `sitemapUrl` value to the sitemap you want to fetch. 2. Edit the **Filter URLs** block and edit the filter conditions to meet your needs.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Extract _ process specific links from sitemap.xml.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Docs, PDF & OCR Workflows

View All in Docs, PDF & OCR →