Home / Integrations / n8n / Every URL a site lists in its sitemaps, with dates

Updated

Every URL a site lists in its sitemaps, with dates in n8n

Run Sitemap URL Extractor: All URLs, lastmod, hreflang from n8n for listing every page of a site and spotting new or removed pages. The tool runs on Apify as plainprobe/sitemap-url-extractor, returns one JSON item per URL and costs $0.0001 per URL; failed items are not charged.

Download the n8n workflow (JSON)

Apify Store page

Steps

  1. Import the workflow. Download the ready workflow for this tool and import it in n8n (workflow menu, Import from File). It contains a manual trigger and an HTTP Request node that sends POST https://api.apify.com/v2/acts/plainprobe~sitemap-url-extractor/run-sync-get-dataset-items.
  2. Add your Apify token. Create a Header Auth credential with name Authorization and value Bearer YOUR_APIFY_TOKEN (token from Apify Console, Settings, API & Integrations) and select it in the HTTP Request node.
  3. Set the input. Edit the JSON body of the HTTP Request node: put your own values in sites. Click Test workflow; each result comes back as one n8n item.
  4. Send results to Google Sheets. Add an If node (type equals url) and then a Google Sheets node, and map the fields listed in the table below.
  5. Schedule it. Replace the manual trigger with a Schedule Trigger node and activate the workflow.

Alternative: if you installed the Apify community node, use its operation Run an Actor and get dataset with the Actor plainprobe/sitemap-url-extractor and the same input.

Input to paste

The input is a JSON object; replace the example values with your own.

{
  "sites": [
    "www.ovh.com"
  ],
  "maxUrlsPerSite": 100
}

Which output fields to map to Google Sheets

Each result contains these fields (shortened example below). A useful mapping to Google Sheets, with Slack as another common destination:

Result fieldWhere it goes
urlcolumn A: URL
lastmodcolumn B: last modified
sitecolumn C: site
changefilter: new or removed URLs
sitemapcolumn D: source sitemap
{
  "type": "url",
  "site": "https://www.ovh.com",
  "url": "https://www.ovh.com/sg/solutions/load-balancer/infrastructure-hybride.xml",
  "lastmod": "2021-12-20T00:00:00.000Z",
  "changefreq": "monthly",
  "priority": 1,
  "images": 0,
  "alternates": [],
  "sitemap": "https://www.ovh.com/sg/sitemap-sg.xml",
  "change": null,
  "checkedAt": "2026-12-01T12:42:11.226Z"
}

A scheduled workflow you can copy

Every day at 09:00, read the sitemaps of the sites you follow, keep only the results whose change field marks a new URL, append them to a Google Sheet and post a short list to Slack.

What it costs

$0.0001 per URL (one url returned in the dataset), billed by Apify per successful result, with no subscription. Site summaries, failed sites and filtered-out URLs are free. 10,000 URLs cost $1. The default input returns 10,000 URLs in about 3 seconds.

Full details, benchmark and pricing table: Sitemap URL Extractor: All URLs, lastmod, hreflang.

Questions about every url a site lists in its sitemaps, with dates in n8n

How much does every url a site lists in its sitemaps, with dates cost when run from n8n?

$0.0001 per URL (one url returned in the dataset), charged by Apify to your Apify account; n8n only counts its own executions or operations. Failed items are not charged.

Can I send several items in one n8n run?

Yes. Put all of them in the sites list of the input; one Actor run returns one result per URL, and n8n handles them as separate items.

Do I need the Apify community node?

No. The template uses n8n's built-in HTTP Request node. The Apify node (Run an Actor and get dataset) works too if you have installed it.

Same tool in other platforms: Make · Zapier · all n8n workflows