{"id":13085,"date":"2025-03-28T16:00:00","date_gmt":"2025-03-28T16:00:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=13085"},"modified":"2025-12-22T23:07:29","modified_gmt":"2025-12-22T23:07:29","slug":"gift-card-balance-klaviyo-flow","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/","title":{"rendered":"How to Track Shopify Gift Card Balances in Klaviyo"},"content":{"rendered":"\n<p>Gift cards are popular for businesses to drive sales and customer loyalty. However, managing gift card balances can be a hassle and time-consuming, especially for growing e-commerce stores.<\/p>\n\n\n\n<p>Integrating gift card data with your email marketing platform, like <a href=\"https:\/\/www.getmesa.com\/apps\/klaviyo\/integrate\">Klaviyo<\/a>, can help streamline this process and improve the customer experience. By tracking gift card balances in Klaviyo, you can create targeted campaigns, send timely reminders, and keep your customers engaged.<\/p>\n\n\n\n<p>In this post, we will discuss the benefits of tracking gift card balances in Klaviyo and provide a step-by-step guide on how to set up a gift card balance flow.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><strong>TL;DR: <strong><strong>Skip the step-by-step tutorial<\/strong>.<\/strong>\u00a0<\/strong>Use this template to track gift card balances in Klaviyo with just a few clicks.<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>sync-shopify-gift-card-balance-to-klaviyo-profile<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"sync-shopify-gift-card-balance-to-klaviyo-profile\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\t\t<style>.mesa-template-backend {\n    background: rgba(139, 139, 150, 0.1);\n    padding: 22px;\n}\n\n.mesa-template-backend h5,\n.mesa-template-backend p {\n    margin: 0 0 5px;\n}\n\n.mesa-template-backend p {\n    font-size: 16px;\n}\n\n.mesa-template-backend p:last-child {\n    display: inline-block;\n    background: #fff;\n    padding: 5px 10px;\n}\n\n.mesa-template-backend p strong {\n    font-size: 12px;\n}<\/style>\n\t\t\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents:<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#How-to-sync-Shopify-gift-card-balances-to-Klaviyo-profiles\" >How to sync Shopify gift card balances to Klaviyo profiles<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Why-track-gift-card-balances-in-Klaviyo\" >Why track gift card balances in Klaviyo?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Benefits-of-tracking-gift-card-balances-in-Klaviyo\" >Benefits of tracking gift card balances in Klaviyo<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Reduce-Gift-Card-Abandonment\" >Reduce Gift Card Abandonment&nbsp;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Encourage-Repeat-Purchases\" >Encourage Repeat Purchases<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Build-Customer-Loyalty\" >Build Customer Loyalty&nbsp;<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.getmesa.com/blog\/gift-card-balance-klaviyo-flow\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-sync-shopify-gift-card-balances-to-klaviyo-profiles\"><span class=\"ez-toc-section\" id=\"How-to-sync-Shopify-gift-card-balances-to-Klaviyo-profiles\"><\/span><strong>How to sync Shopify gift card balances to Klaviyo profiles<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-total-time\"><span class=\"schema-how-to-duration-time-text\">Time needed:&nbsp;<\/span>5 minutes<\/p><p class=\"schema-how-to-description\">This automation seamlessly synchronizes Shopify gift card balances with corresponding customer profiles in Klaviyo. As a result, this workflow enhances marketing campaigns by leveraging gift card data for personalized customer engagement. Additionally, it enables more targeted strategies to drive conversions and retention.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1742411126579\"><strong class=\"schema-how-to-step-name\"><strong>Schedule the workflow<\/strong><\/strong> <p class=\"schema-how-to-step-text\">The <a href=\"https:\/\/www.getmesa.com\/apps\/schedule\/integrate\">workflow schedule<\/a> is set to run daily at midnight, ensuring that the gift card balances are updated once a day.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"356\" class=\"wp-image-13086\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-108.png\" alt=\"Schedule the workflow\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-108.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-108-300x70.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-108-1024x237.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-108-768x178.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411174065\"><strong class=\"schema-how-to-step-name\"><strong>Retrieve a list of gift cards from Shopify<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Fetch a comprehensive list of gift cards from <a href=\"https:\/\/www.getmesa.com\/apps\/shopify\/integrate\">Shopify<\/a>.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"316\" class=\"wp-image-13087\" alt=\"Retrieve a list of gift cards from Shopify\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-109.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-109.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-109-300x62.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-109-1024x211.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-109-768x158.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411214042\"><strong class=\"schema-how-to-step-name\"><strong>Loop through all gift cards<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Initiate a <a href=\"https:\/\/www.getmesa.com\/apps\/loop\/integrate\">loop<\/a> to process each gift card individually. This step iterates over each card to handle associated data sequentially.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1418\" class=\"wp-image-13088\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-110.png\" alt=\"Loop through all gift cards\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-110.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-110-300x277.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-110-1024x945.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-110-768x709.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411333878\"><strong class=\"schema-how-to-step-name\"><strong>Retrieve customer information from Shopify<\/strong><\/strong> <p class=\"schema-how-to-step-text\">This step retrieves an email address or phone number from a Customer ID for Klaviyo to use.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"908\" class=\"wp-image-13089\" alt=\"Retrieve customer information from Shopify\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-111.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-111.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-111-300x177.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-111-1024x605.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-111-768x454.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411383465\"><strong class=\"schema-how-to-step-name\"><strong>Update or create a gift card record in a database<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Insert or update the gift card information in a <a href=\"https:\/\/www.getmesa.com\/apps\/data\/integrate\">database<\/a> table named &#8220;Shopify Gift Cards.&#8221; If a customer has multiple gift cards, each will be recorded separately, allowing you to track individual balances. By storing these records in a database, you can sum their total value in Klaviyo for a comprehensive view of the customer&#8217;s gift card balance.<img loading=\"lazy\" decoding=\"async\" width=\"1538\" height=\"4955\" class=\"wp-image-13145\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-or-create-record.png\" alt=\"update or create data record\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record.png 1538w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record-93x300.png 93w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record-318x1024.png 318w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record-768x2474.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record-477x1536.png 477w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-or-create-record-636x2048.png 636w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411451203\"><strong class=\"schema-how-to-step-name\"><strong>Query the total balance for the customer<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Calculate the total gift card balance for each customer by querying the database. This step aggregates the balances for saving totals in Klaviyo. Here\u2019s the snippet to copy then paste:<br\/><br\/><code>SELECT SUM(CAST(\"Balance\" AS numeric)) AS \"Total Balance\"<br\/>FROM \"Shopify Gift Cards\"<br\/>WHERE \"Customer Email\" = '{{shopify_1.email}}'<br\/>\u00a0\u00a0AND \"Disabled At\" IS NOT NULL<\/code><img loading=\"lazy\" decoding=\"async\" width=\"1437\" height=\"1600\" class=\"wp-image-13090\" alt=\"Query total balance for the customer\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-112.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-112.png 1437w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-112-269x300.png 269w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-112-920x1024.png 920w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-112-768x855.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-112-1380x1536.png 1380w\" sizes=\"auto, (max-width: 1437px) 100vw, 1437px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411518315\"><strong class=\"schema-how-to-step-name\"><strong>Fetch Klaviyo profile by email<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Retrieve the customer&#8217;s Klaviyo profile using their email address. Here\u2019s the snippet to copy then paste:<br\/><br\/><code>equals(email,'{{shopify_1.email}}')<\/code><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"860\" class=\"wp-image-13091\" alt=\"Fetch Klaviyo profile by email\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-113.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-113.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-113-300x168.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-113-1024x573.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-113-768x430.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411673196\"><strong class=\"schema-how-to-step-name\"><strong>Filter Klaviyo profile<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Ensure the Klaviyo profile exists by checking if the profile ID is not empty. This validation step prevents errors in the next update step.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"996\" class=\"wp-image-13092\" alt=\"Filter Klaviyo profile\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-114.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-114.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-114-300x195.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-114-1024x664.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-114-768x498.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411725936\"><strong class=\"schema-how-to-step-name\"><strong>Update the Klaviyo profile with gift card balance<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Update the Klaviyo profile by setting the &#8220;Gift Card Balance&#8221; attribute to the calculated total balance. This integration personalizes the customer profile with relevant gift card data. Learn how to set up <a href=\"https:\/\/help.klaviyo.com\/hc\/en-us\/articles\/115000250912\" target=\"_blank\" rel=\"noreferrer noopener\">custom profile properties in Klaviyo<\/a>.\u00a0<img loading=\"lazy\" decoding=\"async\" width=\"1518\" height=\"3922\" class=\"wp-image-13146\" alt=\"update klaviyo profile\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-klaviyo-profile.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile.png 1518w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile-116x300.png 116w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile-396x1024.png 396w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile-768x1984.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile-595x1536.png 595w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/update-klaviyo-profile-793x2048.png 793w\" sizes=\"auto, (max-width: 1518px) 100vw, 1518px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1742411783272\"><strong class=\"schema-how-to-step-name\"><strong>Turn &#8220;On&#8221; this workflow<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Be sure to run your workflow once to test that gift card balances are being added to Klaviyo customer profiles. Then, turn &#8220;On&#8221; this workflow to have it run automatically.<img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"1600\" class=\"wp-image-13094\" alt=\"Turn &quot;On&quot; this workflow to track Shopify gift card balances in Klaviyo.\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-116.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-116.png 798w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-116-150x300.png 150w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-116-511x1024.png 511w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-116-768x1540.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-116-766x1536.png 766w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><strong>Save yourself the setup. <\/strong>Use this template instead:<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>sync-gift-card-balance-to-klaviyo-profile<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"sync-gift-card-balance-to-klaviyo-profile\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-track-gift-card-balances-in-klaviyo\"><span class=\"ez-toc-section\" id=\"Why-track-gift-card-balances-in-Klaviyo\"><\/span><strong>Why track gift card balances in Klaviyo?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Many brands <a href=\"https:\/\/community.klaviyo.com\/marketing-30\/access-shopify-gift-card-object-3789\" target=\"_blank\" rel=\"noreferrer noopener\">struggle to sync gift card balance updates to Klaviyo<\/a> profiles, leading to missed customer engagement and sales opportunities. When appropriately managed, gift cards drive repeat purchases and customer loyalty.<\/p>\n\n\n\n<p>Integrating gift card data with Klaviyo allows you to create targeted campaigns based on customer behavior and preferences. For example, you can send personalized product recommendations to customers with unused gift card balances to redeem their funds for items they like. This level of personalization will build stronger relationships with your customers and increase the chances of repeat purchases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-benefits-of-tracking-gift-card-balances-in-klaviyo\"><span class=\"ez-toc-section\" id=\"Benefits-of-tracking-gift-card-balances-in-Klaviyo\"><\/span><strong>Benefits of tracking gift card balances in Klaviyo<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Using Klaviyo&#8217;s advanced segmentation, you can easily identify customers with unused gift card balances. As a result, you can create highly targeted campaigns to encourage them to redeem their funds. Additionally, by diving deep into their purchase history, you can craft personalized product recommendations that align with their interests and preferences.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-reduce-gift-card-abandonment-nbsp\"><span class=\"ez-toc-section\" id=\"Reduce-Gift-Card-Abandonment\"><\/span><strong>Reduce Gift Card Abandonment&nbsp;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Gift card abandonment is a common problem for many eCommerce businesses, often leading to lost revenue. However, to combat this, you can use automated balance reminder emails in <a href=\"https:\/\/help.klaviyo.com\/hc\/en-us\/articles\/115002774932\" target=\"_blank\" rel=\"noreferrer noopener\">Klaviyo&#8217;s flow builder<\/a>. As a result, these timely reminders act as a gentle nudge, ensuring that customers always stay aware of their available gift card funds.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-encourage-repeat-purchases\"><span class=\"ez-toc-section\" id=\"Encourage-Repeat-Purchases\"><\/span><strong>Encourage Repeat Purchases<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Creating a sense of urgency is a proven way to drive customer action. With Klaviyo, you can set up automated email notifications to alert customers when their gift card balances are about to expire. In addition, use compelling subject lines and persuasive messaging to highlight the limited time remaining and the unused funds. Consider offering exclusive promotions or limited-time discounts to customers with expiring balances.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-build-customer-loyalty-nbsp\"><span class=\"ez-toc-section\" id=\"Build-Customer-Loyalty\"><\/span><strong>Build Customer Loyalty&nbsp;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Personalization is key to building strong relationships with your customers. By tracking gift card balances in Klaviyo, you can craft highly personalized communications that will resonate with your audience. When a customer redeems a gift card, use the opportunity to send a thank-you email. Take it further by including a special offer or exclusive discount code for their next purchase. Also, consider integrating gift card data into your loyalty program and rewarding customers who frequently use gift cards with bonus points, early access to sales, or other perks.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span><strong>Frequently asked questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1742410766517\"><strong class=\"schema-faq-question\"><strong>How often should gift card balances sync?<\/strong><\/strong> <p class=\"schema-faq-answer\">Gift card balances should sync at least daily to ensure accuracy for marketing campaigns and prevent discrepancies between Shopify and Klaviyo data.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1742410790593\"><strong class=\"schema-faq-question\"><strong>What triggers should activate balance reminder emails?<\/strong><\/strong> <p class=\"schema-faq-answer\">Balance reminder emails should be triggered when a card balance falls below a set threshold, such as $10, or when the card is approaching its expiration date, typically 30 days prior, to encourage timely redemption.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1742410799183\"><strong class=\"schema-faq-question\"><strong>Which customer segments respond best to gift card campaigns?<\/strong><\/strong> <p class=\"schema-faq-answer\">First-time gift card recipients often need guidance on how to use their balance, while high-value cardholders are more likely to engage with personalized upsell offers.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1742410807960\"><strong class=\"schema-faq-question\"><strong>How can you measure gift card tracking success?<\/strong><\/strong> <p class=\"schema-faq-answer\">Tracking success requires monitoring key metrics to gauge effectiveness. For example, you should track email open and click-through rates for balance reminders. Additionally, measuring redemption rates helps assess gift card usage. Finally, comparing repeat purchase rates between gift card users and non-users provides insights into overall engagement.<\/p> <\/div> <\/div>\n\n\n\n<div class=\"card-next-steps\">\n\t<div class=\"card__content\">\n\t\t<h4>What to do next&#8230;<\/h4>\n<p>The fastest way to see automation working in your store is to start with a single workflow.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.getmesa.com\/pricing\"><strong>Try MESA free<\/strong><\/a> \u2014 start a 7-day free trial and get your first workflow running.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/templates\"><strong>Browse the template library<\/strong><\/a> \u2014 pre-built workflows for the most common Shopify automation tasks.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/yedric\"><strong>Talk to Yedric<\/strong><\/a> \u2014 describe what you want to automate, and let our AI assistant build it for you.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/support\"><strong>Get free workflow setup<\/strong><\/a> \u2014 MESA&#8217;s team will build your first workflow at no cost.<\/li>\n<\/ol>\n\t<\/div><!-- \/.card__content -->\n\n\t\n<div class=\"socials card__socials\">\n\t<ul>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/twitter.com\/getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/twitter-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: twitter\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.youtube.com\/@getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/youtube-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: youtube\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/company\/9754608\/\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/linkedin-icon.svg\" class=\"attachment-small size-small\" alt=\"linkedin icon\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t<\/ul>\n<\/div><!-- \/.socials -->\n<\/div><!-- \/.card-next-steps -->\n","protected":false},"excerpt":{"rendered":"<p>Gift cards are popular for businesses to drive sales and customer loyalty. However, managing gift card balances can be a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":13099,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[146],"class_list":["post-13085","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-klaviyo"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Track Shopify Gift Card Balances in Klaviyo<\/title>\n<meta name=\"description\" content=\"Learn how to set up a gift card balance Klaviyo flow to automate balance updates and streamline Shopify gift card integration.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Track Shopify Gift Card Balances in Klaviyo\" \/>\n<meta property=\"og:description\" content=\"Gift cards are popular for businesses to drive sales and customer loyalty. However, managing gift card balances can be a hassle and time-consuming,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/\" \/>\n<meta property=\"og:site_name\" content=\"MESA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/mesabyshoppad\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-28T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T23:07:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan ODonnell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getmesa\" \/>\n<meta name=\"twitter:site\" content=\"@getmesa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan ODonnell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/37dc9b968192b2be49af3950022179cc\"},\"headline\":\"How to Track Shopify Gift Card Balances in Klaviyo\",\"datePublished\":\"2025-03-28T16:00:00+00:00\",\"dateModified\":\"2025-12-22T23:07:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/\"},\"wordCount\":1055,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/klaviyo-gift-card-balance-flow.png\",\"keywords\":[\"klaviyo\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/\",\"name\":\"How to Track Shopify Gift Card Balances in Klaviyo\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/klaviyo-gift-card-balance-flow.png\",\"datePublished\":\"2025-03-28T16:00:00+00:00\",\"dateModified\":\"2025-12-22T23:07:29+00:00\",\"description\":\"Learn how to set up a gift card balance Klaviyo flow to automate balance updates and streamline Shopify gift card integration.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410766517\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410790593\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410799183\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410807960\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/klaviyo-gift-card-balance-flow.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/klaviyo-gift-card-balance-flow.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Track Shopify Gift Card Balances in Klaviyo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Track Shopify Gift Card Balances in Klaviyo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"name\":\"MESA\",\"description\":\"Discover how to automate your Shopify growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\",\"name\":\"MESA - AI automation Platform\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"width\":225,\"height\":225,\"caption\":\"MESA - AI automation Platform\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/mesabyshoppad\\\/\",\"https:\\\/\\\/x.com\\\/getmesa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/shoppad\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCqsf_WhcGEsZMvms1idivyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/37dc9b968192b2be49af3950022179cc\",\"name\":\"Ryan ODonnell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"caption\":\"Ryan ODonnell\"},\"sameAs\":[\"https:\\\/\\\/www.getmesa.com\"],\"jobTitle\":\"Director of Marketing\",\"worksFor\":\"MESA\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410766517\",\"position\":1,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410766517\",\"name\":\"How often should gift card balances sync?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Gift card balances should sync at least daily to ensure accuracy for marketing campaigns and prevent discrepancies between Shopify and Klaviyo data.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410790593\",\"position\":2,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410790593\",\"name\":\"What triggers should activate balance reminder emails?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Balance reminder emails should be triggered when a card balance falls below a set threshold, such as $10, or when the card is approaching its expiration date, typically 30 days prior, to encourage timely redemption.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410799183\",\"position\":3,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410799183\",\"name\":\"Which customer segments respond best to gift card campaigns?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"First-time gift card recipients often need guidance on how to use their balance, while high-value cardholders are more likely to engage with personalized upsell offers.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410807960\",\"position\":4,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#faq-question-1742410807960\",\"name\":\"How can you measure gift card tracking success?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Tracking success requires monitoring key metrics to gauge effectiveness. For example, you should track email open and click-through rates for balance reminders. Additionally, measuring redemption rates helps assess gift card usage. Finally, comparing repeat purchase rates between gift card users and non-users provides insights into overall engagement.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#howto-1\",\"name\":\"How to Track Shopify Gift Card Balances in Klaviyo\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#article\"},\"description\":\"This automation seamlessly synchronizes Shopify gift card balances with corresponding customer profiles in Klaviyo. As a result, this workflow enhances marketing campaigns by leveraging gift card data for personalized customer engagement. Additionally, it enables more targeted strategies to drive conversions and retention.\",\"totalTime\":\"P0DT0H5M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411126579\",\"name\":\"Schedule the workflow\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"The workflow schedule is set to run daily at midnight, ensuring that the gift card balances are updated once a day.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-80eff11ef9f145e2c8ec3e127c1295c8\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-108.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-108.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411174065\",\"name\":\"Retrieve a list of gift cards from Shopify\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Fetch a comprehensive list of gift cards from Shopify.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-c9e545de64427a52da19b757f3186342\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-109.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-109.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411214042\",\"name\":\"Loop through all gift cards\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Initiate a loop to process each gift card individually. This step iterates over each card to handle associated data sequentially.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-85bbed66c3c37b6c2346ab339e0c1af6\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-110.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-110.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411333878\",\"name\":\"Retrieve customer information from Shopify\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"This step retrieves an email address or phone number from a Customer ID for Klaviyo to use.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-7ba90fc46720154ea738c8b1f1cc078e\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-111.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-111.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411383465\",\"name\":\"Update or create a gift card record in a database\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Insert or update the gift card information in a database table named \\\"Shopify Gift Cards.\\\" If a customer has multiple gift cards, each will be recorded separately, allowing you to track individual balances. By storing these records in a database, you can sum their total value in Klaviyo for a comprehensive view of the customer's gift card balance.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-9230df31256be6c6ba8417b70909104a\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/update-or-create-record.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/update-or-create-record.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411451203\",\"name\":\"Query the total balance for the customer\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Calculate the total gift card balance for each customer by querying the database. This step aggregates the balances for saving totals in Klaviyo. Here\u2019s the snippet to copy then paste:SELECT SUM(CAST(\\\"Balance\\\" AS numeric)) AS \\\"Total Balance\\\"FROM \\\"Shopify Gift Cards\\\"WHERE \\\"Customer Email\\\" = '{{shopify_1.email}}'\u00a0\u00a0AND \\\"Disabled At\\\" IS NOT NULL\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-76b56fbec62a4d68bd27d478f68eec88\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-112.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-112.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411518315\",\"name\":\"Fetch Klaviyo profile by email\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Retrieve the customer's Klaviyo profile using their email address. Here\u2019s the snippet to copy then paste:equals(email,'{{shopify_1.email}}')\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-3ed57ae0cd30070667212e8671694a65\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-113.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-113.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411673196\",\"name\":\"Filter Klaviyo profile\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Ensure the Klaviyo profile exists by checking if the profile ID is not empty. This validation step prevents errors in the next update step.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-49af5adc21042a217c8bb93d7afd04f8\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-114.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-114.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411725936\",\"name\":\"Update the Klaviyo profile with gift card balance\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Update the Klaviyo profile by setting the \\\"Gift Card Balance\\\" attribute to the calculated total balance. This integration personalizes the customer profile with relevant gift card data. Learn how to set up custom profile properties in Klaviyo.\u00a0\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-3c2360139d81af0097378e5b31152799\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/update-klaviyo-profile.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/update-klaviyo-profile.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#how-to-step-1742411783272\",\"name\":\"Turn \\\"On\\\" this workflow\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Be sure to run your workflow once to test that gift card balances are being added to Klaviyo customer profiles. Then, turn \\\"On\\\" this workflow to have it run automatically.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/gift-card-balance-klaviyo-flow\\\/#schema-image-70777b1c6928c66f30747d624744d68f\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-116.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-116.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Track Shopify Gift Card Balances in Klaviyo","description":"Learn how to set up a gift card balance Klaviyo flow to automate balance updates and streamline Shopify gift card integration.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/","og_locale":"en_US","og_type":"article","og_title":"How to Track Shopify Gift Card Balances in Klaviyo","og_description":"Gift cards are popular for businesses to drive sales and customer loyalty. However, managing gift card balances can be a hassle and time-consuming,","og_url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-03-28T16:00:00+00:00","article_modified_time":"2025-12-22T23:07:29+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png","type":"image\/png"}],"author":"Ryan ODonnell","twitter_card":"summary_large_image","twitter_creator":"@getmesa","twitter_site":"@getmesa","twitter_misc":{"Written by":"Ryan ODonnell","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/37dc9b968192b2be49af3950022179cc"},"headline":"How to Track Shopify Gift Card Balances in Klaviyo","datePublished":"2025-03-28T16:00:00+00:00","dateModified":"2025-12-22T23:07:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/"},"wordCount":1055,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png","keywords":["klaviyo"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/","name":"How to Track Shopify Gift Card Balances in Klaviyo","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png","datePublished":"2025-03-28T16:00:00+00:00","dateModified":"2025-12-22T23:07:29+00:00","description":"Learn how to set up a gift card balance Klaviyo flow to automate balance updates and streamline Shopify gift card integration.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410766517"},{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410790593"},{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410799183"},{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410807960"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/klaviyo-gift-card-balance-flow.png","width":1280,"height":720,"caption":"How to Track Shopify Gift Card Balances in Klaviyo"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Track Shopify Gift Card Balances in Klaviyo"}]},{"@type":"WebSite","@id":"https:\/\/www.getmesa.com\/blog\/#website","url":"https:\/\/www.getmesa.com\/blog\/","name":"MESA","description":"Discover how to automate your Shopify growth","publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.getmesa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.getmesa.com\/blog\/#organization","name":"MESA - AI automation Platform","url":"https:\/\/www.getmesa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","width":225,"height":225,"caption":"MESA - AI automation Platform"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/mesabyshoppad\/","https:\/\/x.com\/getmesa","https:\/\/www.linkedin.com\/company\/shoppad\/","https:\/\/www.youtube.com\/channel\/UCqsf_WhcGEsZMvms1idivyw"]},{"@type":"Person","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/37dc9b968192b2be49af3950022179cc","name":"Ryan ODonnell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","caption":"Ryan ODonnell"},"sameAs":["https:\/\/www.getmesa.com"],"jobTitle":"Director of Marketing","worksFor":"MESA"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410766517","position":1,"url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410766517","name":"How often should gift card balances sync?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Gift card balances should sync at least daily to ensure accuracy for marketing campaigns and prevent discrepancies between Shopify and Klaviyo data.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410790593","position":2,"url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410790593","name":"What triggers should activate balance reminder emails?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Balance reminder emails should be triggered when a card balance falls below a set threshold, such as $10, or when the card is approaching its expiration date, typically 30 days prior, to encourage timely redemption.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410799183","position":3,"url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410799183","name":"Which customer segments respond best to gift card campaigns?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"First-time gift card recipients often need guidance on how to use their balance, while high-value cardholders are more likely to engage with personalized upsell offers.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410807960","position":4,"url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#faq-question-1742410807960","name":"How can you measure gift card tracking success?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Tracking success requires monitoring key metrics to gauge effectiveness. For example, you should track email open and click-through rates for balance reminders. Additionally, measuring redemption rates helps assess gift card usage. Finally, comparing repeat purchase rates between gift card users and non-users provides insights into overall engagement.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#howto-1","name":"How to Track Shopify Gift Card Balances in Klaviyo","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#article"},"description":"This automation seamlessly synchronizes Shopify gift card balances with corresponding customer profiles in Klaviyo. As a result, this workflow enhances marketing campaigns by leveraging gift card data for personalized customer engagement. Additionally, it enables more targeted strategies to drive conversions and retention.","totalTime":"P0DT0H5M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411126579","name":"Schedule the workflow","itemListElement":[{"@type":"HowToDirection","text":"The workflow schedule is set to run daily at midnight, ensuring that the gift card balances are updated once a day."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-80eff11ef9f145e2c8ec3e127c1295c8","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-108.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-108.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411174065","name":"Retrieve a list of gift cards from Shopify","itemListElement":[{"@type":"HowToDirection","text":"Fetch a comprehensive list of gift cards from Shopify."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-c9e545de64427a52da19b757f3186342","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-109.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-109.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411214042","name":"Loop through all gift cards","itemListElement":[{"@type":"HowToDirection","text":"Initiate a loop to process each gift card individually. This step iterates over each card to handle associated data sequentially."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-85bbed66c3c37b6c2346ab339e0c1af6","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-110.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-110.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411333878","name":"Retrieve customer information from Shopify","itemListElement":[{"@type":"HowToDirection","text":"This step retrieves an email address or phone number from a Customer ID for Klaviyo to use."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-7ba90fc46720154ea738c8b1f1cc078e","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-111.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-111.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411383465","name":"Update or create a gift card record in a database","itemListElement":[{"@type":"HowToDirection","text":"Insert or update the gift card information in a database table named \"Shopify Gift Cards.\" If a customer has multiple gift cards, each will be recorded separately, allowing you to track individual balances. By storing these records in a database, you can sum their total value in Klaviyo for a comprehensive view of the customer's gift card balance."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-9230df31256be6c6ba8417b70909104a","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-or-create-record.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-or-create-record.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411451203","name":"Query the total balance for the customer","itemListElement":[{"@type":"HowToDirection","text":"Calculate the total gift card balance for each customer by querying the database. This step aggregates the balances for saving totals in Klaviyo. Here\u2019s the snippet to copy then paste:SELECT SUM(CAST(\"Balance\" AS numeric)) AS \"Total Balance\"FROM \"Shopify Gift Cards\"WHERE \"Customer Email\" = '{{shopify_1.email}}'\u00a0\u00a0AND \"Disabled At\" IS NOT NULL"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-76b56fbec62a4d68bd27d478f68eec88","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-112.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-112.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411518315","name":"Fetch Klaviyo profile by email","itemListElement":[{"@type":"HowToDirection","text":"Retrieve the customer's Klaviyo profile using their email address. Here\u2019s the snippet to copy then paste:equals(email,'{{shopify_1.email}}')"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-3ed57ae0cd30070667212e8671694a65","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-113.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-113.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411673196","name":"Filter Klaviyo profile","itemListElement":[{"@type":"HowToDirection","text":"Ensure the Klaviyo profile exists by checking if the profile ID is not empty. This validation step prevents errors in the next update step."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-49af5adc21042a217c8bb93d7afd04f8","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-114.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-114.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411725936","name":"Update the Klaviyo profile with gift card balance","itemListElement":[{"@type":"HowToDirection","text":"Update the Klaviyo profile by setting the \"Gift Card Balance\" attribute to the calculated total balance. This integration personalizes the customer profile with relevant gift card data. Learn how to set up custom profile properties in Klaviyo.\u00a0"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-3c2360139d81af0097378e5b31152799","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-klaviyo-profile.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/update-klaviyo-profile.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#how-to-step-1742411783272","name":"Turn \"On\" this workflow","itemListElement":[{"@type":"HowToDirection","text":"Be sure to run your workflow once to test that gift card balances are being added to Klaviyo customer profiles. Then, turn \"On\" this workflow to have it run automatically."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/gift-card-balance-klaviyo-flow\/#schema-image-70777b1c6928c66f30747d624744d68f","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-116.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-116.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/comments?post=13085"}],"version-history":[{"count":13,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13085\/revisions"}],"predecessor-version":[{"id":17319,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13085\/revisions\/17319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/13099"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=13085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=13085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=13085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}