Macrowright · All guides

When a discount code doesn't work

Check the code, the cart conditions and the expiry before promising anything. This guide shows how the Macrowright engine writes the "Discount code didn't work" reply for a fictional store, plus two neighbouring billing replies. Every number and rule comes from the facts the store entered; when a fact is missing, the macro shows a [CONFIRM: ...] marker rather than guessing, so you can see exactly what you still need to decide.

Settle these policy questions first

No missing-fact warnings are tied to this reply; the checklist still helps you review the wording against your actual policy.

Sample macros (fictional example store)

Billing: Discount code didn't work

Hi [First name],

Thanks so much for reaching out! Codes usually fail for one of these reasons: an expiry date, a minimum order value, items excluded from the offer, or a code already used. Could you tell me which code you tried? If it should have applied, I'll refund the difference on order [Order #].

If there's anything else I can do, just reply to this email.

Warmly,
[Your name]
Northwind Knits

Billing: Charged twice

Hi [First name],

Thanks so much for reaching out! I checked your account: [one order / two orders]. Often a second charge is a temporary authorisation hold that disappears within 3–5 business days. If you see two completed charges after that, send me a screenshot (hide the card number) and I'll refund the duplicate right away.

If there's anything else I can do, just reply to this email.

Warmly,
[Your name]
Northwind Knits

Billing: Item went on sale after I bought it

Hi [First name],

Thanks so much for reaching out! I understand the frustration. Prices change with promotions and we don't offer retroactive price adjustments. If the item is within our 10 days return window, you could return it and reorder at the new price.

If there's anything else I can do, just reply to this email.

Warmly,
[Your name]
Northwind Knits

What the same macro looks like with nothing filled in

Hi [First name],

Thanks so much for reaching out! Codes usually fail for one of these reasons: an expiry date, a minimum order value, items excluded from the offer, or a code already used. Could you tell me which code you tried? If it should have applied, I'll refund the difference on order [Order #].

If there's anything else I can do, just reply to this email.

Warmly,
[Your name]

The [CONFIRM] markers are the point: they tell you which policy fact to write down before sending.

Make the full library for your store

Enter your real policies in the free Macrowright tool. You get the policy gap audit and the first 6 macros free; the full pack with Gorgias and Zendesk exports is $9 in USDC (or $2 for agents over x402). Missing facts stay as [CONFIRM] markers instead of invented policy.