LemuAIDocs

Offers · 3 min read · For everyone

Offers

Set up discount codes once and use them in emails, WhatsApp messages, journeys and voice agents, with unique codes per customer and rules for who gets what.

Open in ChatGPTOpen in ClaudeMarkdown

Engage → Offers keeps your discounts in one place. Messages don't contain the code itself; they link to an offer head (like "Welcome offer"), and the offer head decides which offer and code each person gets. Change the offer under a head and every template, journey and agent that uses it follows.

The three parts#

PartWhat it isExample
Offer headThe slot messages link to, by its Key. Picks the live offer.Key welcome, used as {{ offer.welcome.code }}
OfferWhat the customer is told: Headline, Details, One line for WhatsApp, How a voice agent says it, Terms, and where its code comes from."10% off your first order"
CodesWhere codes come from (see below).DIWALI20, or one unique code per customer

Where codes come from#

OptionUse when
No codeThe offer applies without a code, like free delivery this week
One code for everyoneEveryone gets the same code, like DIWALI20
Unique codes you uploadYou upload a list from your store or billing system
Unique codes Lemu makesLemuAI generates them (with an optional Code prefix like WEL-); download them and import them into your store
Shopify discount codesLemuAI adds codes to a discount you set up in Shopify, and tops it up when it runs low. Needs your store connected with its own app and the Shopify discount ID (the number at the end of the discount's page address)

Unique-code settings:

  • When someone already has a code: Give them the same code again (one code per person across email, WhatsApp and calls), or Give a new code if theirs was used or expired.
  • Codes expire: optional date; no codes are given out after it.
  • Warn when this many are left: owners and admins get an email when the pool runs low (default 10% of all codes, at least 10) and when it's empty.

Create an offer#

  1. Create the offer

    On Engage → Offers, add an offer. Pick the discount type (Percent off, Amount off, Free shipping, Buy X get Y or Something else), what it Applies to (The whole order, Some products or Some categories), any Minimum order, and the codes.

  2. Write the lines

    Fill in Headline (main line in emails, like 10% off your first order), One line for WhatsApp (no line breaks), and How a voice agent says it (as spoken: ten percent off your first order).

  3. Create an offer head

    Give it a Name (Welcome offer) and a Key (welcome). The key can't change later, because messages link to it. Choose its Offer and what happens When no offer can be used: another Fallback offer, send without an offer, or skip the send.

  4. Use it in messages

    In an email template or WhatsApp template value, use the insert offer button or type {{ offer.welcome.code }}. Voice agents get offers in the Offers section of a step.

Rules: different offers for different people#

An offer head can have rules, checked top to bottom. Each rule gives an offer when:

  • The message is about these products (names or SKUs) or products in these categories, and/or
  • The contact is in segment (or Any contact), and
  • today is between From and Until (optional).

The first matching rule whose offer is live wins; otherwise the default offer; otherwise the fallback.

Codes and redemptions#

The Codes list shows every code with its status: Not given out, Given out, Used or Stopped, and who got it. Codes are marked used when an order with that code reaches LemuAI (Shopify, the tracking snippet, or the API). Stop handing out unused codes? stops codes nobody has yet (for example if a list leaked); codes people already have keep working in your store.

Codes are claimed only for real sends. Previews and test sends show SAMPLE-CODE for unique codes.

Common problems#

  • "No codes found" or the pool is empty: upload or generate more codes. Until then the head's fallback applies.
  • A message showed no code: the head had no live offer (outside its dates, or archived). Check the head's Live offer column.
  • Code marked unused but the customer used it: the order didn't include the code, or didn't reach LemuAI. Check the order event in the Event Log.

Was this page helpful?