Templates / Index website pages in Google Search with sitemaps and Indexing API

Index website pages in Google Search with sitemaps and Indexing API

Ready for 3.0

by Minh Ngo · 1 views · created 2026-11-17 · Market Research

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 18 nodes and runs on a schedule (every day at 06:00) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls indexing.googleapis.com over HTTP.

How it runs

Trigger: On a schedule (every day at 06:00) (plus 1 other trigger).

  1. Config (Edit Fields (Set)): sets 3 fields: sitemap_url, days_back, max_urls_per_run
  2. Fetch root sitemap (HTTP Request): calls an HTTP API
  3. Parse root sitemap (XML): converts between XML and JSON
  4. List child sitemaps (Code): runs custom JavaScript code
  5. Fetch each sitemap (HTTP Request): calls an HTTP API
  6. Parse each sitemap (XML): converts between XML and JSON
  7. Extract page URLs (Code): runs custom JavaScript code
  8. Loop over URLs (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Get indexing metadata (HTTP Request): calls an HTTP API
  10. Route by indexing status (Switch): routes items into 3 branches

…plus 5 more steps. See the full node list below.

HTTP calls to: 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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

Quick overview This workflow runs on a schedule (or manually) to fetch your website’s sitemap URLs, compare each page’s last modified date with Google Indexing API metadata, and submit URLUPDATED requests for new or recently changed pages using Google OAuth2.…

Excerpt from Minh Ngo's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.