Automate Discount Codes in Chat

By Alva Chew 5 min read Updated November 11, 2026

Answer discount questions in chat with the offers you are actually running. AeroChat reads your active discount codes and automatic discounts from your store, tells the customer which one applies to their cart and why a code did not work, and issues a new code only where your rules allow it, such as a first-order or birthday code. It never invents an offer.

What the customer asks

Discount questions come in just before checkout, when a customer is close to buying. A slow or wrong answer loses the sale.

  • “Do you have any discount codes right now?”
  • “My code SUMMER15 isn’t working.”
  • “Is there a first-order discount?”
  • “I forgot to add my code. Can you still apply it?”
  • “Do you do student discounts?”

What AeroChat does, step by step

  1. The customer asks about a discount. AeroChat reads your active discounts from your store, with their conditions and end dates.
  2. If they have a code that failed, it checks why: expired, minimum spend not met, wrong products or already used.
  3. It explains the reason in one line and tells them what would make it work, for example adding US$8 to reach the minimum.
  4. If your rules allow a new code for this case, such as a first order or a birthday, it creates a single-use code in your store and sends it.
  5. If they forgot a code on an order that is already paid, it follows your rule: hands it to your team to refund the difference, or offers store credit.
  6. Requests outside your rules, such as a student discount you do not offer, get a clear no, with what you do offer instead.

The systems it uses

  • Your store platform. Built in. Shopify, WooCommerce and Wix connect in the AeroChat dashboard. AeroChat reads your discounts and, where you allow it, creates single-use codes through the store’s API.
  • Your loyalty app, if points become discounts. Smile.io, Joy and Rivo connect through their APIs. See loyalty points in chat.
  • Your email or SMS tool. Klaviyo can record the consent when a customer signs up for offers in the chat.

Using a different system? If it has a public API, it connects to AeroChat the same way: describe what you want, paste in its key, and it runs.

Can’t find your tool? Message us in the chat on this page and we’ll tell you how it connects.

What it looks like on WhatsApp

Customer: My code SPRING10 isn’t working. (example)

AeroChat: SPRING10 needs a cart of US$50 or more. Your cart is US$42 (example). Add US$8 and the code will apply at checkout.

Customer: Ok. Any first-order discount?

AeroChat: Yes. As this is your first order, here is a one-time code for 10% off: WELCOME-7Q2K (example). It can’t be combined with SPRING10, so use whichever saves you more.

In your store: a single-use code WELCOME-7Q2K is created for this customer with the 10% first-order rule.

The recipe

Copy this into AeroChat

When a customer asks about discounts or says a code does not work, follow these steps.

  1. Check our active discount codes and automatic discounts, with their conditions and end dates.
  2. If their code failed, find the reason and explain it in one line, with what would make it work.
  3. If this is their first order, create a single-use 10% code (example) and send it. Check their email has no past orders first.
  4. If they forgot a code on a paid order placed in the last 24 hours (example), hand the conversation to our team to refund the difference.
  5. If they ask for a discount we do not offer, say no politely and mention the offers we do run.

Never invent a code or an offer, and never stack codes our store does not allow to combine. Reply in the customer’s language.

Write your own rules for when a new code may be created, and leave out any step you do not want.

Where it runs

This workflow runs the same way on WhatsApp, Instagram, Facebook Messenger, TikTok Shop buyer chat, Shopee and Lazada chat, Telegram, your web chat and email. It uses the same store connection and the same rules on every channel, so a customer gets the same answer wherever they ask.

Channel versions: upsell on WhatsApp and abandoned cart recovery on WhatsApp.

Related: abandoned cart recovery and promo broadcasts.

Questions

Can AeroChat give a discount to anyone who asks?

No. It only mentions offers that are live in your store, and only creates a new code in the cases you describe in the recipe.

Can it tell why a code failed?

Yes. It reads the code’s conditions from your store, such as minimum spend, eligible products, end date and usage limit, and explains which one was not met.

Does it work with automatic discounts?

Yes. AeroChat reads automatic discounts as well as codes, so it can tell the customer an offer will apply at checkout without a code.

Which plan do I need?

Workflows via Skills are on every plan, with a 7-day free trial. Plans differ by AI response volume and seats. Payment links and WhatsApp broadcasts are on Growth and above. See plans.

Answer every discount question with your real offers

Start the trial, connect your store and paste the discount recipe. Then try an expired code in your own chat.

Start your 7-day free trial. No credit card needed.

Sign up for an annual plan on Growth or above and we’ll set up your workflows and connect your store for you, free. See plans.

On Shopify? Install AeroChat from the Shopify App Store.