# Create Zendesk tickets from survey responses

Create a Zendesk ticket from survey feedback. Send a particular answer to support, or set a rule for the whole survey. Each matching response creates one ticket with the answers in a private note.

## Connect a helpdesk

1. In Zendesk Admin Center, open **Apps and integrations → APIs → Zendesk API**. Enable API token access, add a token for Shopoll and copy it.
2. As a workspace owner or admin, open **Integrations → Zendesk** in Shopoll and choose **Connect Zendesk**.
3. Enter the subdomain from your Zendesk address. For `your-store.zendesk.com`, enter `your-store`. Use the email address of a Zendesk agent or admin and paste the token.
4. Choose a survey and a ticket rule, then select **Connect Zendesk**. Check the helpdesk name on the integration card.

## Choose which responses open tickets

| Open a ticket for | When the rule matches |
| --- | --- |
| Matching question rule | The shopper takes a survey path where a question or slide rule sends the response to Zendesk. This is the default for a new connection. |
| Partial or finished response | A shopper submits an answer or finishes the survey. A partial response can qualify even if the shopper later leaves. |
| Finished response | The shopper submits the last question on their survey path. |
| Submitted an email address | A shopper submits a valid address in an email question or a form’s email field on an identifiable survey. |
| Submitted written feedback | A shopper submits a short or long text answer, a written form field or an explanation alongside a choice. |

Choose **Add rule** to include another survey or condition. For example, you can send every finished delivery survey and send other surveys only when someone leaves written feedback. If several rules match the same response, Shopoll still opens just one ticket. Remove all rules and save to pause new tickets while keeping the connection.

![Two rules routing delivery surveys and written feedback to Zendesk.](/media/zendesk.png)

## Open a ticket for a particular answer

For example, ask “Would you like support to contact you?” and open a ticket when the shopper chooses “Yes, please”.

1. Under **Integrations → Zendesk**, select the survey and **Matching question rule**. Save the connection.
2. Open the question in **Surveys**. Expand **After this answer**, select **Add action rule**, then choose **Yes, please** under **Run this rule for**.
3. Expand **Integrations, redirects and metadata**. Under **Send response to**, select **Zendesk ticket** with your helpdesk name.
4. Save and publish the survey. Submit a matching answer and check **Recent ticket activity** in the Zendesk integration.

![A question rule sends “Yes, please” to the support-demo Zendesk helpdesk.](/media/zendesk-question.png)

If the shopper goes back and changes their answer before the ticket is sent, Shopoll checks their updated answers. Any survey-wide ticket rules you enabled also apply. To send only requests for help, keep just the matching question rule for this survey.

## Read the ticket

The ticket subject names the survey. The private note records the response status, answered questions and write-ins. Attached files appear by name. If the full note exceeds Zendesk’s comment size limit, Shopoll attaches the complete transcript as a text file. Identifiable responses can include the participant name, survey metadata and linked Shopify order. When a shopper supplies an email address, Shopoll sets it as the ticket requester. An anonymous survey omits identity and metadata. A shopper’s own written answers are included as submitted.

Filter your Zendesk views using the tags `shopoll` and `survey-response`. The note also links to the participant’s history in Shopoll.

## Check delivery

Submit a published survey that matches a rule. Allow about a minute for a finished response, or ten minutes after the last change for partial responses and surveys that allow edits. Open **Recent ticket activity** on the integration card and choose **Refresh status**. A created ticket includes a link to Zendesk.

If Zendesk rejects the request, check the agent’s permissions and use **Edit ticket settings** to replace a revoked token. If a receipt is missing, Shopoll can retry the original request within Zendesk’s duplicate-prevention window. If Shopoll still cannot confirm whether Zendesk created a ticket, it shows **Check Zendesk for a ticket**. Search the helpdesk before creating a ticket manually.
