# Send email invitations from a CSV

Email a survey to a list of people from a CSV file. Open **Campaigns** in a published survey. Each person gets their own link. The file can also include their language, Shopify references and extra details for questions or reports.

## Prepare the email list

Save your spreadsheet as a UTF-8 CSV with an `email` column. Give each extra column a unique name. Surround values containing commas, quotation marks or line breaks with double quotes. Inside a quoted cell, write two quotation marks for a literal quotation mark.

```csv
email,locale,shopify_customer_id,first_name,collection,consent
sam@example.com,en,4102,Sam,"Home, spring",yes
lou@example.com,fr-CA,4103,Lou,Garden,yes
```

| Column | How Shopoll uses it |
| --- | --- |
| `email` | Required destination. Capitalization and surrounding spaces are ignored when checking duplicates. |
| `locale`, `lang` or `language` | Choose one of these headers. The row uses the survey’s invitation translation, with regional, base-language and default fallbacks. |
| `shopify_customer_id`, `shopify_order_id` | Use a numeric ID or the matching Shopify GraphQL ID. Keep numeric IDs as text in the spreadsheet to preserve every digit. |
| `consent` | Optional per-recipient permission. Use `yes`, `true` or `1` for agreed recipients. A conflicting or blank permission on another row with the same address excludes that address from this import. |
| Other columns | Values accompany the answer under the original column name prefixed with `csv_`. A simple header such as `first_name` works as `{{first_name}}` in a question. Use `{{csv_first_name}}` to explicitly select the imported field. |

Each upload supports 10,000 data rows, 128 columns and a 2 MiB file. Split a larger list before uploading.

## Preview the invitation

Expand **Invitation preview** and choose a language to check the sender, subject, heading, message, button and footer. Choose **Preview survey draft** (or **Preview hidden survey**) to try the questions in that same language. For a short list, choose **Enter a list** and enter one email address per line.

To check delivery, open **Send yourself a test**, enter your email address, confirm it belongs to you and select **Send test invitation**. The test uses the connected provider and the workspace’s message allowance. Its link opens a preview of the saved survey for 24 hours. Completing the preview does not change response totals.

To start from addresses collected in a survey, open **Answers**, choose the survey and select **Export → All email contacts in this survey**. Check the list for permission to send this campaign before uploading it.

## Preview and queue

1. Open the survey and expand **Campaigns**. Choose **Email** and select **CSV upload** under **Recipient source**. **Download example CSV** gives you a starter file.
2. Choose your file. Leave **Send time** blank to queue now, or set a date and time in your local time zone.
3. Select **Preview recipients**. Expand the sample to check addresses, language and additional fields. **Review skipped rows** shows up to 25 row numbers that were left out. Reasons include invalid addresses, duplicates, missing consent and opt-outs.
4. Confirm that the eligible recipients agreed to email survey invitations. Choose **Queue invitations**. The survey must still accept responses and the workspace needs a connected email provider.

If the file, eligible recipients or published survey changes, preview again. Shopoll checks opt-outs again when queueing and sending. Shopoll sends the queued messages within your workspace’s sending allowance. An unsent invitation expires 30 days after its scheduled time.

## Follow a campaign

Choose **View campaigns** to inspect waiting, accepted, cancelled, failed or uncertain sends. **Cancel unsent invitations** removes waiting deliveries from the queue. A message the provider has accepted can still reach its recipient. Published [reminder settings](/docs/surveys/nudge-non-responders.md) apply to eligible deliveries.

Expand a campaign to see its recipients and their delivery status. Use the **Response** filter to show completed responses, partial responses or invitations with no linked response. Choose the arrow beside a respondent to read their answers. Use Back to return to the same campaign and filter. Anonymous responses stay in the survey’s reports and have no link to a recipient.

A recorded response includes **Campaign recipient details**, and its metadata is included in CSV exports. Open the Shopify customer or order reference from a connected Shopify workspace. An order ID from the CSV is a reference you supplied. Shopoll needs to verify the order with Shopify before including its value in revenue reports.

To select recipients by purchase history or country, [build a Shopify customer segment](/docs/campaigns/shopify-customer-segment.md).
