> For the complete documentation index, see [llms.txt](https://docs.roadmap.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roadmap.so/reviews/migration-to-roadmap/import-reviews-to-roadmap-with-csv-template.md). Agents can also search and read this documentation through its [MCP server](https://docs.roadmap.so/~gitbook/mcp).

# Import reviews to Roadmap with CSV template

Roadmap imports reviews from a CSV file. You can include the photos and videos customers added to their reviews, as long as the files are uploaded to Shopify first.

### Before you start

**Set up your review form.** In your Roadmap admin, go to **Reviews** → **Review Form** and finish your form setup (questions, required inputs, and so on).

Roadmap builds the sample CSV from your current review form. If you've added extra questions to your form, such as a photo or video upload, the sample CSV includes a column for each one. If you change your form later, download a fresh sample CSV before you import again.

{% stepper %}
{% step %}

#### Step 1: Download the sample CSV template

1. In your Roadmap admin, go to **Reviews** → **Import**.
2. Select **Download Sample CSV**.

This file has the exact columns and formatting Roadmap expects.

<figure><img src="https://393112916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ8asLD4FVCFagK40xEr4%2Fuploads%2FMb8HiTfrGLUKYLqCUEsY%2FScreenshot%202026-07-20%20at%2010.22.43%E2%80%AFAM.png?alt=media&amp;token=c0197933-f969-46eb-a252-589e0e0aa30f" alt="The Download Sample CSV button on the Reviews Import page"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Step 2: Upload review photos and videos to Shopify (optional)

Skip this step if your reviews have no photos or videos.

To import media, your review form needs a photo or video upload question. That question is what adds the media column to the sample CSV. If you don't see one, add the question in **Reviews** → **Review Form**, then download a fresh sample CSV.

Roadmap attaches review media using the file's Shopify ID, so every photo and video needs to be in your Shopify Files before you import.

1. In your Shopify admin, go to **Content** → **Files**.
2. Click **Upload files** and add your review photos and videos.
3. Wait until each file has finished processing. Videos can take a minute or two.
4. Open a file. Its ID is the number at the end of the page URL.

You then add that ID to your CSV with a prefix that says what kind of file it is:

| File type | Format                           | Example                                   |
| --------- | -------------------------------- | ----------------------------------------- |
| Photo     | `gid://shopify/MediaImage/` + ID | `gid://shopify/MediaImage/36281944719532` |
| Video     | `gid://shopify/Video/` + ID      | `gid://shopify/Video/41974433185964`      |

{% hint style="warning" %}
Image links and the ID number on its own won't work. If you paste a file URL (for example one starting with `https://cdn.shopify.com/`) or the ID without the prefix, the review imports without its photo or video.
{% endhint %}
{% endstep %}

{% step %}

#### Step 3: Fill in your review data

Export your reviews from your previous review app, then copy or map the values into the Roadmap template columns.

**Don't rename or reorder columns** in the sample CSV. Keep the header row exactly as downloaded.

#### Required fields

* `product_handle`: the product's URL handle. Required if `product_sku` is empty. For a store review, enter `store-review` instead of a handle. **Example:** `rhoda-boot-black-leather`
* `product_sku`: the product's SKU. Required if `product_handle` is empty. **Example:** `TRFC116`
* `type`: whether this is a product or store review. Use `review` for a product review, or `store-review` for a store review. A store review also needs `store-review` in `product_handle`.
* `state`: the review's status once imported. Use one of the four values below. Any other value, such as `hidden`, causes the row to fail.
  * `published`: the review shows on your storefront.
  * `approved`: the review imports as unpublished. It's in your admin but doesn't show on your storefront until you publish it.
  * `flagged`: the review imports as flagged, so you can check it before publishing.
  * `spam`: the review imports marked as spam.
* `rating`: the star rating, from 1 to 5. **Example:** `4`
* `email`: the customer's email. **Example:** `customer@example.com`
* `verified`: whether the review is from a verified purchase. Use `TRUE` to show the verified badge, or `FALSE` for no badge.
* `created_at`: when the review was submitted, as `YYYY-MM-DD` with an optional time. **Example:** `2025-10-16 13:38:14`

#### Optional fields

* `title`: the review title. **Example:** `Love these boots!`
* `author`: the customer's name. **Example:** `Jane Doe`
* `location`: city or country. **Example:** `New York`
* `body`: the full review text. **Example:** `Great quality, fast shipping!`
* `reply`: your reply to the review. **Example:** `Thanks for your feedback!`
* `replied_at`: when you replied, in the same format as `created_at`. **Example:** `2025-10-20 10:22:00`
* `source`: where the review came from. **Example:** `Roadmap`
* `order_number`: helps match the review to the customer's order. **Example:** `123456789`
* `ipaddress`: leave this blank if your old app didn't export it.

#### Review form question columns

These columns only appear if your review form has extra questions, such as a photo or video upload. Each extra question gets its own column after the standard ones, and its header shows the question's ID and label, for example `question_1772418711131 (Seen results? Let us know!)`. If your form has no extra questions, your sample CSV won't have these columns.

* Fill in each customer's answer, or leave the cell blank if they didn't answer.
* For a choice question, use the option text exactly as it appears on your form.
* For a photo or video question, add the file ID from Step 2, for example `gid://shopify/MediaImage/36281944719532`.

<figure><img src="https://content.gitbook.com/content/J8asLD4FVCFagK40xEr4/blobs/oRgHAnlNd2E3ExCa9faZ/image.png" alt="A completed review import CSV"><figcaption></figcaption></figure>

{% hint style="info" %}
If you're importing a mix of product reviews and store reviews, double-check the `type` and `product_handle` columns before you upload. Store reviews need `store-review` in both columns. A wrong value puts the review in the wrong place, or stops it importing.
{% endhint %}
{% endstep %}

{% step %}

#### Step 4: Import your reviews

1. Go to **Reviews** → **Import**.
2. Select **Choose File** and pick your completed CSV.
3. Click **Import Reviews**.

Importing can take up to **10 minutes**, depending on file size. You can import up to **3,000 reviews** at a time.

{% hint style="info" %}
Importing a lot of reviews with photos or videos? Try a CSV with one or two rows first, and check the review in your admin before you import the rest.
{% endhint %}
{% endstep %}

{% step %}

#### Step 5: Fix any import errors

If Roadmap finds problems during the import, they show in a pop-up.

1. Download the error file from the pop-up.
2. Correct the rows it lists.
3. Import only the fixed rows, using the same **Reviews** → **Import** flow.
   {% endstep %}

{% step %}

#### Step 6: Assign reviews under Missing Products

If a review's `product_handle` or `product_sku` doesn't match a product in your Shopify store (for example, the product has been deleted), the review appears in **Missing Products**.

1. Go to **Reviews** → **Missing Products**.
2. Next to an unassigned group, click **Manage**.
3. Click **Browse & Attach Products**.
4. In the picker, click **Browse**, then select the correct product or products.
5. Click **Apply Selection**.
6. Click **Update Products** to save.
7. When you're done, click **Close**.

<figure><img src="https://content.gitbook.com/content/J8asLD4FVCFagK40xEr4/blobs/oNUpECz1kgTY5cwonom3/dd79aa7b%20af77%204098%209415%20f9b2fd08775f.png" alt="Step 1"><figcaption><p>Step 1</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/J8asLD4FVCFagK40xEr4/blobs/oCzqacRdAbIQsNYOkUhl/ea573ec5%205c40%204a02%20bd5e%208e759235aaca.png" alt="Step 2"><figcaption><p>Step 2</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/J8asLD4FVCFagK40xEr4/blobs/pFAWH8Hl1hx83Kedv1hN/38aad7c2%20134e%20460c%20a6ed%209568d95b44be.png" alt="Step 3"><figcaption><p>Step 3</p></figcaption></figure>
{% endstep %}
{% endstepper %}

### What happens after import?

Once your reviews are imported and any missing products are assigned, they show in your Roadmap review blocks on your storefront.

* Reviews appear on the right products.
* Photos and videos show with their review.
* They count toward your star ratings and review totals.
* You can moderate them in Roadmap like any other review: reply, pin, and change their visibility.

### Troubleshooting

**My reviews imported but don't show on my storefront**

* Check the `state` column. Only `published` reviews show on your storefront. Reviews imported as `approved` are unpublished until you publish them.
* If reviews are in **Missing Products**, assign them to products.

**My store reviews didn't import**

* Check that both `type` and `product_handle` are set to `store-review`. A store review with an empty `product_handle` won't import.
* Leave `product_sku` empty for store reviews.

**My reviews imported but the photo or video is missing or blank**

* Make sure the cell has the full ID with its prefix, such as `gid://shopify/MediaImage/36281944719532`. A link to the file, or the number on its own, won't attach.
* Check the prefix matches the file type: `MediaImage` for photos and `Video` for videos.
* Check the file is still in **Content** → **Files** in your Shopify admin and has finished processing.
* Make sure the ID is in the photo or video question column, not another column.

**Some rows fail to import**

* Download the error file from the import pop-up and fix only the rows it lists.
* Check `state` is `published`, `approved`, `flagged` or `spam`.
* Check dates use `YYYY-MM-DD` (time optional), and that every required field is filled in.
* Make sure the headers match the Roadmap template exactly.

**Should I use `product_handle` or `product_sku`?**

Use whichever is more reliable for your catalog. Roadmap needs at least one of them for product reviews. If you fill in both, make sure they match the same product in Shopify.

### Need help?

If you get stuck with template mapping, errors, media, or Missing Products, contact Roadmap support and share:

* your CSV file (or a few sample rows),
* the error file, if you downloaded one, and
* an example product that should have reviews but doesn't.

<details>

<summary>Does Roadmap integrate with headless Shopify stores?</summary>

No.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.roadmap.so/reviews/migration-to-roadmap/import-reviews-to-roadmap-with-csv-template.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
