# Send a discount reminder through Klaviyo

Use Klaviyo to remind a shopper about a survey discount. First [set up the reward](/docs/faq/discount-codes-and-reward-automation.md), publish the survey and [connect Klaviyo](/docs/integrations/klaviyo.md). Submit a test response that earns a code. Check that the event on your Klaviyo profile includes **discount_code** before you build the email flow.

## Set the flow trigger

In Klaviyo, start a metric-triggered flow using the **[Shopoll] Completed Survey** metric for this survey title. Add trigger filters for **response_status** equal to **completed** and **discount_code** being present. Only finished responses that earned a discount then enter the flow.

## Insert the person’s code

Choose a delay that falls within the code’s validity period. In the email body, insert the code from the triggering event.

```
{{ event.discount_code }}
```

Preview the flow with the test event. Check the displayed code against the reward issued for the response. Use Klaviyo’s recipient and order filters to select who should receive the reminder, then enable the flow when ready. Each event keeps its own code. Two responses that earn different rewards can therefore send different codes.
