Connect Webflow
For AI agents: the docs index is at /llms.txt, and every page is also served as markdown at its URL plus .md.
In this guide
BlogAutoPost publishes to a Webflow CMS collection through the Data API, using a token you paste in and a map from our fields to your collection fields.
What you need
- A Webflow Data API token, such as a site token or a custom app token, that belongs to the site that owns the blog collection.
- The collection id of your blog posts collection.
- The
cms:readandcms:writescopes on the token. - The
assets:writescope if cover images are sent, andsites:readso the site and its public address can be found. Withoutsites:readthe connection still verifies, but the site name and address are unknown.
The field map
Every Webflow collection names its fields differently, so each connection carries a field map from what BlogAutoPost sends to your collection field slugs. Fields you leave out use these defaults.
| Role | Default field slug |
|---|---|
| Title | name |
| Slug | slug |
| Body | post-body |
| Summary | post-summary |
| Cover image | main-image |
Meta title, meta description and tags are not sent. In Webflow they live on the collection template page or in reference fields whose ids differ per site, so writing them would be a guess.
How verification works
Verification only reads the collection. It fails if the connection is missing the token or the collection id, if a mapped field slug does not exist in the collection (the error lists the fields it does have), or if the collection has a required field that BlogAutoPost does not fill. Make such a field optional in Webflow, then connect again.
Live and draft items
A post that is approved to go live is created through the live items endpoint, so it is published at once. A post saved for review is created as a draft item and stays unpublished. The cover image is uploaded as a Webflow asset first, then referenced with its alt text.
Retries never post twice
Before publishing, BlogAutoPost lists the collection filtered by slug. If an item with that exact slug exists, it is reused. If a duplicate slug is still reported at creation time, you get a conflict error naming the slug.
Failures and what to do
| Code | Meaning | What to do |
|---|---|---|
auth_failed | Webflow did not accept the token. | Create a new token in Webflow and paste it again. |
missing_scope | The token lacks a permission this step needs. | Add the scope named in the message and paste the new token. |
not_found | The collection or site could not be found for this token. | Check the collection id and that the token belongs to the owning site. |
field_map_mismatch | A mapped field does not exist in the collection. | Point each role at one of the listed fields. |
unmapped_required_field | The collection requires a field we do not fill. | Make it optional in Webflow, then reconnect. |
conflict | An item with that slug already exists. | Change the slug or remove the older item. |
image_upload_failed | Webflow gave an upload slot but refused the file. | Try again. If it keeps failing the image may be too large. |
invalid_request | Webflow rejected the request, with its reason. | Read the reason and adjust the post or collection. |
Webflow limits calls per token per minute. A rate limit reply is treated as a wait, not a rejection, and the step is retried. See errors for the full list.
Next guide
Connect a webhook
Set up a receiver for BlogAutoPost posts: choose a signing secret, verify the signature in Node or Python, reply with a URL, and use the idempotency key.
Read the guide