Signed webhook to your own route

Automated SEO articles for Next.js sites

For custom sites, AutomatedSEO sends each finished article to a route in your Next.js app as signed JSON. You decide where it's stored and how it renders.

Connect in three steps

  1. 1

    Add a route handler in your app, for example app/api/articles/route.ts, that accepts POST requests.

  2. 2

    In AutomatedSEO, choose Webhook, enter the route's URL and copy the signing secret.

  3. 3

    In your handler, verify the signature with the secret, save the article, and revalidate the blog pages.

What the webhook sends

Each request carries one article as JSON: title, slug, excerpt, the body as HTML and as structured blocks, meta title and description, featured image URL, publish date, and suggested internal links. A signature header lets you confirm the request came from AutomatedSEO.

Storing and rendering

Store articles wherever your content already lives: a database, a headless CMS, or files in your repository through a commit. Render them through your own blog route so they share your layout, components and metadata.

Get the SEO details right

  • Generate metadata for each article with generateMetadata, including a canonical URL.
  • Render Article JSON-LD from the same data that renders the page, so the two can't disagree.
  • Add every article to app/sitemap.ts.
  • Revalidate the article and the blog index when a new article arrives, so it's live immediately.

This site is built with Next.js and renders its own posts, schema and sitemap exactly this way.

Questions

Put your Next.js blog on autopilot

AutomatedSEO researches, writes and publishes 30 articles a month to your CMS, and interlinks every one.