Submit sitemap URLs from Oncrawl to Google Indexing API and IndexNow
Ready for 3.0What this workflow does
This workflow has 33 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.indexnow.org and app.oncrawl.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Post - Get Sitemaps (HTTP Request): calls an HTTP API (POST)
- Config (Edit Fields (Set)): sets 9 fields: body.crawl.id, SITE_URL, SITEMAP_URL…
- 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
…plus 22 more steps. See the full node list below.
HTTP calls to: api.indexnow.org, app.oncrawl.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 (12)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - XML
n8n-nodes-base.xml - Sort
n8n-nodes-base.sort - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge
From the author
Summary This workflow enables the submission of business-critical URLs via the Google Indexing API and IndexNow. Why is this important for SEO? - If your objective is visibility within AI-powered search and answer engines (such as Copilot, Perplexity, or…