Automation

SitemapKit + n8n

Use SitemapKit in n8n workflows to automate sitemap monitoring, content discovery, and SEO audits. Connect sitemap data to 400+ other services.

Written by SitemapKit Editorial TeamUpdated: Jul 21, 2026

Prerequisites

  • A SitemapKit API key kept outside browser and mobile client bundles.
  • A server-side n8n environment that can make HTTPS requests and parse JSON responses.

How to connect SitemapKit and n8n

  1. 1

    Store the API key for n8n

    Use the secret or environment-variable mechanism provided by your automation setup. Never expose the key in client-side code.

  2. 2

    Call the SitemapKit full endpoint

    Adapt the request shown in the n8n example below and send the target domain from a trusted server process.

  3. 3

    Map the response in n8n

    Handle discovered sitemap files, extracted URLs, lastmod values, truncation flags, and API errors before passing the result downstream.

Quick start

// n8n HTTP Request Node configuration:
// Method: POST
// URL: https://sitemapkit.com/api/v1/sitemap/full
// Headers:
//   Content-Type: application/json
//   x-api-key: {{ $credentials.sitemapkitApi.apiKey }}
// Body (JSON):
{
  "url": "{{ $json.domain }}"
}

// Then use a Code node to process results:
const urls = $input.all()[0].json.urls;
const blogPosts = urls.filter(u => u.loc.includes('/blog/'));
return blogPosts.map(u => ({ json: u }));

Continue with SitemapKit

Start using SitemapKit with n8n

100 free API calls/month. No credit card required.

More Automation integrations