# How do I send emails with results to my customers?

This tutorial guides you on how to send to the customers their results via emails after completing a quiz.

## Send automated emails via Ant Quiz Kit

This feature is available for "Advanced" plan. Go to "Settings" page -> "Results email template" tab. Enable "Send customer results via email" and update all the texts, logo, and other settings.

<figure><img src="https://801999161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBj7Dcuw4A2SgC5bCZ2MG%2Fuploads%2F2bbSpKOz2YopbU8cykvK%2Fsend-customer-results-via-email.jpg?alt=media&#x26;token=68569b08-c2a9-4f0d-ae79-13613ec3113f" alt=""><figcaption></figcaption></figure>

All set! Now your customers will start receiving emails with results!

All the emails will be send from our "Ant Quiz Kit" email, <mark style="color:blue;"><hello@pb-apps.com></mark>

## Send emails via your personal Klaviyo account.

This feature is available for all plans.\
First, ensure that your Klaviyo integration is enabled. [Read this tutorial](https://pb-apps.gitbook.io/ant-quiz-kit/integrations/klaviyo) If you need a hand.

We've added below the additional custom properties that you'll need to use:

<figure><img src="https://801999161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBj7Dcuw4A2SgC5bCZ2MG%2Fuploads%2FYTBkHwph866wNND3zwfX%2Fklaviyo-custom-properties.jpg?alt=media&#x26;token=60b686af-2ce4-41a6-98ab-06c0fe598184" alt=""><figcaption></figcaption></figure>

To continue you'll need to be familiar with [custom variables](https://help.klaviyo.com/hc/en-us/articles/115005084927-Template-Tags-and-Variable-Syntax#custom-properties2) and [email flows](https://help.klaviyo.com/hc/en-us/articles/115002774932#create-a-new-flow4) in Klaviyo.

Choose the event that triggers your email flow. In our example, we send results emails when customer is added to "Quizzes" list and the customer has a "Result title" property.

<figure><img src="https://801999161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBj7Dcuw4A2SgC5bCZ2MG%2Fuploads%2FJgXGvOIx4f8rOghxCL0N%2Fklaviyo-flow-setup.png?alt=media&#x26;token=c83ff97c-f2db-490a-9b0f-879361ec7c4f" alt=""><figcaption></figcaption></figure>

Choose an email template and use custom properties to use dynamic data from your Quiz Results pages.

You have access to the following variables: "Result title", "Result subtitle", "Result description", "Discount code" and "Products".

Read [this doc](https://help.klaviyo.com/hc/en-us/articles/115005084927-Template-Tags-and-Variable-Syntax#custom-properties2) to see how to use these variables.

<figure><img src="https://801999161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBj7Dcuw4A2SgC5bCZ2MG%2Fuploads%2FBv034FjJX7xhAcHdtIqB%2Fklaviyo-email-template.png?alt=media&#x26;token=37b13e61-06ba-44cd-90a9-efef311a4ae5" alt=""><figcaption></figcaption></figure>

To go loop through the products and display the right data, you need to use the "for" cycle:

&#x20;{% for product in person.Products %}...{% endfor %}\
In each product you can display:\
1\) product.title\
2\) product.price\
3\) product.link\
4\) product.image\
5\) product.id

When your email template is ready publish your email flow live and all new Quiz customers that will subscribe will receive a beautiful email with your recommendations!&#x20;
