↑↓ selectEnter openEsc closeAll results

  1. Elbuz
  2. Elbuz User Guide
  3. Customer tickets
  4. AI and autonomous support
  5. AI support: rules & control
  6. Order actions

How AI cancels an order before shipping

4 min readUpdated

A customer asks in a ticket, replies “Yes” — Elbuz cancels the order: status “Canceled”, reservation released, confirmation sent, no employee needed.

When you need this:

  • The customer changed their mind — an unpaid order without a waybill is canceled after “Yes”.
  • The customer has paid — an employee gets an unposted draft cash payment order; the customer hears the store will refund.
  • Already picked or shipped — AI changes nothing; an employee gets the ticket and reason.
  • A Rozetka, Prom or Epicentr order — canceled on the marketplace first, then in Elbuz.

Where to start: “AI support: rules & control” → “Policy” → “Action types” → “Order cancellation”.

What AI cancellation can do

The “Yes/No” confirmation, the code and the “AI actions” block are shared by all actions — see How AI handles customer order requests on its own.

The Policy tab of the AI support window with the Action types card and the Order cancellation panel
1Policy tab
2Action types card
3Order cancellation mode chips
  1. The rules of AI support are here.
  2. What AI may do with orders.
  3. Cancellation mode: off, test or live.

Which orders AI cancels on its own

Only orders of the customer who wrote the ticket, and only before they are handed to the warehouse or the carrier. Everything else goes to an employee.

When AI cancels and when it hands over to a person
OrderWhat happensReason in “AI actions”
New, unpaid, no “Yes/No” question, then cancellation—
Paidcancellation and a draft order, or handover to a person“the order is paid — a human decides by policy”
Has a waybill or tracking numberto an employee“has a waybill — handed to the carrier”
Status “Picked”, “Shipped”, “Delivered”, “Checked”to an employee“the order is already being processed in the warehouse”
A sales invoice or receipt is postedto an employee“a stock write-off document is posted”
Already canceled or completedto an employee“the order is already completed or canceled”
Total above “Order total up to, UAH”to an employee“amount above the policy limit”

The conditions are checked again right before cancellation: if the warehouse picked the order while waiting for the reply, AI won't cancel it.

What happens to the canceled order and the money

  • The order status changes to “Canceled”, and the item reservation is released automatically.
  • The customer gets “Order #… has been cancelled.”
  • For a paid order, the customer also gets “A store employee will arrange the refund — we will let you know.”

What to do with a paid order is set by the “If paid” list:

  • “Draft refund order for a person” (default) — the order is canceled, and an unposted cash payment order (a “Cash payment” document) is created from it. The “AI actions” block shows “Draft cash outflow order #… — for an employee”. The employee checks the amount, returns the money and posts the order.
  • “Hand over to a person” — AI doesn't cancel paid orders at all.
AI actions block of a ticket: the order cancellation is marked Done, with a draft cash payment order for an employee below it
1Done
2Draft cash payment order
  1. Done — the AI has cancelled the paid order.
  2. Draft cash payment order for an employee — the refund is left for a person to approve.

An order is paid if it has any payment amount or the “Paid” or “Prepayment” payment status. With “Draft refund order for a person” in “If paid”, the type moves money: “Live” mode turns on only after a run on past tickets or with “Enable without verification”. With “Hand over to a person”, no run is needed.

How to cancel marketplace orders

By default, AI doesn't touch Rozetka, Prom and Epicentr orders. To let it cancel them, add “Marketplaces (Rozetka, Prom, Epicentr)” to the “Order sources” field of the “Order cancellation” type. Other action types don't have this option.

The cancellation is first sent to the marketplace through its API, and the status changes in Elbuz only after it succeeds. If the marketplace returns an error, the order in Elbuz stays as is and the ticket goes to an employee. For Prom, the cancellation reason comes from the customer's reason, for example “at the buyer's request”.

To also send other status changes made by employees to the marketplace, turn on sending the status to the marketplace.

For the cancellation to go through:

  • the order is imported from the marketplace and has its number;
  • the “Canceled” status is mapped to a marketplace status in the import template's status mapping;
  • the marketplace import template is enabled and has API credentials.

A marketplace cancellation can't be reversed: the “Undo action” button replies “The cancellation has already gone to the marketplace — the order can only be restored there”.

Settings in “Order cancellation”

Type fields
FieldDefaultWhat it sets
“Order total up to, UAH”3000more expensive orders go to a person; maximum 50,000
“Per hour, at most”5AI cancellations in the last hour
“Per day, at most”30AI cancellations in the last day
“Identity check”“L1: contact from the order”when a code is required
“If paid”“Draft refund order for a person”what to do with paid orders
“Order sources”Elbuz, chat, websitewhich order sources AI cancels from

The amount is compared in the order currency, without conversion. The hourly and daily limits count cancellations already completed.

The Order cancellation panel with its limit and rule fields
1Order total limit
2Per hour limit
3Per day limit
4Identity check
5If paid
6Order sources
  1. More expensive orders are handed to a person.
  2. Limit of AI cancellations per hour.
  3. Limit of AI cancellations per day.
  4. When a code is required.
  5. What to do with a paid order: a draft cash payment or hand over to a person.
  6. Which sources AI cancels from; marketplaces are added here.

How to restore an order canceled by AI

The “Undo action” button in the “AI actions” block returns the order to its previous status, and the reservation comes back automatically. The system deletes the draft cash payment order.

It won't be restored if the order status was changed after AI (“The order was changed after the AI action — revert it manually”) or the order was posted (“The refund order is already posted — undo manually”).

Scenarios

The customer changed their mind an hour after ordering

What you get. The customer writes “please cancel” in Viber from the phone number in the order. They get “Cancel order #…? Reply “Yes” or “No”” and reply “yes”. If “Act on its own” is on for cancellation in “Pulse”, the customer immediately gets “Order #… has been cancelled”. No code is needed: the number matches the order.

An order paid by card

What you get. After “Yes”, the order is canceled, and “AI actions” shows a draft cash payment order. The accountant returns the money through the bank and posts the order. The customer already knows the store is arranging the refund.

A Rozetka customer asks to cancel

What to do. Add “Marketplaces” to “Order sources” and check that the “Canceled” status is mapped for Rozetka.

What you get. The cancellation appears in the Rozetka seller account and in Elbuz. Without the status mapping, the ticket goes to an employee.

What to do when AI didn't cancel

Common causes
What you seeWhyWhat to do
“marketplace order”“Marketplaces” isn't selected in “Order sources”cancel on the marketplace or add the source
“Error — passed to a human” on a marketplace orderthe marketplace refused, the status isn't mapped, or there are no credentialscheck the “Canceled” status mapping and the import template credentials
“the order is already being processed in the warehouse”status “Picked” or lateragree with the warehouse and cancel manually
“the order is busy with another operation”another process was changing the order at the same timecancel manually or ask the customer to write again

FAQ

Will AI cancel an order that already has a waybill?

No. Even a waybill that was created but not yet handed to the carrier stops the cancellation — the ticket goes to an employee (conditions).

What happens to the item reservation?

The reservation is released automatically together with the “Canceled” status, and the item returns to free stock. “Undo action” restores the reservation.

Does AI refund money to the card?

No. For a paid order, an unposted cash payment order is prepared; an employee returns the money and posts the order (paid orders).

Can orders be canceled without the “Yes/No” question?

No. Cancellation happens only after the customer confirms — in an email, with “Yes” or the button from the link.

The customer writes from a different number than in the order. What happens?

After “Yes”, the system sends a code to the email or phone from the order. Without the code, the order isn't canceled (identity check).

Where it is and who has access

Menu
Tickets → gear icon → “AI support: rules & control” → “Policy” → “Order cancellation”
Result
the ticket card, “AI actions” block; the order — in the document list
Access right
the “AI support: rules & control” window; decisions in “Pulse” need the “Pulse” right
Prepare
the “Canceled” status in the order status directory

Related topics

Was this article helpful?

Missing a feature? Tell us.

We will add it for free if other users need it too.

If only you need it, we will agree on it separately.

Article contents

Suggest an improvement

Try Elbuz free