Klaviyo integration

The Klaviyo integration puts each member’s loyalty data on their Klaviyo profile. It also sends loyalty events that can start Klaviyo flows. Use it to send points reminders, tier upgrade emails and birthday messages from Klaviyo.

In short

  • Each member’s points, VIP tier, referral link and more are copied to their Klaviyo profile.
  • 12 loyalty events, such as points expiring soon, can start emails in Klaviyo.
  • Set it up under Integrations → Klaviyo by logging in to Klaviyo. There’s nothing to code.

Connect Klaviyo#

  1. In the app, go to Integrations and click Connect on the Klaviyo card.
  2. Click Connect Klaviyo. Klaviyo opens in a new tab.
  3. Log in to Klaviyo and approve access. The app page shows Waiting for you to approve in Klaviyo… and updates itself when you’re done.
  4. Under Klaviyo list, choose a list in Add new members to, or keep Don’t add to a list. Members join this list when their loyalty profile is first copied to Klaviyo.
  5. Under Events sent to Klaviyo, turn off any events you don’t use.
  6. Click Save.

Once connected, sending is on. The app then starts a member sync: it copies every member’s loyalty data to Klaviyo. After that, events keep each profile up to date.

Profile properties#

Profile properties are extra fields on a person’s Klaviyo profile. The app adds the ones below to every member. Use them in segments (groups of people you email) and inside emails. The Use in Klaviyo card on the page lists them with a copy button for each.

Property What it holds
loyalty_customer_id The member’s loyalty ID
loyalty_current_points Points balance
loyalty_pending_points Pending points
loyalty_lifetime_points Lifetime points
loyalty_rewards_claimed Rewards claimed
loyalty_vip_tier Current VIP tier
loyalty_vip_tier_threshold The current tier’s threshold
loyalty_next_tier Next VIP tier
loyalty_to_next_tier What’s left to reach the next tier
loyalty_referral_code Referral code
loyalty_referral_link Referral link
loyalty_birthday Birthday
loyalty_points_expiring Points that will expire
loyalty_points_expiry_date When those points expire

Loyalty events for flows#

A flow is an automated email (or series of emails) in Klaviyo. Each loyalty event can start one. Klaviyo calls these events metrics.

  1. In Klaviyo, create a flow with a metric trigger.
  2. Pick the event name from the Klaviyo metric column below. The copy button next to each event on the app page copies its exact name.
Event in the app Sent when Klaviyo metric
Joined the program A customer joins the loyalty program. Loyalty Account Created
Birthday reward A member gets their birthday reward. Loyalty Birthday Reward
Referral completed A referral completes, for the referrer and the friend. Loyalty Referral Completed
Moved up a VIP tier A member moves up to a higher VIP tier. Loyalty Tier Upgraded
Points earned A member earns points, for example from an order. Loyalty Points Earned
Points redeemed A member spends points on a reward. Loyalty Points Redeemed
Reward used in an order A reward code is used in an order. Loyalty Reward Used
Points expiring soon A member’s points are about to expire. Loyalty Points Expiring Soon
Points expired A member’s points expire. Loyalty Points Expired
Points adjusted by you You add or remove a member’s points. Loyalty Points Adjusted
Store credit adjusted by you You add or remove a member’s store credit. Loyalty Credits Adjusted
Win-back bonus A member who may not come back is due a win-back email. Loyalty Churn Risk Detected

Use Turn all on or Turn all off to change every switch at once, then click Save.

Klaviyo can also send a text message from these events to contacts who agreed to SMS in Klaviyo. The loyalty app never sends texts or changes consent.

Example: send a “points expiring” email. In Klaviyo, create a flow triggered by Loyalty Points Expiring Soon. In the email, show loyalty_points_expiring (how many points) and loyalty_points_expiry_date (when). When a member’s points are about to expire, the app sends the event and Klaviyo emails them.

Pause, resync or check the connection#

  • Pause sending: use the switch at the top of the page (Sending to Klaviyo / Paused), then click Save.
  • Member sync: click Sync all members again to copy everyone’s loyalty data to Klaviyo again. A progress bar shows while it runs.
  • See what was sent: the Delivery and Recent events cards. Events that fail are retried automatically.
  • Check connection on the Connection card tests that Klaviyo still accepts the connection.

Disconnect Klaviyo#

On the Connection card, click Disconnect. The app stops sending to Klaviyo and removes its access. To connect again, click Connect Klaviyo.

Troubleshooting#

  • “Klaviyo didn’t grant every permission”: Klaviyo didn’t approve every permission the app needs for events, profiles and lists. Click Reconnect Klaviyo and approve them all.
  • No lists in the picker: create a list in Klaviyo, then reload the page.
  • “Klaviyo didn’t respond as expected” after Check connection: click Reconnect Klaviyo.
  • “Switch to your Klaviyo login”: your store was connected with an API key (a password-like code). It keeps working. Connecting with your Klaviyo login is safer, though, and lets you pick your list in the app. Click Connect with Klaviyo login.
  • Events not arriving: check that sending isn’t paused and that the event’s switch is on.