Templates / Automated SEO indexing: sitemap to GSC & indexing API

Automated SEO indexing: sitemap to GSC & indexing API

Ready for 3.0

by Hàn Thiên Hải · 843 views · created 2025-12-20 · 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 17 nodes and runs on a schedule (every week) (plus 1 other trigger). 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 week) (plus 1 other trigger).

  1. Configuration (Edit Fields (Set)): sets 2 fields: sitemap, gsc_property
  2. Fetch Sitemap XML (HTTP Request): calls an HTTP API
  3. Convert XML to JSON (XML): converts between XML and JSON
  4. Parse Sitemap Structure (Code): runs custom JavaScript code
  5. Is Sitemap Index? (If): checks a condition and branches into true / false
  6. Format URL Data (Edit Fields (Set)): sets 3 fields: url, lastmod, currentDate
  7. Filter: keeps only the items that match a condition
  8. Check Submission History (Code): runs custom JavaScript code
  9. Filter: keeps only the items that match a condition
  10. GSC: Inspect URL Status (HTTP Request): calls searchconsole.googleapis.com (POST)

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

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.

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 (10)

From the author

This workflow helps SEO professionals and website owners automate the tedious process of monitoring and indexing URLs. It fetches your XML sitemap, filters for recent content, checks the current indexing status via Google Search Console (GSC), and…

Excerpt from Hàn Thiên Hải'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.