> For the complete documentation index, see [llms.txt](https://docs.zigpoll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigpoll.com/polls/importing-data.md).

# Importing data

Import historical responses from another Zigpoll survey to keep all your data in one place and use Zigpoll's analysis tools on it.

To do this, export the responses from your old survey, then make sure the CSV is formatted correctly.

{% hint style="info" %}
Looking to copy the **survey itself** — its questions, logic, and settings — into another account? That's a separate flow. See [Migrate a Survey to Another Account](/polls/migrate-survey.md). This page covers importing historical **response data** from a CSV.
{% endhint %}

#### Exporting your historical response data from Zigpoll

Export the responses from your old survey to CSV. See [Exporting Data to CSV](/tutorials/exporting-data-to-csv.md).

{% hint style="info" %}
**Download Export File** on a survey's **Settings → General** tab exports the survey definition as a JSON file, not its responses. Use it to [copy the survey](/polls/migrate-survey.md), not to move data.
{% endhint %}

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2FI1ml4lx9agUgZkvaYK3g%2Fimage.png?alt=media&amp;token=854d9dab-e49e-40a3-b49d-7eb8be2530d4" alt=""><figcaption></figcaption></figure>

#### Preparing your data for import

[Click here](https://www.zigpoll.com/sample_zigpoll_import.csv) to download a sample CSV file.

The first row of the CSV is the header. Each row after it becomes one response. Use these column headers:

* **Question ID** — one column per question, with the answer in each row. To find a question's ID, open the survey, go to **Questions**, select the question, and open its **Dashboard**. Click the **Question Id** card to copy it.
* **shopify\_customer\_id** — a special header for Shopify customer IDs. It identifies the participant who gave the response. Leave it out if you don't have them.
* **email** or **name** — also identify the participant when there's no Shopify customer ID. Optional.
* **shopify\_order\_id** — a special header for Shopify order IDs. Leave it out if you don't have them.
* **order\_value** — the value of the order. Leave it out if the response isn't tied to a purchase.
* **timestamp** — when the response was originally given. Optional.

Any other columns are saved as metadata on the response.

#### Running the import

1. Open the survey you want to import into and go to **Settings → General**.
2. In the **Import Response Data** card, drop your CSV into **Upload import csv** and click **Upload**.
3. Check the summary. It tells you which columns matched questions in this survey. If none match, check that your header row uses the question IDs from this survey.
4. Click **Import**.

The import runs in the background, so you can leave the page. You'll get an email when it has finished.

Need help migrating data or preparing your CSV, even from another provider? Contact <support@zigpoll.com> and we'll help.

{% hint style="info" %}
Coming from another survey tool? See [Migrating from Delighted to Zigpoll](/tutorials/migrate-from-delighted.md) for a provider-specific walkthrough.
{% endhint %}

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2FIYzxglRAoBjsAGzVjSdN%2Fimage.png?alt=media&amp;token=e8c61977-b068-4e23-afcf-98c82e84819d" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.zigpoll.com/polls/importing-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
