Klaviyo
Last updated
Last updated
Dollarback integrates seamlessly with Klaviyo, allowing you to synchronize store credit data, trigger automated emails, and personalize customer communication based on store credit transactions.
This guide will walk you through the integration process and how to utilize DollarBackβs Klaviyo events and properties to enhance your email flows.
Before integrating DollarBack with Klaviyo, ensure that:
You have an active Klaviyo account.
Your Klaviyo account is already integrated with Shopify.
You have installed DollarBack on your Shopify store.
Open the DollarBack app in your Shopify Admin.
Navigate to the Integrations page.
Click Connect with Klaviyo.
A new page will open asking for permissions. Click Continue.
Review the permissions and click Allow.
Once connected, you will see the list of store credit properties that sync with Klaviyo.
When integrated, Dollarback syncs the following store credit-related properties to Klaviyo:
Dollar Balance - Customer's main store credit balance (i.e 36.85)
Dollar Currency Code - Customer's main store credit currency symbol (i.e. "$")
Dollar Formatted Balance - Customer's main store credit balance formatted amount (i.e. "$36.85")
Dollar Symbol - Customer's main store credit balance currency (i.e. "USD")
To ensure data sync, a dummy profile (dummy@dollarlabs.io) is created before any store credit transactions even occur for ease of configuration.
DollarBack pushes the following events to Klaviyo:
Store Credit Credited - Triggered when a customer receives store credit.
Store Credit Debited - Triggered when a customer spends store credit on an order.
Each event includes:
formattedAmount: The store credit amount formatted for easy readability. ($36.85)
amount: The raw numerical value of store credit. (36.85)
currency: The currency of the transaction. (i.e. "USD")
symbol: The currency symbol. (ie $)
You can view these events in Klaviyo under Metrics > Store Credit Events.
To notify customers of store credit transactions, set up an automated Flow in Klaviyo.
Open Klaviyo and navigate to Flows.
Click Create Flow and select Build Your Own.
Name your flow (e.g., "Cashback Credited").
In the Trigger section, choose DollarBack and select Store Credit Credited.
Click Save.
Drag and drop the Email action from the left panel into the flow.
Click Edit on the email action.
Use the Drag-and-Drop Builder to design your email.
To personalize the email with store credit data, click Personalization (top-right) and search for dollar_balance or formatted_balance.
Insert it into the email (e.g., "Your current balance is {{ formatted_balance }}. Spend it now!").
Click Save & Exit.
Repeat the same steps above but select Store Credit Debited as the trigger.
Click Preview & Test within your email template.
Select a test customer to see how the store credit details appear.
Click Send Test Email to verify the email formatting and personalization.
Place an order in your Shopify store that triggers a store credit event.
Check Klaviyo's Activity Feed to ensure the event is logged.
Verify that an email is sent based on your flow settings.
Dollarback Balance
Customer's main store credit balance (i.e. 36.85
)
Dollarback Symbol
Customer's main store credit currency symbol (i.e. "$"
)
Dollarback Currency Code
Customer's main store credit balance currency (i.e. "USD"
)
Dollarback Formatted Balance
Customer's main store credit balance formatted amount (i.e. "$36.85"
)
Store Credit Credited
Triggered when a store credit has been credited to a customer.
currency: String (i.e. "USD"
)
amount: Number (i.e. 36.85
)
formattedAmount: String (i.e. "$36.85"
)
Store Credit Debited
Triggered when a store credit has been debited from a customer.
currency: String (i.e. "USD"
)
amount: Number (i.e. 36.85
)
formattedAmount: String (i.e. "$36.85"
)
Store Credit Expiry Threshold
Triggered when a store credit is about to expire.
currency: String (i.e. "USD"
)
amount: Number (i.e. 36.85
)
formattedAmount: String (i.e. "$36.85"
)
symbol: String (i.e. "$"
)
expiresAt: Date (i.e. "Mar 5, 2025 at 3:07 AM"
)
remainingDays: Number (i.e. 1
)
Your Klaviyo integration with DollarBack is now live! You can further customize emails, automate notifications, and personalize communication based on store credit data. If you need any assistance, feel free to reach out to our support team!