Inserting fixes

Connect Webflow to insert links

Create a Webflow site API token with CMS read and write so NodeLens can insert links into published collection items, and see what it can't edit.

On this page
  1. What you need
  2. Steps: create a site API token
  3. Steps: connect in NodeLens
  4. What the check looks for
  5. What NodeLens edits
  6. Edits go live at once
  7. Revoke access
  8. Questions

To insert links into Webflow, you give NodeLens a site API token with CMS access. NodeLens then edits rich-text fields of your published CMS collection items. It doesn’t edit static pages, the design or site settings.

What you need

  • Access to the site’s Site settings in Webflow, to make a token.
  • The site’s Webflow site ID: 24 letters and digits, under Site settings → General.
  • An owner or admin in NodeLens, and a plan. Insert isn’t part of the free crawl.

Steps: create a site API token

  1. In Webflow, open Site settings → Apps & integrations → API access.
  2. Choose Generate API token.
  3. Set CMS to read and write, and Sites to read only. Leave every other permission off.
  4. Generate the token and copy it.
Permission Setting Why
CMS Read and write NodeLens reads and edits collection items
Sites Read only Lets NodeLens check the token is for the site you crawled
Everything else Off NodeLens refuses tokens with any other permission

Steps: connect in NodeLens

  1. In Actions, pick fixes and press Insert.
  2. Under Your CMS, choose Webflow.
  3. Enter the Webflow site ID.
  4. Paste the Site API token.
  5. Press Connect and check. When the check passes, the preview opens. If it passes with a note, press Continue to the preview.

The token is kept encrypted for this project and only ever sent to Webflow’s API. See security and privacy.

What the check looks for

Message What to do
“This token can do more than edit CMS content (…). Create a site token with only CMS read and write.” Make a new token with only the permissions above
“This token is missing the cms:write scope.” Set CMS to read and write
“This token isn’t for the Webflow site id you entered.” Check the site ID, or make the token on the right site
“This Webflow site serves …, not …” The crawled domain isn’t on this Webflow site
“The site ID is 24 letters and digits.” Copy the site ID again

What NodeLens edits

NodeLens matches a crawled URL such as /blog/winter-boiler-checks to the item with slug winter-boiler-checks in the collection with slug blog. In that item, it edits a rich-text field.

Content Edited?
Rich-text fields of published collection items Yes
Other item fields: name, slug, images, plain text No
Static pages built in the Designer, such as the home page No
Items in collections with no rich-text field No

A crawled URL NodeLens can’t match, or one in a collection with no rich-text field, shows “Not found in Webflow (only CMS collection items can be edited)” and stays out of the batch. If an item has rich-text fields but none has room for the link, the reason says why. Each new link sits inside the item’s text, so it is a body-text link.

Edits go live at once

NodeLens writes to the live version of each item, so the change shows on your site straight away. There is no separate publish step in Webflow. That’s why the preview matters: check each Before and after before you confirm. The preview, count and undo are on how inserting works.

Revoke access

  1. In Webflow, open Site settings → Apps & integrations → API access.
  2. Revoke the token you made for NodeLens.

NodeLens stops writing to the site straight away. To remove the token from NodeLens too, press Disconnect in Settings → Publishing, then confirm. Undo needs a working token, so undo any links you want removed first.

Questions

Can NodeLens edit my home page or other static pages?

No. It edits rich-text fields of published CMS collection items only.

Do I need to publish after an insert?

No. NodeLens writes to the live item, so the change shows on your site straight away.

Was this page helpful? If something is missing or wrong, email [email protected] and tell us what you were trying to do.

Last updated