Skip to content

Sync Notion page content

Each row in a Notion database is also a page, with its own body: the paragraphs, headings, lists and images you write when you open the row. KnotCMS can send that body to a Formatted text field in your Framer collection, so a blog post or case study can be written in Notion like any other page.

Setting up a blog? Run a blog from Notion walks through the database, the field mapping and the Framer pages.

Page content is off until you turn it on. It works with Notion databases on every plan, Free included.

Page content is a row in the field mapping, next to your database’s properties.

  1. Open the field mapping: step 3 · Fields when you set up a collection, or Connection → Edit connection on an existing one. See Edit a connection.
  2. Find the row named Page content. Its type reads Page body, and under it: The text inside each Notion page. Updates when you edit the page.
  3. Check it. The Framer column is called Content unless a property already uses that name. Rename it if you like.
  4. Save, or finish setup with Create & sync.

Page content always goes to a Formatted text column, and it cannot be the slug. If the collection already has a column with the name you choose, that column must be Formatted text too. A column that exists keeps its type. See Changing a column’s type.

Page content follows the normal sync. Rows reach Framer first, then KnotCMS reads the bodies of the pages that need it and writes them into the column you chose. A page needs it when:

  • it is new to the collection,
  • its body or any of its properties was edited in Notion, or
  • its slug changed.

Editing only the body is enough, even text nested inside a toggle or a column. Notion counts it as an edit to the page, so auto-sync picks it up on the same schedule as a property change. A body that comes out the same as before is not written again.

Filling bodies does not use an extra sync. With auto-publish on, KnotCMS waits until the bodies are written, for up to 15 minutes, and then publishes. It still keeps the usual publish cooldown. See Page content and publishing.

KnotCMS reads up to 25 pages at a time and carries on until every body is done. On the first sync of a large database, the rows appear first and the bodies fill in over the next few minutes. Meanwhile the collection’s page shows Page content: filling in N pages…. Later syncs only read the pages you edited, so they are quick.

In NotionIn Framer
Text, with bold, italic, inline code and linksParagraphs, with the same formatting
Heading 1 to 4Heading 1 to 4
Bulleted and numbered listsLists, nested to any depth
To-do listLines starting with ☐ or ☑
ToggleThe toggle’s line in bold, then its content, always open
Toggle headingThe heading, then its content
QuoteQuote
CalloutQuote, starting with the callout’s emoji
DividerDivider
CodeCode block. The language is kept when Framer supports it.
TableTable, with its header row
ImageImage, copied to Framer. See Images.
YouTube and Vimeo videosEmbedded video
Bookmark, embed, link previewA link
ColumnsThe columns’ content, one after another
Synced blockIts content
Block equationInline code

These blocks are skipped. The rest of the page still syncs.

  • Text colour, highlight, underline and strikethrough (Framer’s Formatted text removes them)
  • Videos uploaded to Notion, audio, PDFs and other file attachments
  • Child pages and linked or inline databases
  • Table of contents, breadcrumbs, buttons and templates
  • Tabs, meeting notes and HTML embeds
  • Any block type KnotCMS does not know

Links to javascript: and data: addresses are removed. A link to another Notion page is kept only when it is a full notion.so address. Visitors can only open it if the Notion page is public.

A synced block shows the content of its original. If KnotCMS cannot read the original, because it lives in a page you did not share with KnotCMS, the block comes through empty.

Notion’s own image links expire after about an hour, so KnotCMS uploads every image in a body to Framer and points the body at Framer’s copy. Nothing on your site depends on a Notion link.

When Framer cannot download an image:

  • An image uploaded to Notion: KnotCMS keeps the page’s previous body in Framer and tries again the next time the collection syncs: after any edit in the database, or when you click Sync now (on Free that spends a sync). It tries up to five times. Publishing without the image would lose it, and publishing Notion’s link would break within the hour. The collection’s page shows how many pages could not be written, with the reason, for example Page content: 1 page could not be written. After five failed tries, replace the image in Notion with a JPG, PNG or WebP and edit the page.
  • An image from another site keeps its original address. Framer cannot copy it, but a visitor’s browser may still be able to load it.

The body is plain HTML: paragraphs, headings, lists, quotes, code, tables and images. It has no fonts or colours of its own, so it takes its look from your Framer site, the way any Formatted text field does. Style it on the text layer you connect the field to.

Framer’s Formatted text cannot hold Framer components, so the body cannot contain buttons, forms or other components. Put those on the page around it.

Notion is the source. If you change a body by hand in Framer, your change stays until the page’s body changes in Notion, and then the Notion version replaces it. Editing only the page’s properties leaves the body alone. Sync now does not undo a hand edit on its own, because it only rewrites bodies that changed in Notion.

To change what a page says, edit it in Notion.

  • Pointing Page content at a different Framer column writes every body again, into the new column.
  • Turning it off stops KnotCMS reading and writing bodies.
  • Turning it back on writes every body again.

On a large database, the rewrite fills in over a few minutes, as on the first sync.

Notion hands over a page in pieces: up to 100 blocks at a time, plus one more read for every toggle, column, list item or other block that holds blocks of its own. A page that needs more than 40 of those reads is too long to sync. KnotCMS leaves its body in Framer as it was, rather than publish half an article. For a new page, that means the body stays empty.

To fix it, split the page into shorter ones, or flatten deeply nested toggles and columns. The next edit to the page tries again.