Transfer/bring in Group content

Use a CSV file to import Collection items, or export your CMS database to a CSV file.

When generating Collections in the Webflow CMS, you have the capability to append Collection components manually, or transfer them directly into an existing Group with a CSV file containing comma-separated values (CSV). This allows you to transfer hundreds or thousands of components from an external source straight into the CMS and assign CSV content to reference fields during the transfer process. To facilitate modifications to substantial amounts of data, you can also selectively revise existing Collection components through CSV transfer.

You also have the option to export the content of any CMS Group as a CSV file — this can be advantageous if you wish to retain a backup of your Group components. This CSV file can be utilized to transfer Group components to other Webflow sites, or migrate them to alternative platforms. Get insights into moving your CMS data to a different site.

Remark: It is exclusively feasible to transfer/bring in Group components from the Designer interface.

In this tutorial, you will cover: 

  1. How to transfer Group components from a CSV file
  2. How to export Group components to a CSV file

How to transfer Group components from a CSV file

There are certain aspects you should consider when migrating Group components from a CSV file. We will address: 

  1. How to format your CSV file
  2. How to upload external data to Webflow
  3. How to set up fields and preview components
  4. How to import the designated data
  5. How to resolve problems with image transfer
Remark: The number of Group components you can transfer to the CMS is dependent on your Site plan type. The top row in your CSV file will not be counted as a Group component or against this restriction. Head to our pricing page for details on limitations and pricing.

Significant: While migrating Group components from a CSV file, you will be prompted to establish whether you want to generate a backup of your site. If you select Yes, a pre-import backup version of your site will be created, which you can subsequently restore in Site settings > Backups tab if issues arise. Nevertheless, if you manage a large site with numerous existing Group components, we recommend creating a backup in the Designer prior to commencing the import of Group components via CSV, and opting for No to bypass the backup step during import. Explore more on storing and recovering backups.

Remark: Upon importing Group components via CSV in your primary locale view, the components are established in all secondary locales. If you intend to import components to a specific secondary locale, opt for that locale from the Locale view dropdown, and then proceed with importing your CSV file. Furthermore, during the export of Group components, the exported CSV file only encompasses components from the current locale view. Discover more about localizing Group content.

How to format your CSV file

Typically, CSVs exported from other content management systems such as WordPress are already formatted in a manner that aligns with Webflow. If you are transferring data from one Webflow site to another, you need not be concerned about the CSV structure of exported Webflow Groups.

However, if you are not utilizing an existing CSV from the aforementioned sources, you may wish to create your CSV to transfer that data into a Group. Tools like Google Sheets, MS Excel, or Airtable can be employed to construct a spreadsheet with columns representing Group fields and rows signifying Group components along with their values. Once the spreadsheet is prepared, it can be saved as a CSV file.

Remark: While saving a CSV file in Excel, ensure that you choose the CSV type “Comma Separated Values.” other CSV extensions may not show correctly once uploaded to Webflow. To guarantee that CSVs with only 1 column of data import smoothly, insert a comma immediately after the header column label (e.g., Name,).

Supported data classifications

To prevent encountering errors during the transfer process, it is imperative to make your CSV Webflow-compatible. Certain data, such as images, dates, numbers, and colors, may not be recognized without the appropriate formatting.

To ensure that your data is formatted correctly and can be assigned to the correct Group field type, adhere to these guidelines when compiling your database spreadsheet: 

Group field typeCSV row content
Name fieldAny basic text containing less than 256 characters
Slug fieldAny basic text with under 256 characters
Plain text fieldAny basic text
Rich text fieldAny values can be linked to this field. However, for rich text imports, the value in this field should be composed in HTML.
Image fieldDirect URL to image (URL that concludes with an image file extension). Only supported image file formats will be transferred to your Group.
Multi-image fieldDirect URLs to images separated by semicolons (e.g., https://images.unsplash.com/bird1.jpeg; https://images.unsplash.com/bird2.jpeg; https://images.unsplash.com/bird3.jpeg)
Video fieldAny YouTube or Vimeo URL. Other video URLs cannot be linked to this field.
Link fieldAny URL
Email fieldAny email address
Phone fieldAny phone number format
Number fieldAny number. Values that incorporate letters (e.g., 100 USD), symbols (e.g., $100), or commas (e.g., 10,000) cannot be linked to this field.
Timestamp fieldAny supported date and time format
Toggle field2 distinct values, for example, if a column exclusively contains “True” and “False” as values, you can designate this as a Toggle field type and define which value signifies “Yes” during the mapping stage.
Shade fieldAny value in web color format (e.g., color names, hex codes, RGBA). Hex codes should be preceded by the pound sign (#), for instance, #4353ff.
Choice fieldAny value. All unique values in this column will serve as the choices for this field (limited to a maximum of 100 options).
Document fieldNo data can be linked to the document field. You can upload your files manually after importing all your data.
Mention fieldPlain text — no special formatting required (e.g., “Charles Dickens”)
Multi-mention fieldPlain text separated by semicolons (e.g., “Charles Dickens; Jane Austen; Charlotte Bronte”)
Note: If a CSV column is not linked to the default name and slug fields, the CMS will automatically create those for you.

Important: During the import process, any code within a rich text field is “cleaned up” to eliminate elements, classes, and attributes that are not compatible with Webflow. It is advisable to review your rich text content after the import.

Adding external data to Webflow

Let’s go over how you can add external data to your Webflow Collection. The following steps will be covered in this operation:

  1. Uploading a CSV file
  2. Specifying the header row
  3. Selecting items for import

Uploading a CSV file

To add your CSV file to a specific Collection in Webflow:

  1. Access the CMS panel
  2. Select the Collection where you want to import your Collection items
  3. Click on Import
  4. Drag and drop your CSV file, or browse your computer for the file
Note: The maximum allowed CSV file size for upload is 4MB.

Specifying the header row

After uploading your CSV file, you will be asked to specify a header row. Normally, a CSV file’s header row contains labels for columns that define the type of content in each column (e.g., a header row may contain labels like “Name,” “Date,” etc.).

Upon uploading the CSV file, a preview of the file will be shown, and you will be prompted to confirm if the first row serves as the header. If you want to exclude the first row from import by considering it as the header, select “Yes, this is the header” or “I’m not sure.” To include the row in the import, choose “No, this is an item.” The labels of the header row will be set as field labels for the Collection items during the field configuration stage.

After you drag your CSV into the Upload CSV modal you are asked to determine the header row of your CSV.

Regardless of your choice at this stage, you can proceed to the first Collection item and decide whether to mark or unmark the “Header row” box in the subsequent step.

Selecting items for import

After defining the header row, you will receive confirmation that your CSV file has completed processing. This confirmation message will also indicate if any of the newly uploaded CSV items match or do not match any existing items in your Collection.

Note: If you haven’t designated a header row or indicated uncertainty regarding the first row being a header, you will directly move to field configuration without the option to update existing matching items. Essentially, Webflow defaults to creating new Collection items since it’s impossible to map to a Collection item ID column or Collection field column without a specified header row.

In case of matching items (where existing Collection items and CSV data share the same ID), you can opt to:

  • Update matching items, which aligns and updates existing items in your Collection with the items in your CSV upload
  • Import all items as new entries, which imports the matching items from the CSV as new entries in your Collection

Choosing to “Update matching items” is an effective way to swiftly modify existing items in your Collection. For example, if you have made updates to specific items’ data in a CSV file, uploading only the updated items enables you to promptly replace old content in your Collection items with the new data.

Note: Regular CMS items are matched based on the “Item ID” field, present in a CSV export from a Collection. Also, bear in mind that a site restore from backup will refresh all CMS Collection and item IDs. Learn more about saving and restoring backups.

Once you have selected to either update matching items or import all items as new entries, you can proceed to configure and map your CSV data to your Collection fields. If there are no matching items, you will also progress to this phase.

Note: Updating items through CSV import does not apply to Ecommerce items. Learn more about importing Ecommerce products and variants.

Field configuration and item preview

Field configuration

After uploading your CSV file, the columns will be accessible as fields for configuration within the Field configuration section under Imported items. When specified, column headers will appear as labels for Collection fields.

Note: If the CSV header names match your existing Collection field names, they will automatically align, saving you a configuration step.

The values in the input fields are brought from the chosen row. Each row corresponds to a single Collection item. You can view different items in the Item preview panel on the right.

During this phase, you will set up Collection fields by selecting which CSV columns to map and which to exclude. A few

choices for every column and field: 

  • Leave out
  • Establish fresh field
  • Correlate with existing field
Leave out

If there are columns in your CSV that you wish not to correlate with CMS fields, pick Leave out from the dropdown. 

Estabish fresh field

If there’s no existing Collection field available, you can forge a new one and associate it with a column: 

  1. Select Establish fresh field from the dropdown
  2. Pick the field type from the dropdown. Field types that don’t align with the content in the column won’t be accessible and will be faded out
  3. Insert a fresh field label in the New field label section, or retain the proposed label
  4. (Optional) Supplement Help text to display below the label 

Additional settings may be available based on the selected field type. An additional option field will be filled with all distinct values from that column (note that these values are case sensitive). For a new switch field, you can define which value corresponds to “No.” 

Correlate with existing field

You can link each column to an existing field in the Collection: 

  1. Choose Correlate with existing field from the dropdown
  2. Select the field you want to link this column to from the dropdown. Fields not supporting the content in the column won’t be accessible and will be displayed faded out
Reminder: A green “dot” icon next to a column label suggests that the column has been connected.

For a new switch field, you can define which value corresponds to “No,” or you can tap Swap to link a value to “Yes.”

Helpful to know: You can’t pair a column with existing fields already inactively used. If you need to combine a column type, you can formulate a fresh field.

Preview items

You can preview the fields and values of each item to be imported in the Item preview pane on the right. 

Utilize the left and right “arrow” buttons at the top of the preview pane to move through Collection items. Tap the Show item options button in the top bar to see a list of all the items to be imported. With the Show item options visible, you can tap the name of any item to jump to its preview. You can also input text into the search bar to search for specific items.

Hovering over a connected or originated field in the left panel will highlight the corresponding field in the item preview. Preview items update in real time as you set up the field.

If a modification is needed for a field value of a particular item, you can do so before configuring the field, or by selecting Do not import from the dropdown.

You also have the choice to bypass importing particular items into your Collection: 

  1. Locate the item you wish not to import in the preview pane (i.e., navigate to the item using the arrows, dropdown menu, or search bar) 
  2. Switch on Skip import 

Skipped items will be highlighted at the top of the Item preview pane and in the Show item options with a “Skip import” symbol.

Fields with requisites/checks

If a cell in one of your CSV columns is linked to a mandatory reference field but is empty or lacks any values existing in that referenced Collection, you’ll receive a notification that your item doesn’t exist. Being a mandatory field, the item for that row will be added as a Draft, and the reference field will remain blank. 

If the linked reference field isn’t mandatory and a cell in that column is empty or lacks any values from the referenced Collection, then the Collection item for that row will be designated as Staged for publish post-import, and the reference field will remain empty.

How to import the linked data

Once you’ve set up your Collection fields and CSV data, tap Import to integrate the data into your Collection. 

Important: When bringing in Collection items from a CSV file, you’ll be prompted to create a backup of your site. If you click Yes, a pre-import backup copy of your site will be generated, which can be restored later in Site settings > Backups tab in case of any issues. However, if your site is extensive with numerous existing Collection items, it’s advisable to create a backup in the Designer prior to commencing the CSV import process, and click No to skip the backup phase during import. Learn more about preserving and restoring backups.

Ensure to stay in the Designer until all items have been imported. If some or all of your items were left out from the Collection, you’ll receive a list of the skipped items, the reason for the failed import, and a link to download a detailed error report summary.

How to solve problems with image import

Broken image links in your CSV file will not be able to be linked to image fields in your Collection. You can leverage a mass URL checker like HTTP Status Code Checker to pinpoint and rectify the broken links. 

To inspect and amend broken links in your CSV file: 

  1. Open your CSV file 
  2. Copy the “URLs” column
  3. Paste the data from the “URLs” column into the mass URL checker
  4. Assess the status codes to identify any broken URLs — a 200 status code signifies an error-free URL
  5. Identify the URLs with an error status code and replace or exclude the link in your CSV file 
  6. Save your CSV file and retry importing it to your Collection

Guidelines for exporting Collection items to a CSV file

You have 2 methods to export Collection items to a CSV file: 

  1. Export an entire Collection (including archived items) 
  2. Selectively export individual Collection items

When exporting Collection items to a CSV file, ensure you comprehend how Collection fields are exported. 

Reminder: While exporting Collection items, the exported CSV file only contains items from the current locale view. Discover more about localizing Collection content. 

Export an entire Collection 

To export the content of an entire Collection (including archived items) to a CSV file: 

  1. Head to the CMS panel 
  2. Tap on the name of the Collection you wish to export
  3. Tap Export

Discover how Collection fields are exported.

Choose to export individual Collection items

To selectively export individual Collection items to a CSV file: 

  1. (Optional) Search, filter, or arrange your Collection items
  2. Tap Select to bulk select or individually choose the items you want to export 
  3. Tap Export to generate and download a CSV file 
Pro tip: You can export individual Collection items to a CSV file, alter those items in your CSV file, and re-import only the updated Collection items into your Collection to replace old content with new modifications. Discover more about updating matching Collection items with CSV import. ‍

Discover how Collection fields are exported.

Exporting Collection fields format

Most Collection field content, including references, are exported as plain text strings or URLs. Multi-reference fields are exported as a list of text separated by commas. Rich text fields are exported as HTML. Images and files are exported as Webflow-hosted URLs. 

Important: URLs for image fields and file fields are tied to the site from which you exported the Collection. This implies that if you delete the original site, those assets will also be removed, leading to broken links in your CSV file. The same applies to images in rich text fields. Unless you’re transitioning your Collection to a new Webflow site, ensure to retain the original site as a backup or manually download each of your images and files. 

Reminder: Upon importing an exported Collection to another Webflow site, images linked to an image field are imported as new images on the new site. Currently, file field data cannot be imported to a new site and must be uploaded manually. 
Ewan Mak
Latest posts by Ewan Mak (see all)