Shopstack Work with us

Guides Build an offer

How do I send unique Shopify discount codes to Klaviyo?

Who this guide is for

This guide is for Shopify stores that email or text a code to each subscriber, for example a welcome code like WELCOME-7QK2M9X that works for one person, instead of one shared WELCOME15 that anyone can pass around.

There are three ways to get those codes into Klaviyo: Klaviyo's own Shopify coupons, Discount Genie, and Bulk Discount Code Bot by Seguno. Klaviyo facts come from Klaviyo's help center, and Bulk Discount Code Bot facts from its Shopify App Store listing, both checked on November 16, 2026. Prices are per month, in US dollars, and can change.

Shopstack makes Discount Genie, one of the options on this page. It is listed first, and every other option is described from its own help page or listing.

What Shopify does on its own

Shopify has no Klaviyo button for discount codes, and its admin makes one code per discount. To give 5,000 subscribers their own code, the codes have to come from Klaviyo, an app or a developer using the Admin API. Each item below links the Shopify page it comes from (checked November 16, 2026).

Shopify can

Shopify can’t

Klaviyo's own unique Shopify coupons

Klaviyo can create unique Shopify coupon codes itself, and each recipient gets their own. Klaviyo says "Each code can be redeemed once, but the recipient can still share it with someone else" (Klaviyo's unique coupon codes guide, checked November 16, 2026).

  1. In Klaviyo, go to Content > Coupons and click Create Shopify Coupon.
  2. Set a Name, an optional Prefix, the Discount type, what it Applies to, any minimum purchase, Combinations and the expiration.
  3. For a flow, stop here: Klaviyo generates and refills codes for flow messages on its own.
  4. For a campaign, add codes before you schedule it. Generate at least as many codes as expected recipients, or Klaviyo won't send the campaign.
  5. Put the coupon in your email or SMS, and each recipient gets a different code.

What it can't do, per the same Klaviyo guide:

  • Discount types: a Klaviyo coupon is a fixed amount off, a percentage off or free shipping. A tier ladder, a volume break or a Buy X get Y deal is not on the list.
  • Timing: generating a large number of codes "may take up to several hours", so make campaign codes well before the send.

Which way fits your store

  • A plain percent off, fixed amount or free shipping code: Klaviyo's own coupons, at no extra app cost.
  • A tiered, volume, Buy X get Y or customer-tag deal in each code: Discount Genie, on a paid plan. Each code in a job carries the full Discount Genie discount.
  • Codes you already have, such as a list from your old app: Discount Genie uploads a CSV file of codes and can send them to Klaviyo. Bulk Discount Code Bot also imports codes.
  • Revenue and redemption reports by campaign: Bulk Discount Code Bot lists campaign, channel and department reporting.

Best for any discount type in Klaviyo codes: Discount Genie

Discount Genie by Shopstack is a Shopify discount app built on Shopify Functions. Install it from Discount Genie on the Shopify App Store. Its Bulk code generator makes one discount with many unique codes and sends them straight into a Klaviyo coupon, for product, order, volume, tiered order, Buy X get Y and shipping discounts (bulk code docs).

  1. In Discount Genie, click Settings. Under Your active integrations, find Klaviyo and click Connect, then accept the permissions in Klaviyo.
  2. Click Bulk code generator and pick a discount type under Create discounts in bulk like a Genie.
  3. Enter a Title with only letters, numbers and underscores, for example VIP_WELCOME_15. Use it as the coupon name in your Klaviyo emails.
  4. Under Code settings > Code generation, choose Randomly generate codes and set Number of codes, or choose Upload a CSV file with your own codes.
  5. Under Code destination, choose Klaviyo.
  6. Set up the discount itself below, the same way as a single discount (value, products, customers and dates), then click Save.

What happens next:

  • Status: the job shows Klaviyo: Pending, then Klaviyo: Syncing…, then Klaviyo: Synced ✓. Confirmation can take about 20 minutes, and Verify now checks sooner.
  • Batches: Klaviyo's API takes up to 1,000 codes per job, so Discount Genie sends a 2,500-code job as 3 uploads (1,000 + 1,000 + 500).
  • Keep it stocked: turn on Automatically refill codes when running low, then set a Refill threshold and a Refill amount. It is off by default.

The full click path is in Send bulk codes to a Klaviyo coupon. Bulk codes and the Klaviyo connection need a paid plan; without one the Klaviyo choice is greyed out and marked Coming soon. They are not part of the basic free plan (up to 3 basic discounts). New stores pay $0.99/mo for the first 3 months on any monthly paid plan, then Core $29.99, Growth $59.99, Pro $79.99 or Scale $99.99 a month. The plan offered depends on the store's Shopify plan.

Best for code reports and a discount audit: Bulk Discount Code Bot

Bulk Discount Code Bot by Seguno generates or imports unlimited unique coupons for Buy X Get Y, BOGO or any Shopify discount, exports codes to a CSV file, and lists "Sync codes to Klaviyo, look up in Gorgias". It reports revenue, redemptions and average order value by campaign, channel and department, and audits store discounts for missing expirations, limits and eligibility, per its Shopify App Store listing, checked November 16, 2026.

The free Starter plan gives three discount sets. Basic is $19 a month and is not available for Shopify Plus. The Klaviyo and Gorgias integrations are on Grow, $99 a month, which adds campaign reports and the discount risk audit. Paid plans list a 10-day free trial, per its Shopify App Store listing, checked November 16, 2026.

Klaviyo, Discount Genie and Bulk Discount Code Bot side by side

Klaviyo facts from its help center; Bulk Discount Code Bot facts from its Shopify App Store listing; both checked November 16, 2026, per month in US dollars.

OptionDiscount types in each codeCode sourceCodes into KlaviyoPrice
Discount GenieProduct, order, volume, tiered order, Buy X get Y, shippingRandom, or upload a CSV fileCode destination: Klaviyo, with auto-refillPaid plans; new stores pay $0.99/mo for the first 3 months on any monthly paid plan
Klaviyo couponsFixed amount, percentage, free shippingRandom codes with your prefixBuilt in; flows refill on their ownPart of Klaviyo
Bulk Discount Code BotBuy X Get Y, BOGO or any Shopify discountGenerates or imports codesSync codes to KlaviyoKlaviyo on the $99 Grow plan

FAQ

Can Klaviyo create unique Shopify discount codes by itself?

Yes. In Klaviyo, Content > Coupons > Create Shopify Coupon makes a coupon whose codes are unique per recipient, for a fixed amount, a percentage or free shipping (Klaviyo help). For a tiered, volume or Buy X get Y deal, send the codes from an app such as Discount Genie.

How do I send a tiered or Buy X get Y discount code to Klaviyo?

Make a bulk code job in Discount Genie with the tiered order or Buy X get Y discount type, and pick Klaviyo under Code destination. Every code carries the same discount, and the job lands in Klaviyo as a coupon named after the job's title. It needs a paid plan.

How many codes can I send to Klaviyo at once?

Klaviyo's API takes up to 1,000 codes per job, so Discount Genie splits bigger jobs into several uploads. A Shopify store holds up to 20,000,000 unique codes in total (Shopify help).

What if my Klaviyo coupon runs out of codes?

For flows, Klaviyo generates and refills codes on its own. For codes sent from Discount Genie, turn on Automatically refill codes when running low and set a Refill threshold and a Refill amount.