Mailchimp integration
Connect Mailchimp to send every DollarBack credit event to your customers' Mailchimp contacts and keep each contact's credit balance and referral code in merge fields, so you can build Customer Journeys, segments, and campaigns around store credit.
Prerequisites
A Mailchimp account with access to the audience your customers are in.
Your Shopify customers must already be contacts in that audience, with the same email address as in Shopify. DollarBack updates existing contacts only; it never adds new contacts to your audience. If your customers aren't in Mailchimp yet, export them from Shopify admin β Customers β Export and import the file as contacts in Mailchimp.
A DollarBack plan that includes integrations. On other plans, the Mailchimp page shows Upgrade to Connect.
At least one active earning program, so there are events to sync (Set up purchase cashback).
Connect Mailchimp
Go to DollarBack admin β Integrations and find the Mailchimp card. Click Set up.
Click Connect with Mailchimp. A Mailchimp window opens.
Log in to the Mailchimp account you want linked, then click Allow on the Authorize Dollarback screen. The window shows "Connected to Mailchimp" and closes by itself.
Back on the Mailchimp page, the badge shows Connected. If it still shows Not Connected, reload the page.
Under Audience, select the audience your Shopify customers are synced into, and click Save. DollarBack adds its merge fields to that audience. Nothing is sent until an audience is saved.




Synced events
Each event is recorded on the contact in Mailchimp, matched by the customer's email address. Use these exact names when you build a Customer Journey or a segment on events:
store_credit_credited
Credit is issued (order cashback, signup, newsletter, review, Flow deposit, bulk import with the integrations toggle on, etc.)
amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, offerTitle
store_credit_debited
Credit is removed (refund clawback, manual or bulk-import debit)
amount, formattedAmount, currency, symbol, reason, orderId, orderName
store_credit_redeemed
A customer pays for an order with credit
amount, formattedAmount, currency, symbol, reason, orderId, orderName
birthday_reward
A birthday reward is issued as store credit
amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays
store_credit_expiring
Credit crosses a reminder threshold in your Expiry Notification Schedule
amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, remainingDays, transactionId
referral_code_generated
A referral code is created for a customer
referralCode, reason
referral_rewarded
A referrer earns store credit
amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, refereeFirstName, refereeLastName
discount_code_credit
A reward discount code is issued, earned through a program or claimed in the marketplace
discountCode, rewardSummary, offerTitle, reason, orderId, orderName, amount, formattedAmount
discount_code_expiring
An unused reward discount code crosses a reminder threshold
discountCode, rewardSummary, offerTitle, reason, expiresAt, formattedExpiresAt, remainingDays
tier_upgraded / tier_downgraded
The customer moves to a higher or lower tier
tier, previousTier, reason
membership_activated, membership_renewed, membership_payment_failed, membership_cancelled, membership_expired
A paid membership starts, renews, fails a payment, is cancelled or ends
planName, tier, status, expiresAt, formattedExpiresAt, nextBillingAt, price, formattedPrice, endReason
Property values reach Mailchimp as text. Dates are in your store's time zone:
amount
25.5
formattedAmount
βΉ25.50
expiresAt
December 31, 2026
formattedExpiresAt
December 31, 2026 at 11:59 PM EST
expiresAt and formattedExpiresAt are sent only when the credit has an expiry date.

Merge fields
When you save an audience, DollarBack adds these merge fields to it (hidden from signup forms). Every event updates them on the contact:
DBBALANCE
dbBalance
The customer's current store-credit balance as a number
DBFBALANCE
dbFormattedBalance
The balance formatted for display (e.g. βΉ30.25)
DBCURRENCY
dbCurrency
The balance's currency code (e.g. INR)
DBSYMBOL
dbSymbol
The currency symbol (e.g. βΉ)
DBREFCODE
dbReferralCode
The customer's referral code (set when a code is generated)
In a campaign or journey email, write the tag between *| and |*, for example "You have *|DBFBALANCE|* in store credit."

Buttons on the Mailchimp page
Sync Balance
Sends every customer's current balance to the merge fields, for contacts that already exist in the audience
Send Demo Events
Adds one test contact, [email protected] (transactional, not subscribed to marketing), and sends every event to it with sample values, so you can build journeys before a real customer earns anything
Disconnect Mailchimp
Stops all sends at once
Journey and campaign ideas
Credit reminder journey: start a Customer Journey on the store_credit_credited event, wait 7 days, and email contacts who haven't ordered since: "You still have
*|DBFBALANCE|*waiting."Expiry winback: start on store_credit_expiring and send an urgency email that uses
remainingDaysandformattedAmount. Pairs with (or replaces) DollarBack's own expiry reminder email.Balance segment: a segment where dbBalance is greater than 0 for "has credit to spend" campaigns. Add
*|DBREFCODE|*to newsletters to promote sharing.
Verify it works
Make sure a test customer is a contact in the saved audience, with the same email address as in Shopify.
Trigger a credit: place a small test order, or credit the customer with a bulk import that has Send to Integrations turned on.
In Mailchimp, open that contact: the store_credit_credited event should appear in the contact's activity within a few minutes, and the dbBalance merge field should match the widget balance.

Disconnect or reconnect
Click Disconnect Mailchimp to stop all sends at once. Events that happen while Mailchimp is disconnected are not sent later. To remove DollarBack's access completely, also remove Dollarback from the authorized apps in your Mailchimp account.
When you connect again, select the audience and click Save again. A new connection can be a different Mailchimp account, so DollarBack does not keep the old audience.
Common issues
The page still shows Not Connected after the Mailchimp window closed: reload the page.
Connected, but no events arrive: check that an audience is saved under Audience. After a reconnect, the audience must be saved again. Then check that the customer is a contact in that audience with the same email address; customers who are not contacts, or who have no email address in Shopify, are skipped.
"We couldn't load your Mailchimp audiences": DollarBack's access was removed in Mailchimp. Disconnect and connect Mailchimp again.
Merge fields are empty: they update on events only, and on Sync Balance. A contact with no credit activity since you connected won't have them yet. Events from before you connected are not backfilled.
Bulk-imported credit didn't create events: the import must run with its Send to Integrations toggle on (Bulk import credit (CSV)).
Related articles
Last updated