Mailchimp integration

The Mailchimp integration fills audience fields with each member’s points, VIP tier and referral link. It also sends loyalty events that can start Mailchimp customer journeys (automated emails). Use the fields as merge tags in segments and emails.

In short

  • Each member’s loyalty data is written into fields in one Mailchimp audience (your contact list).
  • 12 loyalty events, such as a new member joining, can start a customer journey.
  • Set it up under Integrations → Mailchimp by logging in to Mailchimp.

Connect Mailchimp#

  1. In the app, go to Integrations and click Connect on the Mailchimp card.
  2. Click Connect Mailchimp. Mailchimp opens in a new tab.
  3. Log in to Mailchimp and approve access. The app page shows Waiting for you to approve in Mailchimp… and updates itself when you’re done.
  4. Check the Audience card (see below). If the app asks you to, pick your audience and click Use this audience.
  5. Under Events sent to Mailchimp, turn off any events you don’t use.
  6. Click Save.

Choose the audience#

An audience is Mailchimp’s name for your list of contacts. Everything the app sends goes to one Mailchimp audience.

  • If you use Mailchimp for Shopify, the app finds the audience it syncs your store to. It uses that audience, so the same contacts are updated. The member sync (a copy of every member’s loyalty data to Mailchimp) starts right away.
  • If you don’t, choose the audience your customers are in from the Audience list. Then click Use this audience. Nothing is sent until you do. Until then, the status at the top of the page reads Choose an audience.

To use a different audience later, click Change audience. Choosing a new audience starts a new member sync.

The app never adds contacts to Mailchimp or changes their consent. Customers who aren’t in the chosen audience are skipped, and the Member sync card shows how many.

Audience fields#

Audience fields (also called merge fields) are extra details stored on each contact. The app creates the fields below in your audience and fills them for every member. They’re hidden from signup forms and never required.

A merge tag, such as *|LP_POINTS|*, is the code you type in an email to show that field. The Use in Mailchimp card lists the merge tags with a copy button for each.

Merge tag Field name
*|LP_ID|* Loyalty customer ID
*|LP_POINTS|* Loyalty points
*|LP_PENDING|* Loyalty pending points
*|LP_LIFE|* Loyalty lifetime points
*|LP_REWARDS|* Loyalty rewards claimed
*|LP_TIER|* Loyalty VIP tier
*|LP_TIERMIN|* Loyalty VIP tier threshold
*|LP_NEXT|* Loyalty next tier
*|LP_TONEXT|* Loyalty to next tier
*|LP_REFCODE|* Loyalty referral code
*|LP_REFURL|* Loyalty referral link
*|LP_BDAY|* Loyalty birthday (a Mailchimp birthday field, MM/DD)
*|LP_EXPPTS|* Loyalty points expiring
*|LP_EXPDATE|* Loyalty points expiry date

Loyalty events for journeys#

  1. In Mailchimp, start a customer journey with the Event API starting point. This starting point waits for an event from another app.
  2. Type the event name from the Mailchimp event name column below. The copy button next to each event on the app page copies its exact name.

Starting journeys from an event may need a paid Mailchimp plan.

Event in the app Sent when Mailchimp event name
Joined the program A customer joins the loyalty program. loyalty_account_created
Birthday reward A member gets their birthday reward. loyalty_birthday_reward
Referral completed A referral completes, for the referrer and the friend. loyalty_referral_completed
Moved up a VIP tier A member moves up to a higher VIP tier. loyalty_tier_upgraded
Points earned A member earns points, for example from an order. loyalty_points_earned
Points redeemed A member spends points on a reward. loyalty_reward_redeemed
Reward used in an order A reward code is used in an order. loyalty_reward_used
Points expiring soon A member’s points are about to expire. loyalty_points_expiring
Points expired A member’s points expire. loyalty_points_expired
Points adjusted by you You add or remove a member’s points. loyalty_points_adjusted
Store credit adjusted by you You add or remove a member’s store credit. loyalty_credits_adjusted
Win-back bonus A member who may not come back is due a win-back email. loyalty_churn_risk

Use Turn all on or Turn all off to change every switch at once, then click Save.

Mailchimp can also send a text message from these events to contacts who agreed to SMS in Mailchimp. The loyalty app never sends texts or changes consent.

Example: welcome new members. In Mailchimp, start a customer journey with the Event API starting point and the event loyalty_account_created. In the email, add *|LP_POINTS|* to show their points and *|LP_REFURL|* to share their referral link. When a customer in your audience joins the program, the journey sends the email.

Pause or resync#

  • Pause sending: use the switch at the top of the page (Sending to Mailchimp / Paused), then click Save.
  • Member sync: click Sync all members again to fill everyone’s audience fields again. A progress bar shows while it runs.
  • See what was sent: the Delivery and Recent events cards. Events that fail are retried automatically.

Disconnect Mailchimp#

On the Connection card, click Disconnect. The app stops sending to Mailchimp and forgets the chosen audience. If you connect again, the app finds the audience again and starts a fresh member sync.

Troubleshooting#

  • “Mailchimp stopped accepting our connection” or a Reconnect needed badge: access was removed in Mailchimp. Click Reconnect Mailchimp. Your settings are kept.
  • Audience fields couldn’t be created: the audience has usually reached Mailchimp’s field limit. The page names the missing fields. They aren’t filled in.
  • “That audience isn’t in your Mailchimp account any more”: choose another audience.
  • “This Mailchimp account has no audiences yet”: create one in Mailchimp, then reload the page.
  • “Connect Mailchimp, choose an audience and turn sending on first”: finish all three before syncing.
  • A journey doesn’t start: check that:
    • the event name in the Event API starting point matches exactly
    • the customer is in the chosen audience
    • the event’s switch is on.