Elbuz gives customers a single-use promo code for their next order when a parcel is late or damaged. The amount follows your percentages; low-markup orders go to an employee.
When you need this:
- A parcel was late — 5% of the order total, if the customer agrees.
- An item arrived dented, but is kept — 10% instead of a return.
- You fear a loss — no promo code if the markup after the discount is below a threshold.
- The code is needed on your website — in the Elbuz storefront or on OpenCart 3.
Where to start: “Autonomous support” → “Policy” → “Action types” → “Compensation promo code”.
What the AI promo code does
- Creates a promo code in the built-in Elbuz storefront or on an OpenCart 3 website.
- Calculates the amount by reason: a delay or damage.
- Protects your markup: a loss-making discount is left to a person.
- Disables the promo code with the “Undo action” button while it is unused.
The “Yes/No” confirmation, the code and the limits are shared by all actions: How AI handles customer order requests on its own.
Where the promo code is created and when the type is unavailable
A promo code has to be redeemable somewhere, so the type works only with one of two sources:
- The built-in Elbuz storefront with orders in the last year — the promo code is created in the storefront.
- An OpenCart 3 website connected via Elbuz Tunnel with order import — the promo code is created directly in the website database. The tunnel must respond: the program checks availability once an hour.
If the order came from the OpenCart 3 website, the promo code is created there. With neither a storefront nor a website, the type card shows “Not available in this account”, the mode cannot be switched, and an employee issues the promo code.
1
Platform note2
Min. markup after discount, %3
For a delay, % / For damage, %- Platform note — says where the promo code can be issued; here it explains there is nowhere to issue one in this account.
- Min. markup after discount, % — the code never gives a discount that leaves the order below this markup.
- For a delay, % and For damage, % — the share of the order value offered as compensation in each case.
The promo code is for a fixed amount, single-use, and valid for “Valid for, days” from today (30 by default). The code has 10 characters, starts with “SA” and avoids look-alike characters such as O and 0.
How the promo code amount is calculated
AI works out the reason from the customer's words: a delay or damage. If there is no such reason, AI asks what happened. Then the program calculates:
- The percentage for the reason: “For a delay, %” (5) or “For damage, %” (10), but no more than “Promo code up to, %” (10).
- The amount is that percentage of the order total, rounded down to a whole number.
- The amount is capped at “Promo code up to, UAH” (200).
Example: a UAH 3,400 order, damaged. 10% is UAH 340, capped at UAH 200. For a delay it is 5%, UAH 170.
AI writes: “Sorry for the trouble with order #…. We can send you a promo code for … off your next order. Shall we? Reply “Yes” or “No”.” On “Yes”: “Your promo code for order #…: SA… — … off your next order, valid until …. Enter it in the cart's “Promo code” field before checkout. The code is single-use.”
How the promo code keeps you out of the red
Before issuing, the program calculates the order markup after the discount: (sale total − promo code − cost price) / cost price. If it is below “Min. markup after discount, %” (15 by default, up to 90), an employee decides.
Cost price comes from the product cards. If any product in the order has no cost price, or its cost price is not below the sale price, the program cannot calculate and also hands the ticket over to an employee.
In a catalog without cost prices, a promo code is never issued: every ticket goes to an employee. Fill in cost prices at least for products that often ship late.
Settings in “Compensation promo code”
| Field | Default | Maximum |
|---|---|---|
| “Promo code up to, UAH” | 200 | 5000 |
| “Promo code up to, %” | 10 | 50 |
| “For a delay, %”, “For damage, %” | 5, 10 | 50 |
| “Valid for, days” | 30 | 365 |
| “Per customer in 90 days” | 1 | 10 |
| “Min. markup after discount, %” | 15 | 90 |
| “Identity check” | “L1: contact from the order” | — |
One promo code is issued per order. The backtest does not compare promo codes, so the “Live” mode is turned on with the “Enable without verification” checkbox.
How to disable an issued promo code
“Undo action” in the “AI actions” block disables the promo code in the storefront or on the website if it has not been used yet.
A used promo code cannot be disabled: the button replies “The promo code has already been used — undo the action manually”. If the OpenCart 3 website does not respond, the promo code stays active — disable it in the website admin panel.
Scenarios
Delays during the sales season
What to do. Set “For a delay, %” to 5 and “Promo code up to, UAH” to 150.
What you get. A customer who writes “why is it taking so long” gets an apology and a promo code offer. Employees see the issued codes in “AI actions” and do not have to answer each customer themselves.
Low-markup electronics
What to do. Keep “Min. markup after discount, %” at 15 and fill in cost prices.
What you get. For high-markup accessories, the promo code is issued automatically. For a laptop with an 8% markup, the ticket goes to an employee.
A store on OpenCart 3
What you get. Orders come from the website via the tunnel — the promo code is created among the website's coupons, and the customer applies it in the cart on the website.
FAQ
Why is the “Compensation promo code” type unavailable?
There is nowhere to create a promo code: you need the Elbuz storefront with orders in the last year or an OpenCart 3 website via the tunnel with order import (requirements).
Can I give a percentage promo code instead of a fixed amount?
No. The percentage only calculates the amount; the promo code is always created for a fixed amount (amount).
Why didn't AI issue a promo code when there is a reason?
Most often, the markup after the discount is below the threshold or a product has no cost price. The ticket goes to an employee (markup).
Does the promo code work on Shopify or Horoshop?
No. The promo code is created only in the Elbuz storefront or on an OpenCart 3 website; for other platforms, an employee issues it.
Can I issue a promo code for a wrong item?
No, the only reasons are a delay and damage. A wrong item is handled as a return or exchange (returns).
Where it is and who has access
- Menu
- Tickets → gear → “Autonomous support” → “Policy” → “Compensation promo code”
- Access right
- the “Autonomous support” window
- Prepare
- product cost prices; the Elbuz storefront or an OpenCart 3 website via the tunnel
Related topics
- For the big picture of AI actions — How AI handles customer order requests on its own.
- If a parcel needs to be sent again — How AI arranges an order reshipment.
- If your OpenCart 3 website is not connected yet — Your own website via Elbuz Tunnel.
