Filter sitemap URLs and inspect indexing status with Google Search Console
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on a schedule (every day). It uses only n8n's built-in nodes. It also calls searchconsole.googleapis.com and indexing.googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every day).
- Configuration (Edit Fields (Set)): sets 2 fields: sitemap_url, modified_after
- Read Sitemap (HTTP Request): calls an HTTP API
- Parse XML (XML): converts between XML and JSON
- Split Out: splits a list into separate items
- Filter: keeps only the items that match a condition
- Inspect URLs (HTTP Request): calls searchconsole.googleapis.com (POST)
- Filter: keeps only the items that match a condition
- Publish URLs (HTTP Request): calls indexing.googleapis.com (POST)
HTTP calls to: searchconsole.googleapis.com, indexing.googleapis.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.
Nodes used (6)
- HTTP Request
n8n-nodes-base.httpRequest - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
This workflow provides a data-driven approach to SEO by automating the indexing process. Instead of bulk-submitting every URL, it intelligently filters your sitemap for recent updates and verifies their status via Google Search Console before using your…