Repository navigation
docs(content): document sending pages to Webflow and choosing where they go (Send to CMS #1331, phase 2 part 5) - #1507
Conversation
…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]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
…d to CMS ansvisor#1331, ansvisor#1509) Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good.
What I checked against the code of #1503–#1509:
- Connect Webflow.
- The token: its scopes and where to make it match the card's hint. It's checked with Webflow when saved (
listSites), and only the Composio account id is kept (00283 has no token column). - The field table matches
PART_TYPES, and the suggested names (post-body,post-summary,seo-title) matchHINTS. Name and slug always go to Webflow's own fields. - The JSON-LD field is sent as plain JSON, so the template embed is needed.
- Replace token keeps the collection and fields on the same site.
- The self-hosting note names the two variables
isWebflowConfiguredreads, and the card says "isn't set up" without them.
- The token: its scopes and where to make it match the card's hint. It's checked with Webflow when saved (
- Choose where pages go. Webflow comes first, the choice is kept per brand in the browser (
localStorage), and a Webflow that isn't ready shows but is off. - Sending to Webflow.
- An item is updated in place, and a new one is made after a delete or a change of collection.
- Tables go as "Header: cell · …" lists, images are left out, and an empty meta description falls back to the opening words.
- The toasts match
sentWebflow,sentWebflowUpdatedandwebflowChanged.
- Published. It follows #1509: only after Webflow's publish, a page sent again waits for the next publish, and a deleted item reads "Removed in Webflow".
- Limits and icons. The 200 a day is one count for both targets (
reserve_content_deliveries), a second Webflow send is refused while one is queued, and the paper plane covers Webflow draft items.content_draft.sentfires for webhook sends only.
Low, wording (fine as a follow-up):
docs/guides/send-to-cms.mdx:72:- "Ansvisor checks when you open the Library and once a day": only sends from the last 60 days are checked. A page published in Webflow after that stays "In Webflow as a draft item". Say so, and that sending it again starts the check over.
- "on your domain": the address uses the custom domain the site was last published to, or the site's webflow.io address when it has none.
send-to-cms.mdx:26:- "A collection that requires a field Ansvisor doesn't fill can't be picked": it can be picked. Save refuses it and names the field (
checkFieldMap). Say "can't be saved". - Connecting, picking the collection, replacing the token and disconnecting are for admins and managers only (
cms.jsWRITE_ROLES); members see where pages go. Say so at step 2, as the workflow section does.
- "A collection that requires a field Ansvisor doesn't fill can't be picked": it can be picked. Save refuses it and names the field (
send-to-cms.mdx:64: the item's slug is the page's slug turned into one Webflow takes: lowercase letters, digits,-and_, with accents dropped and dots turned into-(webflowSlug). So the live address can differ from the slug in the dialog. One line under "To Webflow" would cover it.
…slug and the 60-day check (review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks — the three wording follow-ups are in 3a18ed2 (
|
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good. We'll merge it once Webflow works on the production API (#1503, #1504 and #1509 deployed and the Webflow auth config set), so the docs don't describe a feature people can't reach yet.
What I checked:
- Earlier items, all done in 3a18ed2:
-
The published check. The docs now say:
- only sends from the last 60 days are checked;
- a page published in Webflow after that stays "In Webflow as a draft item", and sending it again starts the check over;
- the address is on the custom domain the site was last published to, else on its
webflow.ioaddress.
Done.
-
Step 2. It says only admins and managers connect, pick the collection, replace the token or disconnect, and that members see where pages go. A collection with a required field Ansvisor doesn't fill now "can't be saved", and Save names the field. Done.
-
To Webflow. The new line on the item slug matches
webflowSlug. Done.
-
- Against the stack's fixes since round 28:
- #1505. "The card says so and asks for a new one" on a refused token still holds.
- #1506. When Webflow is read but isn't ready, it still shows, turned off, with what to fix, so "Choose where pages go" holds.
- #1509. A send after "Removed in Webflow" now tries the old item first. It updates the item if it's still there and makes a new one if it's gone, so "send it again to make a new item" still holds.
- Merge. Docs only. It merges cleanly on main.
Low, optional:
docs/guides/send-to-cms.mdx, "Choose where pages go": since #1506's fix, a Send dialog that can't check Webflow sends to your workflow. For someone who picked Webflow before, it says so, with Try again. One sentence would cover it, since the paragraph's point is that pages don't go to the workflow unnoticed.
…ur workflow, and says so (review) Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
left a comment
There was a problem hiding this comment.
Looks good. Merging it now.
Follow-up for the docs PR: #1600 added a Date row to the field map (filled with the day a page is first sent to Webflow, on a DateTime field; a re-send leaves it as it is). The field table under "Connect Webflow" doesn't list it yet.
…ard's error and the docs (#1669) Follow-up from #1593. The Webflow card's steps say "set CMS to Read and write and Sites to Read-only". The error for a token without those permissions said "Sites: Read and CMS: Read and write", and the Send to CMS guide (#1507) said "Apps & integrations" and "Sites: Read". - The error reads "The token needs CMS: Read and write and Sites: Read-only. Generate a new one with them." - The guide's Connect Webflow step repeats the card's four steps, in the card's words: Site settings › Apps & Integrations › API access, the token name, the permissions, and that Webflow shows the token once. Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
* fix(cms): give a Webflow item sent again a date when it has none Follow-up from #1600 (item 1). Only a new item was given the day it's sent; an item sent again kept its date. So a brand that maps an optional date later, or makes its date required in Webflow, kept an empty date on every item sent before, and a send again left it empty. When the field map gives a date, sendToWebflow now reads the item before updating it (getItem, which says which fields hold a value) and, when its date is empty, sends today's with the update. An item that can't be read is updated without a date, as before; without a date field nothing is read. The Send to CMS guide's field table lists the Date field (#1507's follow-up) and says an item sent again keeps its date, or gets one. fieldDataFor (webflow-items.js) is unchanged, so this doesn't meet the Framer PRs' edit at its end (#1576, #1579). Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(cms): say which Webflow items are given the day they're sent Review follow-up. The comment above createItem still said only a new item is given the day it's sent, but an item sent again with an empty date now gets it too. It names both now. Comment only; webflow-items.js untouched. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(cms): keep a Webflow item's date when the read didn't see its fields --------- Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Gökhan Geyik <[email protected]>
Summary
#1331, phase 2, part 5: the docs. This PR is cut from
mainand only touches docs. Merge it after #1503, #1504, #1505, #1506 and #1509, since it describes them.guides/send-to-cms.mdxCOMPOSIO_API_KEYandCOMPOSIO_WEBFLOW_AUTH_CONFIG_ID./{collection}/{slug}on the site. It's checked when the Library opens and daily (feat(content): mark pages sent to Webflow published once they go live there (Send to CMS #1331, phase 2 part 6: Webflow published) #1509). A page sent again stays sent until Webflow's next publish, and a deleted item reads "Removed in Webflow".Other pages
guides/content-editor.mdx: the Send to CMS line names Webflow too.api-reference/webhooks.mdx:content_draft.sentfires for webhook sends only, not for pages sent to Webflow.Related issue
Part of #1331 (phase 2, Webflow). Describes #1503, #1504, #1505, #1506 and #1509.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Read
docs/guides/send-to-cms.mdxagainst #1505's card and #1506's dialog. The wording follows theiren.jsonstrings.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): docs onlyyarn typecheckpasses (run fromweb/): docs onlyyarn format:checkpasses (run fromweb/): docs only🤖 Generated with Claude Code