Skip to main content

Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow

Workflow preview

Workflow preview
100%
Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n template saves you hours of manual SEO work by automatically parsing your sitemap and submitting updated URLs to Google and Bing (IndexNow). Who’s it for Site owners, SEOs, and marketers w...

Best for

  • Content Creation automation workflows
  • Market Research automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.xml, n8n-nodes-base.splitout, n8n-nodes-base.sort, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Geoffroy.

Original n8n.io source

1.1 Workflow description

Title
Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow
Workflow name
Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow

This n8n template saves you hours of manual SEO work by automatically parsing your sitemap and submitting updated URLs to Google and Bing (IndexNow).

Who’s it for

Site owners, SEOs, and marketers who want a single automation to notify Google (Indexing API) and Bing (via IndexNow) whenever site URLs are added or updated. No more need to update it manually. Hours saved

What it does

This workflow parses your sitemap.xml, and for each URLs that have been changed on the last X days (this is a setting from Config node), submit them to Google and Bing via IndexNow. Before submitting to Google it checks the status. For IndexNow it just submits based on the last updated date it can find on the sitemap.

How it works

  • Parses your sitemap(s)to generate a list of urls ordered by lastmod date.
  • Create a batch of the urls updated in the last X days (settings DAYS_BACK from the "Config" node)
  • For Google, it first aks the current indexing notification status of this exact URL. If the sitemap shows the page was modified after the last submission, the workflow sends a new "URL_UPDATED" notification to Google. If Google has no record (404), it means the URL was never submitted and the workflow treats it as new and submits it.
  • For Bing through IndexNow, it only sends “recently changed URLs” based on the sitemap’s <lastmod> and the variable DAYS_BACK from the Config Node, by batches of 500 (current limit recommendation by Bing). IndexNow doesn't have an API to check the status of the url.

Requirements

How to use

  • Edit the "Config" node with your data & preferences (everything explain in the workflow).
  • Edit the "Check status (Google)" and "URL updated (Google)" node with your Google service account credentials.
  • Execute the workflow to test it
  • Set up a cron with the "Schedule Trigger" node depending on your needs

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking "Test workflow"

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.1

Block 3 - Config

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 4 - Get sitemap.xml

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 5 - Convert sitemap to JSON

Type / Role
n8n-nodes-base.xml - xml
Config choices
Version 1

Block 6 - Get content-specific sitemaps

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 7 - Get content of each sitemap

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 8 - convert page data to JSON

Type / Role
n8n-nodes-base.xml - xml
Config choices
Version 1

Block 9 - Force urlset.url to array

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 10 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 11 - Sort

Type / Role
n8n-nodes-base.sort - sort
Config choices
Version 1

Block 12 - Assign mandatory sitemap fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 13 - Filter: lastmod within DAYS_BACK

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Loop Over Items (Google)

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 15 - Check status (Google)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 16 - is new? (Google)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 17 - URL Updated (Google)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 18 - Wait (Google jitter)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 19 - Split In Batches (IndexNow ≤500)

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 20 - Build IndexNow payload

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - IndexNow Submit

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 22 - Wait (IndexNow jitter)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 23 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow
Complexity advanced
Nodes 28
Categories Content Creation, Market Research
Author Geoffroy
Published 20 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8778/8778.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Workflow for submitting changed sitemap URLs using Google Indexing API and Bing IndexNow do?

This n8n template saves you hours of manual SEO work by automatically parsing your sitemap and submitting updated URLs to Google and Bing (IndexNow). Who’s it for Site owners, SEOs, and marketers w...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Market Research use case.