Compare two XML sitemap snapshots with Apify
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.apify.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Your snapshots and spending consent (Edit Fields (Set)): sets 4 fields: beforeXml, afterXml, acknowledgePaidRun…
- Validate settings (Code): runs custom JavaScript code
- Resume an existing run (If): checks a condition and branches into true / false
- Use saved run ID (Code): runs custom JavaScript code
- Start one capped run (HTTP Request): calls api.apify.com (POST)
- Wait for the same run (HTTP Request): calls an HTTP API
- Check run status (Code): runs custom JavaScript code
- Run succeeded (If): checks a condition and branches into true / false
- Read original input (HTTP Request): calls an HTTP API
- Confirm original snapshots (Code): runs custom JavaScript code
…plus 3 more steps. See the full node list below.
HTTP calls to: api.apify.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview For website operators comparing complete saved XML sitemaps of the same scope before and after a release. Returns added, removed and metadata-changed URLs plus unchanged counts. No sitemap or page URLs are fetched. How it works 1. Starts when…