# Shopify Email

Include a link to your Zigpoll survey within a Shopify Email template to collect feedback from your customers directly through Shopify's built-in email marketing tool.

#### Step #1: Copy Your Zigpoll Public Link

1. Go to **Apps → Zigpoll → Surveys → Select your survey**.
2. Click the link icon on the top right hand side of the page.
3. Copy the link in the URL bar. It will look something like this:

```
https://survey.zigpoll.com/2kParn8gL6RvpveWu/2vLaXDvDpaVJjmngT
```

#### Step #2: Add a Liquid Code Block in Shopify Email

1. Open the Shopify Email app and edit your email template.
2. Click the plus icon on your email template and select **Liquid Code Block**.

#### Step #3: Add the Customer Email to the URL

In your liquid code block, enter a URL that includes the customer's email as a query parameter:

```
https://survey.zigpoll.com/2kParn8gL6RvpveWu/2vLaXDvDpaVJjmngT?email={{ customer.data.email }}
```

{% hint style="info" %}
The extra query parameters will link the email address back to the respondent so that you know who is who. Zigpoll will automatically pull the Shopify customer information from the email address so you will have a full user profile of the respondent. You will also be able to send their survey responses back to Shopify so you can create custom segments based on their response data.
{% endhint %}


---

# 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.zigpoll.com/integrations/shopify-email.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.
