# Aftership

Include a link to your Zigpoll survey within an Aftership email template to collect feedback tied to specific orders and customers.

#### 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 Merge Tags to the URL

1. Go to your Aftership account.
2. Edit your email template.
3. Add merge tags as query parameters for the link from Step #1:

```
https://survey.zigpoll.com/2kParn8gL6RvpveWu/2vLaXDvDpaVJjmngT?email=*|TO_EMAIL|*&shopify_order_id=*|ORDER_ID|*
```

{% hint style="info" %}
The extra query parameters will link the email address and order ID back to the respondent so that you know who is who and what order they placed. 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/aftership.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.
