# Using a campaign with MailChimp

## 📧 Create a virtual campaign

![](/files/-MFChk8shsduNMeT0cBL)

![](/files/-MEreU1EnIKXcmk-8_il)

1. At the left vertical menu choose the [Campaigns](/form-management/campaigns.md) section and press **Launch Campaign**
2. Label your campaign
3. Enable [Virtual campaign](/form-management/campaigns/campaign/virtual-campaign.md#what-is-a-virtual-campaign)
4. At the recipients page select **Import emails** option
5. Upload your CSV file with emails
6. Press <img src="/files/-MErgscX9k_xjMKAlZZF" alt="" data-size="line"> **Launch campaing**

## 👨‍💻️ Generate unique codes

![](/files/-MFCjNEvpe4nZ-o4jOa2)

1. Go back to the **Campaigns** section
2. Choose the campaign to work with
3. Go to the **Pending** page
4. Press [Export all](/form-management/campaigns/campaign/virtual-campaign.md#export-the-recipients), to create a CSV file with unique codes to your survey for each recipients

![](/files/-MF-d6N-DQODrVqe0goH)

{% hint style="info" %}
The unique codes are generated automatically once you have launched the campaign and bonded with the recipients emails
{% endhint %}

## 🐵 Import unique codes and survey links to the MailChimp

![](/files/-MFBB27fcDnhKyp8ASKi)

![](/files/-MFBJnSkDq3RRRMViKl6)

![](/files/-MFBMOZF3YIvMKnOomXk)

![](/files/-MFBMTB-BAXgqg4G5l4S)

1. At your MailChimp account go to the **Audience** **dashboard** and choose **Import contacts** from the Manage Audience dropdown list on the right
2. Upload your **CVS file** emails, link and unique codes
3. Press on the header of the column and choose to **Create a new** field to edit and tag the codes or links

## ✈️ Start the MailChimp campaign with the ngSurvey

![](/files/-MFBTKy-jQ2FpCJ3qlje)

1. Go to the **Editors page** of the Email templates
2. In the toolbar, on the right of the editors page, press **Merge Tags**
3. Select the tags of the survey link and unique code

{% hint style="info" %}
Choose place in the message where you prefer to perform the **merged tag** before selecting the tags
{% endhint %}

![](/files/-MFBY1hj9gJe-sFPSp2x)

After launching the campaign via MailChimp, each of the your recipients will receive an email with the survey link and unique code to access your survey.


---

# Agent Instructions: 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:

```
GET https://docs.ngsurvey.com/walkthroughs/using-a-campaign-with-mailchimp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
