Showing a Leat voucher in a Klaviyo email
When Klaviyo is connected, Leat sends every voucher a contact receives to Klaviyo as a custom object on that contact's profile. You can then show the voucher's code, name or expiration date in any Klaviyo email, for example in a birthday or retention flow.
Before you start
- Klaviyo is connected. You'll find the integration under Apps → Integrations.
- The voucher events are on. On the Klaviyo page in Leat, open the Events tab and check that Voucher received and Voucher updated show Active. If they don't, click Enable. Vouchers only reach Klaviyo through these events, so a voucher created while they were off isn't in Klaviyo.
- The voucher belongs to a contact with an email address. Klaviyo profiles are matched on email. A voucher that isn't linked to a contact, or whose contact has no email address, isn't sent.
- The voucher exists in Leat. Create the promotion and its vouchers first. See How to create a voucher.
What Klaviyo receives
Each voucher arrives as a custom object from the data source Leat Voucher, with these properties:
| Property | What it holds |
|---|---|
| Code | The voucher code the contact redeems |
| Name | The voucher's name |
| Description | The voucher's description |
| Image | The promotion's image |
| Add to Wallet URL | A link to add the voucher to Apple Wallet or Google Wallet |
| Status | The voucher's status |
| Type | The promotion type |
| Activation date | When the voucher becomes valid |
| Expiration date | When the voucher expires |
| Total redemptions allowed | How often it can be redeemed |
| Times redeemed | How often it has been redeemed |
| Redemptions remaining | How many redemptions are left |
| Redeemed at | When it was redeemed |
| Created at | When it was created |
| The contact's email address, which links the voucher to the profile |
Add the voucher to a Klaviyo email
These steps happen in Klaviyo, so the exact names on screen are Klaviyo's.
- Open the email in the Klaviyo editor and open personalization in a text block.
- Find the Leat voucher object.
- Before you pick a property, tell Klaviyo which voucher to show. Create an object filter that matches the voucher you want, for example on its Name. A contact can have several vouchers, and the filter decides which one the email shows.
- Click the property you want to insert, such as Code. Klaviyo adds the personalization tag, and every recipient sees the code of their own voucher.
Always include the code, because that's what the contact needs to redeem the voucher. Expiration date and Name are good to add next to it.
When the email shows no code
- Voucher received or Voucher updated isn't Active on the Events tab, or wasn't when the voucher was created.
- The voucher isn't linked to a contact, or the contact has no email address.
- The object filter doesn't match the voucher the contact has. Check the voucher's name in Leat against the filter.
Questions about Klaviyo's editor, flows or object filters are best taken to Klaviyo support.