workflows.fit
Back to n8n workflows
n8n templateFreeBy Eduard

Get your website indexed by Google automatically

🚀 Supercharge Your Website Indexing with This Powerful n8n Workflow! 🌐 Google page indexing too slow? Tired of manually clicking through each page in the Google Search Console? 😴 Say goodbye to that tedious process...

DevelopmentCore NodesManual TriggerSplit OutHttp RequestSplit In Batches
Loading interactive preview...

Template notes

🚀 Supercharge Your Website Indexing with This Powerful n8n Workflow! 🌐

Google page indexing too slow? Tired of manually clicking through each page in the Google Search Console? 😴 Say goodbye to that tedious process and hello to automation with this n8n workflow! 🎉

NB: this workflow was tested with sitemap.xml generated by Ghost CMS and WordPress. Reach out to [Eduard](https://www.linkedin.com/in/parsadanyan/) if you need help adapting this workflow to your specific use-case!

⚙️ How this automation works

1. 📅 The workflow runs on a schedule or when you click "Test workflow". 2. 🌐 It fetches the website's primary sitemap.xml and extracts all the content-specific sitemaps (this is a typical structure of the sitemap). 3. 📑 Each content-specific sitemap is then parsed to retrieve the individual page data. 4. 🔄 The extracted page data is converted to JSON format for easy manipulation. 5. 🗃️ The lastmod (last modified date) and loc (page URL) fields are assigned to each page entry to ensure compliance with the [Sitemap protocol](https://www.sitemaps.org/protocol.html). 6. 🔀 The page entries are sorted by the lastmod field in descending order (newest to oldest). 7. 🔁 The workflow then loops over each page entry and performs the following steps: - 🔍 Checks the URL metadata in the Google Indexing API. - ✅ If the page is new or has been updated since the last indexing request, it sends a request to the Google Indexing API to update the URL. - ⏳ Wait a sec and move on with the next page.

🌟 Benefits

- ⏰ Save time by automating the indexing process. - 🎯 Ensure all your website pages are consistently indexed by Google. - 🚀 Improve your website's visibility and search engine rankings. - 🛠️ Customize the workflow to fit your specific CMS and requirements.

🔧 Getting started