How to export Webflow blog posts for a migration with the CMS API and Webflow Cloud
Blog post from Webflow
Migrating a Webflow blog can risk losing content published after an initial export, so the guide outlines a repeatable Next.js API route for Webflow Cloud that retrieves current CMS data on demand during cutover. It requires a Webflow Site API token with CMS read access, a collection ID, Node.js with npm, Next.js 15 or later, and securely configured environment variables. The route paginates through all collection items, handles rate limits, flattens nested fields while preserving IDs, arrays, draft and archive statuses, and can include locale-specific content when locale IDs are supplied. It returns JSON by default or RFC 4180-compatible CSV on request, with SHA-256 and item-count headers to verify export integrity. Access is protected by a secret request header, while credentials remain server-side, and the deployment guidance addresses Webflow Cloud-specific concerns including mounted base paths, incompatible Next.js edge runtime directives, Workers filesystem limitations, and diagnosing CMS authentication or collection configuration errors. The same on-demand export approach can also support backups, search indexing, or future synchronization with another system.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Edge Computing | 4 | 107 | 30 | 11 | +20% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.