If you're using Klaviyo for personalized communication with customers, you can use Shopify Flow to sync the clients loyalty data from Alpha Loyalty to Klaviyo.
What you can do
Once you set up a Flow workflow, Alpha Loyalty starts sending events to Klaviyo, which you can use to:
Trigger automated flows when customers earn points, reach a new VIP tier, or have points expiring
Build segments based on loyalty status — for example, target high-balance customers or specific VIP tiers
Add loyalty data to all your emails — abandoned cart, post-purchase, campaigns — you can remind customers about their points balance and VIP status in any of them.
Available templates
Template | Trigger | Best for |
Send earned points to Klaviyo | Customer earns points | Post-purchase thank you, welcome bonus email |
Sync VIP Tier update to Klaviyo | Customer reaches new tier | Tier-up congratulations, new perks announcement |
Update points expiration date in Klaviyo | Points expiring within 30, 29, 28... 3, 2, 1 days | Urgency reminders, win-back campaigns |
Step 1: Install the template
1. Go to Shopify Flow → Browse templates
2. Search for Alpha Loyalty workflows
3. Choose the template you need and click Install
Step 2: Connect Klaviyo
Browse to your Klaviyo account's Settings -> API Keys
Copy your unique Public API Key
In Shopify Flow, click the Edit button of the workflow you have installed.
Click on the "Track an event" action in the workflow and enter the API key.
After the Public Key is specified, click Apply changes, and then turn the workflow on - the events will start syncing with Klaviyo.
Step 3. Build a Klaviyo flow
1. Go to Klaviyo → Flows → Create flow → Build your own
2. Press Build your own to create a flow from scratch
2. Choose Metric Triggered and select one of Alpha Loyalty's events:
Points earned
VIP tier achieved
Points expiration sync
3. Design your email sequence, using the variables you can find in the table above.
Using loyalty data in emails
With each Alpha Loyalty events, two types of data are being sent to Klaviyo:
Customer Properties — saved to the customer's Klaviyo profile. You can use those in any email (campaigns, flows, abandoned cart) and for segmentation.
Event Properties — available only in flows triggered by that specific event.
Let's take a look at all the properties and the variables you can use to insert them into your emails.
Points earned flow
Type | Email variable | Description |
Customer Property |
| Current points balance |
Event Property |
| Points just earned |
Event Property |
| The same as information on current points balance, but stored in the event properties. |
Event Property |
| How earned (e.g., "Order placed") |
Event Property |
| Program name |
VIP tier achieved flow
Type | Variable | Description |
Customer Property |
| Customer's current VIP tier |
Event Property |
| Tier just reached |
Event Property |
| Program name |
Points expiration sync flow
Type | Variable | Description |
Customer Property |
| Current points balance |
Event Property |
| Days until expiration |
Event Property |
| Expiration date and time |
Event Property |
| Balance at risk |
Example
Let's assume you're trying to set up a points expiration reminder 14 days before the customer's points are about to expire.
To do that, you might want to:
Choose Points expiration sync as the flow trigger.
Use a trigger split, which lets you fire up an email sequence when days_left is equal to 14.
3. Design your email, using the following variables in the email body to add extra context:
{{ event.points_expiration_date }}
{{ event.current_points_balance }}
The email you're setting up might look something like this:
Tip on formatting dates
The points_expiration_date variable returns a raw timestamp like 2026-04-20T13:12:53+00:00.
To display it in a readable format, use the format_date_string filter before the date filter:
{{ event.points_expiration_date|format_date_string|date:'F j, Y' }}→ April 20, 2026
{{ event.points_expiration_date|format_date_string|date:'m/d/Y' }}→ 04/20/2026
{{ event.points_expiration_date|format_date_string|date:'d.m.Y' }}→ 20.04.2026
Flow ideas
Points earned flow:
Thank customers for their purchase
Show how many points they earned and their new balance
Suggest rewards they can now redeem
VIP tier achieved flow:
Congratulate on reaching the new tier
List all new benefits and perks
Include a special offer to celebrate (optional)
Points expiration flow:
Send first reminder at 14 days before expiration
Send urgent reminder at 3 days before
Create urgency: "Your X points expire in Y days"
Add loyalty data to all your emails
Don't limit loyalty info to dedicated flows. Add points balance and VIP tier to your abandoned cart emails, post-purchase flows, and campaigns. This keeps customers engaged with your program and reminds them to use their rewards.
You can create a universal loyalty block in Klaviyo and reuse it across all templates.
Need help? Reach out at [email protected]








