All posts

Build your own Notion to Framer sync with the Server API or n8n, or use KnotCMS

Framer's Server API can sync Notion to your CMS. Build it yourself for one simple site; for client sites, here are the 13 problems you would have to maintain.

Yes, you can build it. Framer’s Server API lets a script on any server write to your CMS and publish, and Framer names a Notion sync as an example use. The core is a scheduled job that reads the Notion database, calls addItems and removeItems, then publishes and deploys.

Build it yourself if you run one site with simple fields and like owning the code. Use KnotCMS if you hand sites to clients and would rather not write, host and upgrade a sync for each one. It does not take you off call: it sends no alerts, and for a bug in KnotCMS you email me, the one person who runs it. KnotCMS runs on the same API, so below are the 13 problems I had to solve, and which ones broke something first.

I build KnotCMS, so weigh my view accordingly. The Server API is in open beta, so some of this will change.

What Framer’s Server API can do, and what it costs

The Server API is a JavaScript SDK, framer-api on npm, announced on February 12, 2026 and “free during open beta”. The FAQ says Framer will “likely charge for this API on a per-use basis, with a monthly free allowance”, and that “a full hour of processing will likely cost a few dollars”. Budget for a fee with no price yet.

Four facts shape what you build:

  • It runs over a WebSocket. There is no REST endpoint. If a tool needs REST, the FAQ says to wrap the SDK yourself: “Don’t forget to add strong authentication.”
  • It is “not in any way transactional”. You “handle partial failures” yourself.
  • The key belongs to one person and one project. It authenticates your script “as the user who created them” (quick start). Decide whose account owns it before you hand the site over.
  • Publishing takes two calls. publish() makes a preview and deploy(id) promotes it to production (reference). End with disconnect(), or the script will not exit.

I found no published rate limit for the Server API, but I ran into one: Framer refuses a publish that comes too soon after the last, with “Publishing is currently unavailable”. KnotCMS waits 3 minutes between previews and 5 between live deploys. Those numbers are mine, not Framer’s.

If you build it: the smallest sync that works

Start with Framer’s own example, notion-automations-sync, a Cloudflare Worker that a Notion automation calls with “Send webhook”. It is a short example meant to be extended. Its strength is that Notion calls it when a page is added or a property changes, so there is no polling. Its README and source show what you would add:

  • Automation webhooks are on paid Notion plans only and carry properties, not the page body.
  • No bulk sync, so existing rows arrive only when someone edits them. The README points to Notion’s REST API for an initial sync.
  • Deleting means ticking a “Deleted” checkbox.
  • It writes text, date, number and true/false fields only, flattens rich text, and names every slug item- plus the page ID.
  • Auto-publish is on by default, so every change publishes and deploys. Set AUTO_PUBLISH to false in src/config.ts to publish by hand.

For a blog of titles and dates, that is enough. Beyond it, read the database in a loop, passing next_cursor back while has_more is true (pagination). Turn each row into fieldData keyed by Framer field ID, with an id and a unique slug. addItems updates items whose ID matches and inserts the rest (addItems); removeItems takes the IDs no longer in Notion. Run it on a schedule.

The Framer half is seven lines:

import { connect } from "framer-api"
const framer = await connect(projectUrl, process.env.FRAMER_API_KEY)
const collection = await framer.getCollection(collectionId)
await collection.addItems(items)
const { deployment } = await framer.publish()
await framer.deploy(deployment.id)
await framer.disconnect()

If you build it in n8n: the Framer node needs self-hosting

n8n has no official Framer node. The community node n8n-nodes-framer-cms wraps framer-api, but it is unverified, and “Unverified community nodes aren’t available on n8n cloud and require self-hosting n8n” (installation). Loading framer-api in a Code node needs NODE_FUNCTION_ALLOW_EXTERNAL, which you can only set on your own instance. So self-host n8n, or keep n8n Cloud and have its HTTP Request node call a small endpoint you host in front of framer-api. The self-hosted Community Edition is free, and the Notion node can read a page body with its Get Markdown block operation.

The Notion Trigger has two events, page added and page updated, and no event for a deleted page, so add a step that compares IDs. Like every n8n polling trigger, it runs at most once a minute (n8n core).

13 things a production sync has to handle

Each of these is something KnotCMS has to handle. Where one broke something for me or a customer, I say so.

  • Notion rate limits. Notion allows 180 requests a minute per connection on most plans and 600 on Business and Enterprise, but database queries have their own limit of about 3 a second on every plan, and a workspace-wide budget can throttle you even under those (request limits). KnotCMS retries a 429 at most twice; a longer Retry-After waits for the next scheduled run.
  • The Notion API version. Version 2025-09-03 moved queries to data sources, and the change “is not backwards-compatible” (upgrade guide). Pin the version.
  • Knowing what changed. Notion rounds edit times to the minute. While building the checker in September 2026, I found nearly every sync it started was followed by a second, needless one, and with live auto-publish, a second deploy. It now waits 2 seconds past each minute and leaves the current minute for the next check.
  • What polling cannot see. A deleted row does not move the newest edit time, and a rollup can change with no row edit. KnotCMS catches these on the next edit or Sync now, when it reads the whole database. Notion’s API webhooks are the alternative, with a public endpoint and a verification handshake.
  • Image links. A Notion file URL is “valid for 1 hour” (file object) and re-signed on every request, so compare it without its X-Amz- query string. On November 14, 2026 I tested what Framer does with an image in a page body. It copies one it can download. One it cannot, it keeps as the original URL and says nothing, and an hour later that is a broken image. Upload body images with uploadImage, which fails loudly.
  • One bad file. Framer refuses a whole batch over one file. A customer’s two JPGs with an invalid EXIF orientation cost 33 other rows their images (the write-up). Split a refused batch down to the bad file.
  • Field types. One wrong value fails the batch. A Notion Select has to become the Option field’s case ID, and a blank one needs a case to land on. Default Notion text to Framer Plain text, the type Framer text styles apply to. A paying customer’s text arrived as Formatted text and the styles would not apply.
  • Slugs. Framer wants them unique; check for duplicates before sending. Read a Formatted text source as plain text: in September 2026 mine turned <p>Hello</p> into phellop. Keep the slug out of the title field. A paying customer’s titles rendered as my-great-post because the slug had been mapped into the title.
  • Partial failures. KnotCMS retries transient failures (a 429, a timeout) in 2 minutes, and backs off terminal ones (revoked access, a bad key) until the fifth pauses the project. It runs one sync per collection at a time; give your script a lock that does the same.
  • Whether the publish worked. publish() returns before Framer knows whether the site builds. Until September 15, 2026, KnotCMS showed “Deployed” over a failed build. framer-api 5.0.0 added a deployment status and getDeploymentIssues, so wait for the result and read Framer’s reason (what a stale publish looks like).
  • SDK upgrades. framer-api went from 0.1.30 to 5.0.0 on September 8, 2026 (npm). KnotCMS merged the move six days later. A script you set up for a client in March stays on its old version until someone upgrades it.
  • Error messages. Framer’s raw errors read like “Field not found for key”. Log each with the Notion page ID and slug, or you will not know which row to fix. KnotCMS maps each to a plain message and the screen where you fix it.
  • Where it runs, and who hears about a failure. You need a scheduler, encrypted storage for two credentials, and somewhere failures go. KnotCMS uses two Cloudflare Workers and a cron every minute, and shows failures on the collection page with no alerts. In your script, send yourself a message on a terminal failure, so you hear before the client does.

Cost: your own script vs n8n vs KnotCMS

As of November 2026.

Your own scriptn8nKnotCMS
Runs onYour server or WorkerSelf-hosted n8nKnotCMS’s servers
PriceCan be $0 on a free hosting tier (Framer’s example is a Cloudflare Worker), plus your timeCommunity Edition is free to self-host; you pay for the server and your timeFree: 1 site, 10 syncs in total, up to 50 rows per sync, auto-sync pauses after 30 days without changes. Starter $9/mo or $85/yr, 1 site; Studio $39/mo or $390/yr, 5 sites; Agency $99/mo or $990/yr, 20 sites
Images and page bodiesYou build itYou build itIncluded; page body optional
Deleted rowsYou build itYou build itRemoved on the next edit or Sync now
Notion relationsYou build itYou build itNot supported
Notion API and SDK upgradesYouYou, plus the node’s maintainerKnotCMS
AlertsWhatever you buildWhatever you buildNone; failures show on the collection page
When it breaksYou find and fix itYou find and fix itNotion or Framer causes: you fix them from a plain-language message. KnotCMS bugs: email me, usually answered within 1–2 business days, no SLA

Price your own hours against the checklist above. That is the number to compare.

When building it yourself is the better choice

  • One site, text, dates and numbers, and you will notice when it stops.
  • You need Notion relations as Framer references. KnotCMS does not map relations.
  • You need a transform no tool offers, a source other than Notion, or edits flowing back from Framer.
  • You want deletions to reach Framer as they happen. Notion’s API webhooks report a page moved to the trash, usually within a minute; KnotCMS only notices on the next edit or Sync now.
  • The content must never pass through someone else’s servers.
  • You would rather spend an afternoon than $85 a year, and you will keep framer-api up to date yourself.

When KnotCMS is the better choice

  • A client edits in Notion, never opens Framer, and the site should publish after a sync.
  • You run several client sites and do not want to maintain a script for each.
  • You want images, page bodies and deletions handled, and failures shown on the collection page with the fix, including which items lost an image.

KnotCMS checks Notion once a minute from its own servers. Know its limits: it syncs one way, has no relations and no alerts, and setup cannot pair an existing Notion database with an existing Framer collection.

One person runs it, with no security certification. Email [email protected] and you reach the person who wrote the sync. Your content stays in Notion and your Framer CMS, and cancelling moves you to Free limits and deletes nothing. Free covers one site with 10 syncs in total and up to 50 rows per sync, and an edit reaches Framer about 3 minutes after you stop editing. Starter, $9 a month or $85 a year, removes both caps.

Setup is on how the Notion to Framer sync works. If you write the content yourself, Framer’s free Notion plugin may be enough; for two-way sync, read Whalesync vs KnotCMS. For every other option, including Zapier and Make, see every way to sync Notion with Framer.

Questions

Does the Server API need Framer open?

No. Framer describes it as a way to update and publish projects “without opening the Framer project from a client” (introduction). Framer’s own Notion plugin syncs only when someone opens it in the editor.

Can I trigger on Notion changes without a paid Notion plan?

Yes. Poll for the newest last_edited_time, or use Notion’s API webhooks. Notion’s automation “Send webhook” action, which Framer’s example uses, is on paid plans only.

Can I call the Server API from Zapier or Make?

Not directly. The Server API runs over a WebSocket, so put a small endpoint in front of it, with the strong authentication Framer’s FAQ asks for, and call that from a webhook step. For the Zapier, Make and plugin options that exist today, see every way to sync Notion with Framer.

How this was checked

Framer, Notion and n8n facts come from their own pages and repositories, linked above and checked on November 17, 2026. KnotCMS facts come from its source code, commit history and docs. KnotCMS is not affiliated with Framer, Notion or n8n.

Stop updating website content twice.

Design in Framer. Manage content in Notion. Let KnotCMS keep everything in sync.

Free plan for 1 site · No subscription needed