Skip to content
Coding Script or NotebookGoogle ColabFree

Webflow Bulk Internal Linking with the Data API (Colab Notebook)

ForInternal linking

By Lazarina Stoy· Updated 5 Dec 2026

Webflow has no plugin layer that can add internal links to your pages, so links have to live in the content itself. Adding them by hand works for one new post. It doesn’t work for a backlog of a hundred approved link suggestions across older posts. This free Google Colab notebook does that job through Webflow’s official API (Data API v2): it writes approved links into your CMS rich text fields, and can also fill a multi-reference “Related posts” field, with a dry run, drafts you review in Webflow, and a rollback.

Who it’s for

SEOs, content leads and Webflow developers with a CMS blog or resource collection, a list of internal link suggestions they’ve reviewed, and a site administrator who can create an API token. If you’re still deciding which links to add, start with the paired guide on native Webflow patterns.

How to use it

  1. Open the notebook in Colab and run it with USE_SAMPLE = True. Every step, including the write, publish and rollback, runs against a fake seven-post blog built from response shapes in Webflow’s API reference. No token needed.
  2. Ask a site administrator for a site token with the CMS read and CMS write scopes, and store it as the Colab secret WEBFLOW_TOKEN.
  3. Set your collection ID, the URL folder its items live under, the slug of the rich text field and (optionally) the related field, then load your link list: source_url, target_url, anchor and status.
  4. Run the dry run and read every diff. Rows that can’t be applied are listed with a reason.
  5. Switch WRITE = True to send the changes as drafts. Published posts show “Changes in draft” and the live page waits.
  6. Review the drafts in Webflow, then switch PUBLISH = True to publish only the items from that run.

What you get

  • Links on the first plain-text mention of each anchor, in paragraphs and list items only, never inside an existing link, a heading, code or a Webflow component.
  • Related posts added to a multi-reference field that has room, without removing an editor’s picks.
  • A backup of every item before the run, a log that only grows, and your link list updated with staged and applied statuses and the date each link went live.
  • A rollback cell that restores the changed fields as drafts and skips anything edited since.

Limits and costs

The notebook is free. Webflow rate limits API requests per token by site plan (60 a minute on Starter and Basic, 120 on CMS, eCommerce and Business), and the notebook waits and retries when Webflow asks it to. It edits CMS items only: static pages are edited in the Designer. Posts that contain a code block are skipped and listed for a hand edit, because Webflow’s API reference says code blocks in rich text don’t survive an API write. Secondary locales aren’t covered.

I built and tested the notebook against mocked responses shaped like the official reference; it hasn’t been run against a live Webflow site yet, so try it on a couple of posts or a duplicate collection first.

Read the paired guide, Webflow internal linking without apps, and for the full pipeline from audit to measurement see the course AI-powered Internal Linking Audit and Automation.

What’s included

  • Links the first plain-text mention of each anchor in Webflow rich text, never inside links, headings, code or components
  • Optionally fills a multi-reference "Related posts" field from the same approved link list
  • Dry-run diff by default; writes go in as drafts ("Changes in draft") and publishing is a separate switch
  • Backup before every run, an append-only log, and a rollback that skips items edited since
  • Runs end to end in sample mode on mocked Data API v2 responses, no token needed