# Migrate from Webflow

Source: https://modulify.ai/docs/migrate/webflow

Move a Webflow site to Modulify with its pages, styles, CMS collections and items, products, languages, forms and redirects, and what to check afterwards.

A migration from Webflow copies your published Webflow site and its CMS into a new Modulify site. You connect the site with a Webflow app or a site token, and Modulify copies every published page as an editable page and saves your CMS items, products, orders and form submissions for the AI to build tables from. It runs in the background, and the site's chat shows its progress, as [How migrations work](https://modulify.ai/docs/migrate/overview#while-it-runs) describes.

## Before you start

- Publish the latest version of your site in Webflow. Only published pages and published CMS items are read.
- Choose how to connect: **Webflow App** or **Site Token**. Only an admin of your Webflow workspace can create the app or see its client secret.
- Start from Home. A Webflow migration creates a new site, so **From Webflow** is greyed out inside a project's chat.
- Make sure you own the site, or have permission to rebuild it. The import dialog asks you to confirm this.
- Webflow shares redirects only with Enterprise workspaces, so the redirects of other sites stay in Webflow.
- Keep your Webflow site published until the new site is live on your domain.

## Run the migration

### Open the Webflow import

On Home, click **+** on the prompt, then choose **From Webflow** under **Import**.

### Enter the site address

Enter the address your site is published at in **Site address**, such as `yoursite.webflow.io` or your own domain.

### Create a Webflow app

In Webflow, open your workspace settings and choose **Apps & Integrations**. Under **App Development**, select **Create an App**, then **Continue**, and select **Data Client**.

### Add the scopes and the redirect URI

Under **Select scopes**, tick `sites:read`, `pages:read`, `cms:read`, `assets:read`, `ecommerce:read` and `forms:read`. Under **Add redirect URI**, enter the address the import dialog shows in **Redirect URI**. Then select **Create app**.

### Connect the app

Open the app under **App Development** and copy its **Client ID** and **Client Secret** into **Client ID** and **Client secret** in the dialog, then select **Connect**. Select **Authorize in Webflow** and approve the connection in the Webflow tab that opens. The dialog shows **Webflow is connected**.

### Confirm

Tick **I own this site, or I have permission to rebuild it.** and select **Confirm**. The prompt shows the site as a card with a picture of it and what the import found. Use the pencil to change the site or the cross to remove it.

### Start the import

Select **Import site** on the pill. Modulify creates the site and starts the import. The prompt field does not apply to a Webflow import.

### Read the warnings

When the import finishes, the chat lists any warnings under **Warnings from the import**. Each one says what was left out and why.

To connect with a site token instead, choose **Site Token** in the dialog. In Webflow, open the site's **Site settings**, choose **Apps & integrations** and find **API access**. Select **Generate API token**, give it a name and tick the same scopes, then paste the token into **Webflow API token**.

## How the migration works

The import dialog reads the published site at the address you enter, then checks your app connection or token against that site before the site is created.

The import reads the site, its pages, its CMS collections and items in each language, its products and orders, its redirects, and its forms and their submissions through the Webflow API. It reads the pages themselves from your published site, along with its sitemap and robots.txt file. The page of each CMS item and product is found through the sitemap, and when the site has no sitemap or the sitemap leaves an item out, through the links on your pages and the address of its collection.

Everything is then saved in the new site at once: the pages as editable code, the CMS items, the products, the orders and the form submissions as records in the site database, and the files in Modulify storage. The connection stays encrypted with the site, so **Try again** runs the import again without connecting again.

## What comes across

| In Webflow | In Modulify |
| --- | --- |
| Static pages | Editable pages at the same addresses, nested pages included, with their titles, descriptions, favicon and social share images. A page Webflow hides from search engines stays hidden |
| CMS collections | Their published items, which the AI builds into tables right after the import |
| Reference and multi-reference fields | References between the tables the AI builds |
| CMS item pages | A page for each published item, at the same address, in each published language |
| Products | The products with their SKUs and each SKU's stock, and a page for each published product |
| Orders | One record for each order, with everything Webflow returns for it |
| Styles, classes and variables | The stylesheets Webflow publishes, kept as written |
| Interactions and page scripts | The same scripts on each page, including script blocks in the page body |
| Custom attributes, such as Memberstack's `data-ms-*` attributes | Kept on each element, including names with a colon |
| Images and files | Copies in Modulify storage, including the ones used in CMS items, rich text, products and the stylesheets |
| Locales | The same language addresses, such as `/fr`, the site's language list and the translated CMS text |
| Forms | Forms that save each submission in the site database before emailing it to you, then send visitors to the page the Webflow form sends them to, when it has one |
| Form submissions | The submissions Webflow holds, which the AI loads into the same table as new submissions |
| 301 redirects on an Enterprise workspace | Redirects on the site |
| Sitemap | A sitemap at `/sitemap.xml` that lists the imported pages in each language and the CMS item pages, without the pages hidden from search engines and the 404 page |
| robots.txt | The robots.txt of the published site, without its sitemap lines, which point at Webflow's address |
| Legal pages | Ordinary pages with their published text |

If Webflow does not return the orders or the form submissions, for example because the token is missing a scope, or the site has more of them than one import reads, the import says so in its warnings.

## How the data is stored

The import does not create tables. It saves every record it reads in the hidden `_import_rows` table of your site's database, one row per record: the collection or kind of record in `dataset`, the Webflow id in `id`, the slug in `slug`, and the fields in `data`, a JSON object. [Site databases](https://modulify.ai/docs/data/databases) explains the database itself.

- CMS items keep their fields as Webflow returns them, with their creation, update and publish times in `_created`, `_updated` and `_published`. An option field keeps the name of the chosen option.
- A reference field holds the Webflow id of the item it names, and a multi-reference field holds a list of ids.
- The translated text of plain text and rich text fields is under `_translations`, keyed by language code and then by field.
- Products keep the product's fields and its SKUs, and each SKU keeps its stock: whether it is tracked and how many are left. Products, SKUs and categories each come across once, from the store's own collections, so they keep their links to each other and their translations.
- Orders keep everything Webflow returns for each order, such as the status, the totals, the customer, the addresses, the items bought and the payment details.
- Form submissions are the `form_submissions` dataset. Each one keeps its Webflow id in `id`, with the fields the imported forms save: the `form` name, the fields the visitor sent as `data` and the time it was sent as `created_at`.

As soon as the import finishes, the AI builds tables from these records and fills them, usually one for each collection or kind of record, with references between the tables and a column for each language. It picks the names of the tables and columns itself, and you can browse and edit the tables in the [CMS](https://modulify.ai/docs/data/cms), where `_import_rows` stays hidden. It loads the form submissions into the `form_submissions` table that the imported forms save to. Orders and form submissions hold personal data, so it builds their tables from the list of their fields without reading them.

The page of a CMS item or product starts as a copy of the published page. The AI connects the copied pages to their tables when it takes over, and until a page reads its table, a later change to the item does not change the page.

Images and files in the CMS, rich text, products and stylesheets are copied to Modulify storage, and the site and the saved records point at the copies. A file that could not be copied keeps its Webflow address. The import says how many there are and lists them in its notes, and the AI copies them when it takes over.

The notes for the chat are saved in the site's code at `.modulify/import/README.md`, with the same details in `manifest.json` next to them. They list the pages, which pages were copied from CMS items, the CMS collections, products, orders and form submissions with their item counts and fields under "Data from Webflow", the languages, what did not come across and the warnings. The guide file at the root of the site, `CLAUDE.md`, points the chat at these notes.

## What does not come across

- Draft and archived pages. Draft and archived CMS items come across marked as drafts or archived, without pages of their own, and the import says how many each collection has.
- Checkout and payments. The buy buttons on product pages do not take payments.
- Redirects, when your workspace is not on Enterprise.
- Canonical and language link tags, which point at the Webflow address.
- Webflow's confirmation emails to visitors, and spam protection for forms.
- Components as one shared piece. A component comes across as part of each page that uses it.
- A site that is password protected in Webflow. Its pages cannot be read, so turn the password off in Webflow before you migrate it.

Interactions come across with their scripts, but they have not been tested on every site, so check them on the imported site.

## After the migration

When the migration finishes, the AI takes over on its own, as [How migrations work](https://modulify.ai/docs/migrate/overview#when-it-finishes) describes. It builds the tables from the saved records, connects the pages that show them, such as a blog list or the copied CMS item pages, to those tables while keeping them looking the same, and answers with what came across and what still needs work. When it needs more than the notes, it reads your Webflow site directly through the migration's connection: the site and its languages, the pages and any page as Webflow publishes it, the CMS collections and their items, the products, the redirects and the forms.

- Open the preview and click through the pages, on a computer and on a phone, and try the interactions.
- Check the tables the AI built in the CMS, and the item and product pages.
- Ask the chat to build what did not come across, such as a checkout or spam protection for forms.
- Publish the site, then [connect your domain](https://modulify.ai/docs/publish/custom-domains) and point it at Modulify.
- Keep the Webflow app or the token while you want the chat to read your Webflow site. Once you delete it, the chat works from what was imported.

## Troubleshooting

### The dialog says "That does not look like a Webflow site."

The address does not open a published Webflow site. Use the address the site is published at, such as `yoursite.webflow.io` or your own domain, and publish the site in Webflow if you have not yet.

### The dialog says "That token was rejected."

Webflow did not accept the token. Check that you copied it in full, or generate a new token and paste that.

### The dialog says "That token works but does not have permission to read this site."

The token is missing scopes. Generate a new token with `sites:read`, `pages:read`, `cms:read`, `assets:read`, `ecommerce:read` and `forms:read`.

### The dialog says "That token is valid but belongs to a different site."

Generate the token in the settings of the site you are importing.

### The dialog says "We could not identify this Webflow site, so the token cannot be checked."

The page at that address does not say which Webflow site it is. Enter the address of the published site itself.

### The dialog warns that the home page asks for a password

The message is `The home page asks for a password, so the pages behind it cannot be read. Remove the password in Webflow and publish the site again, then import it.` The card still shows the site's design, because its picture is the one Webflow makes of the site. Remove the password in Webflow, publish the site, then import it again.

### The dialog shows "Could not connect Webflow"

Nothing was connected. Check the **Client ID** and **Client secret**, and that the app has the redirect URI from the dialog, then select **Connect** again.

### The dialog shows "Connection expired"

The app connection lasts a short time. Select **Start again** to get a new connection.

### The import failed with "Publish the site in Webflow before importing it"

Only published pages can be read. Publish the site in Webflow, then import it again.

### The import failed with "Webflow returned no published pages, so nothing was imported."

Webflow listed no published pages for the site, or none of them could be read. Publish the pages you want to bring across, and if the site is password protected in Webflow, turn the password off. Then import the site again.

### A warning says redirects need an Enterprise workspace

Webflow shares redirects only with Enterprise workspaces. Add the redirects you need on the new site, or ask the chat to add them.

### A warning says "The pages of the CMS collection" could not be found

The import looked for the collection's item pages in the sitemap, in the links on your pages and at the collection's address, and none of them opened. Check that the collection's template page is published in Webflow and that an item page opens on your site, then import the site again.

### A warning says the robots.txt file blocks every search engine

The robots.txt file at the address the import read blocks every search engine, as a staging address can, so it was not copied. Check the robots.txt file your site should have.

### A warning says "The imported data could not be saved in the site database"

The records could not be saved for the AI. It reads the CMS items and products again from your Webflow site through the import's connection to build their tables, so keep the Webflow app or the token until the tables are built. Orders and form submissions cannot be read that way, so import the site again from Home to bring them across.