Map posts to Webflow CMS collection fields
A Webflow collection is a list of named, typed fields. Publishing to it means giving every field a value in the shape Webflow expects, with a token that is allowed to write.
Collections, fields and items
In the Webflow Data API a collection holds items, and each item stores its content in fieldData, an object keyed by field slug. The collection itself tells you which fields exist. Calling Get Collection returns its list of fields, and each one has a display name, a type, a slug and an isRequired flag. Read that response first, because the slugs you send must match the collection's own, not the labels you see in the designer.
The field type decides the value's shape. Plain text is a string, rich text is a string of HTML, a switch is a boolean, and a date is an ISO 8601 string. An image field takes an object with a public url and an optional alt, and Webflow's reference gives 4 MB as the maximum image size. A reference field takes one item ID as a string, and a multi-reference field takes an array of item IDs.
A worked field map
The table maps the parts of a blog post onto a sample collection. The slugs are made up for the example, so replace them with the ones Get Collection reports for yours.
| Field slug | Field type | Value shape | Sample value |
|---|---|---|---|
name | PlainText | string | Choosing a pour-over grinder |
slug | PlainText | string | choosing-a-pour-over-grinder |
post-body | RichText | string of HTML | <p>Burr size matters more than price.</p> |
summary | PlainText | string | Three checks before you buy. |
published-on | DateTime | ISO 8601 string | 2026-10-19T09:00:00.000Z |
is-featured | Switch | true or false | false |
cover-image | Image | object with a public url and optional alt | {"url":"https://example.com/grinder.jpg","alt":"A hand grinder on a counter"} |
author | Reference | one item ID string | 63764ec7981aa0138e99abc |
topics | MultiReference | array of item ID strings | ["63764ec7981aa0138e99abd","63764ec7981aa0138e99abe"] |
Two cautions from the reference. Code blocks are not supported in rich text fields, and passing one produces an empty string, so check how a post with code samples comes out. Reference fields need the ID of an item that already exists, which you get by listing the referenced collection first.
{
"items": [
{
"isDraft": false,
"fieldData": {
"name": "Choosing a pour-over grinder",
"slug": "choosing-a-pour-over-grinder",
"post-body": "<p>Burr size matters more than price.</p>",
"summary": "Three checks before you buy.",
"published-on": "2026-10-19T09:00:00.000Z",
"is-featured": false,
"cover-image": {
"url": "https://example.com/grinder.jpg",
"alt": "A hand grinder on a counter"
},
"author": "63764ec7981aa0138e99abc",
"topics": [
"63764ec7981aa0138e99abd",
"63764ec7981aa0138e99abe"
]
}
}
]
}What cms:read and cms:write allow
Webflow groups scopes by resource. For the CMS resource the scopes page lists cms:read and cms:write, and they apply to site tokens and to Data Client apps alike. The creation endpoints state cms:write as the required scope. Reading the collection and its fields to build the map is the job of cms:read, so a publisher normally needs both. Grant nothing else: scopes for pages, assets or ecommerce are separate entries on the same page.
Staged and live items
Webflow keeps draft and published content apart. Items created through the API are staged, and they are drafts unless the request sets isDraft to false. Setting it to false queues the item for the next site publish. To put an individual item live, call Publish Collection Items with its ID; to push everything staged, publish the site, optionally to chosen custom domains and the Webflow subdomain.
An item's status follows two properties. lastPublished is null for an item that has never been published, and isDraft says whether it is held back. On an item that is already live, setting isDraft to true keeps the published version visible and holds your edits, and it does not unpublish. Removing a live item uses the separate unpublish endpoint.
Counting the request limit
Webflow documents one create endpoint for new work, a POST to the collection's items/insert path, plus two older ones that keep working. All of them create staged items and are capped at 100 items per request. The cap counts each locale variant, so one item in three locales counts as three. Splitting a backlog into requests is simple arithmetic, shown here for a few sizes.
| Items | Locales each | Counted toward the cap | Requests needed |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 100 | 1 | 100 | 1 |
| 101 | 1 | 101 | 2 |
| 40 | 3 | 120 | 2 |
| 250 | 3 | 750 | 8 |
The Webflow connection guide and the Webflow integration page show how a scheduler applies this, and the word count tool is useful for checking a body before it goes into a rich text field.
Frequently asked questions
Does cms:write let a token publish pages or change the design?
Not on its own. The scopes page lists pages, assets, ecommerce and other resources as separate entries, while the CMS entry covers collections and their items.
Why did my new item not appear on the live site?
Items created through the API are staged drafts by default. Set isDraft to false to queue the item for the next site publish, or publish it with the item publishing endpoint.
Can a rich text field hold a code block?
Webflow's field reference says the API does not currently support code blocks in rich text fields, and that sending them results in an empty string.
What happens with more than 100 items?
Split them across requests. The limit is 100 items per request, and each locale variant counts as an item, so a multi-locale backlog needs more requests than the item count suggests.
Sources
- Scopes, Webflow Data API (read 2026-10-19)
- Creating collection items, Webflow Data API (read 2026-10-19)
- Create Items (staged), Webflow Data API reference (read 2026-10-19)
- Publishing with the CMS API, Webflow Data API (read 2026-10-19)
- Field Types and Item Values, Webflow Data API (read 2026-10-19)
- Get Collection Details, Webflow Data API (read 2026-10-19)
Put BlogAutoPost on your blog
Start a 7-day trial, connect your WordPress, Shopify or Webflow blog and approve the first draft yourself.
- $1 for a 7-day trial. When the 7 days end, your card is charged from $95 a month for one site, and the plan renews every month until you cancel.
- Cancel any time with our ready-made cancel email. No reason needed.
- Your first paid month can be refunded within 7 days of paying it. Write to hello@blogautopost.com.