Simple Google indexing workflow in n8n
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls bushidogym.fr and indexing.googleapis.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- sitemap_set (HTTP Request): calls bushidogym.fr
- sitemap_convert (XML): converts between XML and JSON
- sitemap_parse (Split Out): splits a list into separate items
- url_set (Edit Fields (Set)): sets or maps fields
- loop (Loop Over Items (Split in Batches)): loops over the items in batches
- url_index (HTTP Request): calls indexing.googleapis.com (POST)
- index_check (If): checks a condition and branches into true / false
- Wait: waits 2 seconds
- Stop and Error: stops the run with an error
HTTP calls to: bushidogym.fr, 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 (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Stop and Error
n8n-nodes-base.stopAndError
From the author
What it does The workflow is a simple yet efficient way to automate the process of indexing your website on Google using the Google Indexing API. How it works It works by extracting information from your sitemap, converting it into a JSON file, and looping…