Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information

Accept all cookies

Connect Sanity to Sorank

You are here
All guides
Need Help ?
Sanity

Want to publish SEO articles to your Sanity project automatically? Sorank writes optimized posts and pushes them to Sanity through a webhook and an automation tool such as Make.com or n8n, so your headless blog grows on autopilot.

How the Sanity connection works

Sorank has no native Sanity connector, and that is intentional. Sanity is a headless CMS with an HTTP mutations API that creates documents directly. Instead of maintaining a connector, Sorank sends each finished article to your automation tool, Make.com or the open-source n8n, which calls Sanity to create the document.

  • Sorank generates the article: title, body, images, internal links, FAQ.
  • A webhook fires as soon as the article is ready.
  • Make.com or n8n sends a create mutation to the Sanity API to add the document.

Step 1: Open the Integrations page in Sorank

Click your profile avatar in the top-right corner, choose Settings, then open the Integrations tab and copy your webhook URL.

Step 2: Build the scenario in Make.com or n8n

  1. In Make.com or n8n, create a scenario that starts with a Webhook trigger and paste the Sorank URL.
  2. Add an HTTP request module. Sanity has no dedicated app, so use the generic HTTP module both tools provide.
  3. Target the mutations endpoint POST /v1/data/mutate/<dataset> with a write Bearer token and the header Content-Type: application/json.
  4. Map the Sorank fields into a create mutation for your document type and switch the scenario on.

Reference: Sanity mutations API.

Step 3: Publish an article

Open any article in Sorank, click Publish and confirm. The webhook fires, your scenario creates the document, and the post appears in your Sanity project with its images, links and FAQ.

Prefer zero setup?

If you would rather skip the automation step, Sorank can host your blog on your own subdomain, with no code. Your articles publish in one click and the SEO value stays on your domain.

Frequently asked questions

Does Sorank have a native Sanity integration? Not yet. Sanity connects through Make.com or n8n and its mutations API, fully automated once set up. A native connector is on the roadmap.

Can I use n8n instead of Make.com? Yes. Any tool that catches a webhook and sends an HTTP request works, including n8n, Make.com or Zapier.

Do images and internal links come through? Yes. Sorank sends the full article body, so images, internal links, tables and the FAQ are created with the post.