WorkflowOtherOpen

Read sitemap and filter URLs

Triggered manually or by an app event. Connects Filter, HTTP request, Split Out, Xml. Set your sitemap.xml url here. Create your filter here. Fetch and process the sitemap.xml file This part fetches and process the sitemap.xml file from XML data to JSON that we can work with. Sitemap.xml reader This workflow reads an sitemap.xml and filters out the entries you want. By default only PDF documents a

Front matter
name: Read sitemap and filter URLs
description: Triggered manually or by an app event. Connects Filter, HTTP request, Split Out, Xml. **Set your sitemap.xml url here.** **Create your filter here.** ## Fetch and process the sitemap.xml file This part fetches and process the sitemap.xml file from XML data to JSON that we can work with. ## Sitemap.xml reader This workflow reads an sitemap.xml and filters out the entries you want. By default only PDF documents are returned at the end of the workflow. **SETUP** - Edit the **Set sitemap URL** block and add the url to the sitemap you want to read. - Edit the **Filter URLs** to you
category: Automation
kind: Workflow
software: Filter|HTTP request|Split Out|Xml

Read sitemap and filter URLs

Triggered manually or by an app event. Connects Filter, HTTP request, Split Out, Xml. Set your sitemap.xml url here. Create your filter here. ## Fetch and process the sitemap.xml file This part fetches and process the sitemap.xml file from XML data to JSON that we can work with. ## Sitemap.xml reader This workflow reads an sitemap.xml and filters out the entries you want.

By default only PDF documents are returned at the end of the workflow.

SETUP

  • Edit the Set sitemap URL block and add the url to the sitemap you want to read.
  • Edit the Filter URLs to you

Steps

  • ‘Test workflow’ trigger (manualTrigger)
  • Set sitemap URL (set)
  • Split Out (splitOut)
  • Get Sitemap (httpRequest)
  • Convert Sitemap to JSON (xml)
  • Filter URLs (filter)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Splitout/1143_Splitout_Filter_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.