Change or cancel an order

When a customer wants to change the address or the items, or cancel, after ordering.

Shipping · When it runs: Whenever something arrives

How it goes about it

  1. Find the order (record_query on "order") and check that the request comes from the customer who placed it.
  2. Read where the order stands (journal_trace, kind order). Decisive is whether it was handed to the warehouse or carrier.
  3. Not yet handed over: make the change with record_save, or set the status to cancelled. Record it (type order.changed or order.cancelled, refs order).
  4. Already handed over: change nothing. Tell the customer honestly that it is on its way and how the return works.
  5. If money was already paid for a cancelled order, start the skill "Refund a customer".
  6. Confirm to the customer what was done (mail_send, refs order and customer).

The steps are written for the AI your co-founder thinks with, which is why they name its tools.

Figures it moves

  • Open orders

Hire your co-founder

All procedures