Skip to content

docs(content): document sending pages to Framer as draft items (Send to CMS #1331) - #1581

Merged
gkhngyk merged 41 commits into
ansvisor:mainfrom
cihan-gyk:docs/cms-framer
Oct 28, 2026
Merged

gkhngyk merged 41 commits into
ansvisor:mainfrom
cihan-gyk:docs/cms-framer

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Send to CMS, phase 2 (#1331): Framer, the docs. They cover what #1574–#1576 and #1578–#1580 built.

Stacked on #1573 (the WordPress docs), which is stacked on #1507 (Webflow's). All three change send-to-cms.mdx. This PR's own change is its last commit, docs only.

guides/send-to-cms.mdx:

  • Intro. Four ways now: Webflow, WordPress, Framer, your workflow.
  • Connect Framer (new). It covers:
    • the API key from the project's Site Settings → General, made by a user who can edit the CMS;
    • the card's project address (or id) and key;
    • the collection and field table: title and page required; meta title, meta description and JSON-LD optional;
    • the suggested fields, and only the project's own collections;
    • collections marked when they have a required field Send to CMS can't fill, or no title or page field;
    • the JSON-LD field in a script tag;
    • what's checked, and that a view-only key shows up at the first send;
    • Replace key, Disconnect (delete the key in Framer, since it can't be revoked), and Key refused;
    • a self-hosting note: CONNECTOR_CREDENTIALS_KEY, Node 22 or later, wss://api.framer.com, FRAMER_API_LOG_LEVEL.
  • Choose where pages go. Framer joins the order (Webflow, WordPress, Framer, your workflow), with when it isn't ready.
  • To Framer (under Send one page):
    • a draft item with the title, slug, page and the picked fields;
    • tables kept, images not yet sent;
    • the meta description fallback, and JSON-LD emptied when the page has none;
    • the slug form, and a clashing slug stopping the send;
    • updates keeping the item's state, and a published item's changes waiting for the site's next publish;
    • the toast;
    • Published once the item is out of draft and the site is published, at the site's address and the collection page's path, plus "Removed in Framer".
  • Send several pages and See how a send went: Framer counts toward the 200 a day, can't take a page twice at once, and the paper plane covers its draft items.

api-reference/webhooks.mdx: pages sent to Framer don't fire content_draft.sent either. guides/content-editor.mdx: the Send to CMS line names Framer.

Related issue

Part of #1331 (phase 2, Framer). Stacked on #1573 → #1507. Merge after the Framer code PRs, #1574 (Node 24) included: the self-hosting note says the image runs 24.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

Read docs/guides/send-to-cms.mdx, or run mint dev in docs/ and open Send to CMS. Each statement can be checked against the code:

  • the connection and the check: server/src/lib/cms/framer.js and routes/cms-framer.js;
  • what goes: framer-items.js and framer.js writeItem;
  • the published check: framer-status.js;
  • the card: web/src/components/settings/framer-card.tsx and settings.framer in en.json;
  • the Send dialog: web/src/components/content/cms-target.tsx and send-to-cms-dialog.tsx.

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

Docs only: no web or server code changed, so the web checks don't apply. A pre-push review checked each statement against the Framer PRs' code. Its findings are folded in: the half-sent item taken back, the published check's waits (a change after the last publish, a page sent again, past 60 days, no collection page), how the fields are suggested and when Save stays off, the slug's form, and the self-hosting note's missing key and changed key. One line I couldn't check in the code ("the key is shown once") is left out.

🤖 Generated with Claude Code

cihan-gyk and others added 13 commits October 25, 2026 17:45
…hey go (Send to CMS ansvisor#1331, phase 2 part 5)

Send to CMS's guide covers connecting a brand's Webflow site (site token,
scopes, collection and field map, the JSON-LD embed, self-hosting env),
choosing Webflow or the workflow in the Send dialog, what a Webflow send
does (draft item, updated in place, tables as lists, no images yet, the
meta description's fallback), the shared daily cap and the Library mark.
The Content Editor guide and the webhook event table say which sends go
through the webhook.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…slug and the 60-day check (review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ur workflow, and says so (review)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ord and send pages to it as draft posts (ansvisor#1331)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… read when the Library opens and daily (ansvisor#1331)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ss-server

# Conflicts:
#	server/src/lib/content-delivery.test.js
#	supabase/schema.sql
The Send dialog (editor, Library row, bulk) offers the brand's WordPress
site beside Webflow and the webhook. A remembered CMS that isn't ready
goes to the webhook, never the other CMS. The toast says when a live post
got a new draft and when JSON-LD was left out. The Library marks rows sent
to WordPress and asks /wordpress-status once per brand per visit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd to CMS ansvisor#1331)

Connect WordPress (Application Password, the site check and what its
messages mean, change sign-in, disconnect, self-hosting key), where pages
go with three targets, what goes to WordPress and when a send makes a new
draft, the published check, bulk and Library lines, and the webhook and
editor guide lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…to CMS ansvisor#1331)

Connect Framer (API key from Site Settings › General, the card, the
collection and field table, marked collections, key replaced or refused,
self-hosting: CONNECTOR_CREDENTIALS_KEY, Node 22+, wss://api.framer.com,
FRAMER_API_LOG_LEVEL), Framer in where pages go, what goes to Framer and
when the page becomes Published, bulk and Library lines, and the webhook
and editor guide lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 9a99c1d.

Approve preview

cihan-gyk and others added 9 commits October 28, 2026 03:07
… has ended

Since ansvisor#1589 a workspace whose plan has ended can't write, but taking back an
outside account's access stays open (COST_STOPPING), as Webflow's disconnect
does. WordPress's disconnect revokes the Application Password where the site
allows, so it joins the list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e published in Framer gets its address on its own (Send to CMS ansvisor#1331)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the needs-migration Adds or edits a migration — apply it to the hosted database label Oct 28, 2026
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

Merged #1573's new head in (3968f2f). The Products line names Framer, and so does Mark published's. Checks: typecheck on every web tip, the server suite at #1579 (3,522 tests), and the whole web suite (4,438 tests) and yarn build at #1580.

@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

Merged main forward (8356ba3) via #1573; resolved docs/guides/content-editor.mdx with both sides kept.

@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

Merged main (cfd8a35) through #1573; no docs conflicts.

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Reviewed this PR's own change: #1573's head 888fb62 → b9591b0, three docs files (send-to-cms.mdx, content-editor.mdx, api-reference/webhooks.mdx). The branch holds the WordPress docs (#1573), but none of #1575–#1580, so merge it last. On main (cfd8a35) it conflicts only through #1573/#1572 (the three web files). Its own docs merge clean.

What I checked against the code

  • Connect Framer. The API key comes from Site Settings → General. The project address or id is accepted. The field types are right: title → plain text, page → formatted text, the rest optional plain text. Required fields can't take JSON-LD. Only the project's own collections are listed. Only admins and managers connect and change it, and members read. Replace key keeps the collection for the same project. Disconnect doesn't revoke the key. All of this matches #1575 and #1578.
  • The send. A draft item. Tables are kept and images aren't sent. The meta description falls back to the opening words. The JSON-LD field is emptied. The slug rules: accents dropped, and _ and . turned into - (I checked: "Çay_v2.0 Guide" → cay-v2-0-guide). A slug taken by another item stops the send. The half-sent draft is taken over. A live item's update goes out with the next publish. All of this matches #1576.
  • Published. The site's address plus the collection page's path and the slug. Checked when the Library opens and daily, for 60 days. An item changed since the last publish waits for the next one. "Removed in Framer" shows. This matches #1579.
  • Self-hosting note. The API server needs Node.js 22 or later, which is right: on Node 20 the API starts, but Framer calls fail. wss://api.framer.com, FRAMER_API_LOG_LEVEL and CONNECTOR_CREDENTIALS_KEY are all as in .env.example.
  • The 200-a-day cap now names Framer, and content_draft.sent says Framer sends don't fire it.

@gkhngyk
gkhngyk merged commit ce9a3dc into ansvisor:main Oct 28, 2026
3 of 4 checks passed
@github-actions github-actions Bot removed the needs-migration Adds or edits a migration — apply it to the hosted database label Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants