Automations

Store coupons and the loyalty program

6 min read

A shared code like SAVE10 ends up on coupon sites within a day. Dynamic coupons give each person their own code, created in your store the moment their email goes out, usable once. The loyalty program adds points, tiers and rewards on top. Both are part of the Business plan.

Before you start

  • Connect your store in Settings → Integrations. For WooCommerce, the API key needs Read/Write permission — a read-only key cannot create coupons.
  • Shopify stores need BlueyEmail’s discount permission. If your store was connected before it was available, reconnect Shopify and approve it. Until then you can still save a coupon with a backup code.

Create a coupon

  1. 1

    Open Store → Coupons & loyalty

    From the Store page, use the Coupons & loyalty link at the top.

  2. 2

    Click New coupon

    Pick the store, the discount (percentage, fixed amount or free shipping), an optional minimum order, and how many days the code stays valid after it is sent.

  3. 3

    Add a backup code (optional)

    If the store cannot create a code — it is offline, or a permission is missing — this code is sent instead. Create it in your store yourself.

  4. 4

    Copy the merge tag

    Your first coupon is the default and answers to {{coupon}}. Other coupons have their own tag, such as {{coupons.welcome_10}}.

Show the expiry date

Add {{coupon_expires}} next to the code — "Your code expires on 24 November" lifts redemption more than any subject line.

Use coupons in emails and automations

  • Put {{coupon}} in any campaign or automation email. Each recipient gets their own code; a code is created once per person per campaign or automation run, so a retry never sends a second one.
  • In an automation, the Generate Coupon step creates the code before the email that shows it, and can spend loyalty points for it. Every later email in that run shows the same code.
  • If a code cannot be created and the tag has no fallback, that person’s email is not sent — the reason shows on the campaign or automation report. Write {{coupon|WELCOME10}} to send a fixed code instead.
  • Redemptions are matched from your store’s orders automatically and show as Redeemed on the coupon.

Set up the loyalty program

  1. 1

    Open the Loyalty tab

    Choose what you call points and how many a customer earns per unit spent (1 = one point per rupee or dollar).

  2. 2

    Add tiers (optional)

    For example Silver from 500 and Gold from 2,000. Tiers count points earned all time, so spending points never lowers a tier.

  3. 3

    Choose a reward

    Set how many points a reward costs and which coupon it gives.

  4. 4

    Turn the program on and save

    Click Save program. Paid orders earn points from then on; refunds take them back.

Orders earn points automatically. For anything else — signing up, a birthday, a review, a survey — build an automation with that trigger and an Award Points step. To act on points, use the Points Balance Reached or Loyalty Tier Changed triggers, for example to email a reward the moment someone reaches 500 points.

Loyalty merge tags

TagShows
{{points}}The contact’s points balance
{{points_label}}What you call points
{{loyalty_tier}}Their current tier
{{next_loyalty_tier}}The next tier up
{{points_to_next_tier}}Points still needed for it

Each contact’s page shows their balance, tier and points history, and lets your team adjust points or redeem the reward for them.

Still stuck? Our team is happy to help.

Contact support