serverserv serverserv

Submit new pages to IndexNow: free n8n workflow template

By Siam Ahmed, software engineer · 3 min read · Updated

Get new pages found faster. Every hour this workflow reads your sitemap, spots URLs it has not seen before and submits them to IndexNow, which shares them with Bing, Yandex, Seznam and other search engines. No credentials needed.

Download the template

Free download
5 nodes · tested on n8n 2.46 · MIT licence · no credentials included
Download JSON

How it works

  1. Every hour starts the check.
  2. Settings holds your sitemap URL and IndexNow key.
  3. Get sitemap downloads the sitemap and Find new URLs compares it with the URLs seen last time, kept in the workflow's static data.
  4. Submit to IndexNow sends new URLs in one request. The first run only remembers your current URLs.

Nodes used: Schedule Trigger, Code, HTTP Request.

What you need

  • An IndexNow key: any string of 8 to 128 letters, numbers and dashes
  • A text file at https://yourdomain/your-key.txt that contains only the key

Set it up

  1. Create your key and upload the key file to your website's root folder.
  2. Import the workflow and set sitemapUrl and key in Settings.
  3. Activate the workflow. Static data is only saved on active runs, so manual test runs will not remember URLs.

Ways to customise it

  • Read a sitemap index with several sitemaps by fetching each child sitemap.
  • Get an email or Slack message listing what was submitted.
  • Also submit changed pages by comparing lastmod dates.

What about Google?

Google does not use IndexNow. Keep your sitemap submitted in Google Search Console, and request indexing there for your most important new pages. Google's Indexing API is only for job posting and livestream pages.

Where to run it

Scheduled workflows need n8n running all the time. You can try it on your own computer, but for real use it belongs on a server. serverserv n8n Hosting gives you n8n pre-installed on your own KVM server with HTTPS, from $13.39 a month, or $8.39 a month on a 3-year term, with no execution limits.

Questions

Which search engines use IndexNow?

Bing, Yandex, Seznam, Naver and others share IndexNow submissions with each other. Google does not use it.

Will it resubmit old pages?

No. The first run remembers every URL in your sitemap, and later runs only submit URLs that were not there before.

Is this n8n template free to use?

Yes. It is free under the MIT licence, for personal and business use.

Sources

Plans from $2.99/moSee plans