Start a Klaviyo flow from a Leat event
Once Klaviyo is connected, Leat sends events to it as metrics, such as a contact joining your program or reaching a new tier. In Klaviyo you start a flow from one of those metrics, or from a date on the contact's profile, like their birthday. Connecting Klaviyo is covered in How to set up a Klaviyo integration.
Turn on the events you need
Leat only sends an event to Klaviyo once you've enabled it.
- Go to Apps → Integrations and open Klaviyo under Installed.
- Open the Events tab. Every event starts as Inactive.
- Open the menu next to an event and click Enable.
A metric appears in Klaviyo the first time Leat sends that event. To build a flow before that happens, choose Send test event from the same menu. Leat sends sample data for that event to a sample profile, so the metric is there to pick as a trigger.
Klaviyo matches everything on email address, so a contact without an email address in Leat never reaches Klaviyo.
The metrics Leat sends
These are the names on the Events tab, and the names you search for in Klaviyo:
| Metric | Sent when |
|---|---|
| Contact added | A contact is created in Leat. |
| Contact updated | A contact's details change. |
| Points added | A contact receives points. |
| Reward redeemed | A contact redeems a reward. |
| Voucher received | A contact is given a voucher. |
| Voucher updated | A contact's voucher changes. |
| Voucher redeemed | A contact redeems a voucher. |
| Voucher expired | A contact's voucher expires. |
| Tier reached | A contact moves up to a higher tier. |
| Referral completed | A referral is completed. |
| Form submission completed | A contact submits one of your forms. |
| Visit added | A visit is recorded for a contact. |
| Booking made | A booking is made for a contact. |
| Booking updated | A contact's booking changes. |
| Order placed | A contact places an order. |
| Order updated | A contact's order changes. |
| Prepaid transaction completed | A prepaid transaction is completed for a contact. |
| Subscribed to marketing | A contact subscribes to marketing. |
| Unsubscribed to marketing | A contact unsubscribes from marketing. |
There's no metric for a contact dropping to a lower tier or unlocking a reward. If Klaviyo is your main email tool, read the warning about the two marketing subscription events in the setup article before you enable them.
Contact added and Contact updated also update the Leat properties on the contact's Klaviyo profile, such as their tier, points balance and birthdate. To fill those in for contacts you already had, open the menu on the Klaviyo page in Leat and click Sync all profiles.
If your connection is older
Check Version on the General tab. If it says v1, some metrics have older names: Contact created, Create credit reception, Contact reached new Tier, Visit created, Booking created, Prepaid transaction created, Contact was subscribed and Contact was unsubscribed. Profile properties have older names too. Most only lack the leat_ prefix, so leat_birthdate is birthdate. The points properties are named after loyalty instead, for example loyalty_balance instead of leat_points_balance and loyalty_last_transaction_date instead of leat_last_loyalty_transaction_date. The wallet pass and portal links are add_to_wallet instead of leat_add_to_wallet_url, and custom_app_login_url instead of leat_contacts_portal_login_url.
Click Update to latest version to switch to the names in this article. Then check that your flows, campaigns and segments use the new names.
Welcome new members
- In Klaviyo, create a flow and pick Contact added as the trigger.
- Add your welcome email.
The email can include the contact's wallet pass and portal links. See Using Leat Personalization in a Klaviyo Email.
Congratulate a contact on a new tier
Start the flow from Tier reached. The event carries from_tier and to_tier, the names of the old and the new tier. To send something different per tier, add a trigger filter such as to_tier equals Silver, or split the flow into a branch per tier.
Birthdays
Start the flow from the date property leat_birthdate on the profile, and send on the day or a number of days before. Contacts without a birthdate in Leat don't enter the flow.
You can also send birthday emails from Leat itself, see Recurring emails: setting one up, and every option.
Contacts who haven't been back
The profile property leat_last_loyalty_transaction_date holds the date of the contact's last points transaction. Leat updates it with every Points added event, so enable that one. Use the property in a Klaviyo segment or flow filter, for example "is at least 30 days ago".
Vouchers about to expire
There's no voucher expiry date on the Klaviyo profile, so a Klaviyo flow can't time a reminder before a voucher expires. Use Leat's own reminder instead, see Remind contacts before their voucher expires. Voucher expired fires once the voucher has expired, which works for a "here's a new one" flow. To put a contact's voucher code in an email, see Send a Leat Voucher through Klaviyo.
When a flow doesn't start
- The event is Inactive. Enable it on the Events tab.
- Klaviyo doesn't list the metric. Leat hasn't sent that event yet. Use Send test event.
- The contact has no email address in Leat. Klaviyo can't match them to a profile.
- The flow uses old names. Your connection's version and the names in the flow don't match. Check Version on the General tab.
- The Klaviyo page asks you to reauthenticate. Open the menu on the Klaviyo page and click Refresh authentication.