Sync Shopify Gift Card Balances to Klaviyo Profiles
Enhance your marketing campaigns by syncing Shopify customer gift card balances with their Klaviyo profiles. This template allows you to use gift card data in Klaviyo flows, such as browse and cart abandonment emails, to drive conversions and personalize customer engagement. Leverage balance information to create more effective, data-driven marketing strategies.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
10 steps to start syncing Shopify gift card balances to Klaviyo profiles daily
Schedule
Schedule
Get List of Gift Cards
Get List of Gift Cards
Retrieve Shop
Retrieve Shop
Loop
Loop
Retrieve Customer
Retrieve Customer
Update or Create Record
Update or Create Record
Custom SQL Query
Custom SQL Query
Get Klaviyo Profile from Email
Get Klaviyo Profile from Email
Filter
Filter
Update Profile
Update Profile
Ready to start syncing Shopify gift card balances to Klaviyo profiles daily
Get setup in 10 minutes.
Frequently asked questions
Will this sync gift cards for customers who aren't in Klaviyo yet?
No, the workflow only updates existing Klaviyo profiles. If a Shopify customer with a gift card doesn't have a Klaviyo profile yet, Step 9's filter stops the workflow for that customer. You'll need to ensure customers are synced to Klaviyo (via another integration or workflow using Paths) before their gift card balances can be updated.
What happens if the SQL query in Step 7 needs adjustment?
The query currently includes WHERE "Disabled At" IS NOT NULL, which only counts disabled gift cards—you likely want IS NULL to count only active cards. You can edit this query directly in the workflow configuration to match your business logic, such as excluding expired cards or only counting cards above a certain balance threshold.
Can I sync this more frequently than daily if I have a high-volume gift card program?
Yes, you can change the schedule in Step 1 to run more frequently—every 12 hours, every 6 hours, or even hourly. However, be aware that processing thousands of gift cards multiple times per day increases your MESA automation usage and API calls to both Shopify and Klaviyo, so balance frequency with your actual business needs.
Make this template your own!
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
Ready to start syncing Shopify gift card balances to Klaviyo profiles daily?
7-day free trial • 10 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support

