Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow
Ready for 3.0What this workflow does
This workflow has 24 nodes and runs on a schedule (every 7 days at 02:00) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api.indexnow.org over HTTP.
How it runs
Trigger: On a schedule (every 7 days at 02:00) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 8 fields: SITE_URL, SITEMAP_URL, DAYS_BACK…
- Get sitemap.xml (HTTP Request): calls an HTTP API
- Convert sitemap to JSON (XML): converts between XML and JSON
- Get content-specific sitemaps (Split Out): splits a list into separate items
- Get content of each sitemap (HTTP Request): calls an HTTP API
- convert page data to JSON (XML): converts between XML and JSON
- Force urlset.url to array (Edit Fields (Set)): sets 1 field: urlset.url
- Split Out: splits a list into separate items
- Sort: sorts the items
- Assign mandatory sitemap fields (Edit Fields (Set)): sets 2 fields: lastmod, loc
…plus 12 more steps. See the full node list below.
HTTP calls to: api.indexnow.org
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 (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - Sort
n8n-nodes-base.sort - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
This n8n template saves you hours of manual SEO work by automatically parsing your sitemap and submitting updated URLs to Google and Bing (IndexNow). Who’s it for Site owners, SEOs, and marketers who want a single automation to notify Google (Indexing API)…