Move from read-only access to order drafts only after the agent passes the critical tests with synthetic data and the person responsible signs off in writing. Each draft is a proposal for human review: the agent neither sends it to the customer nor writes to the ERP.
What must the agent prove before creating order drafts?
Before generating drafts, the agent must prove it reads the catalogue the way the sales team does: it distinguishes single units from boxes, respects the price assigned to each account, and does not invent availability when stock data arrives late. It must also recognise when an order repeats a previous one and when a SKU is ambiguous due to variants or similar descriptions.
The test uses controlled synthetic data, not real customer orders. A test catalogue is prepared with known references, units and prices, plus a set of orders written the way a buyer would send them. The goal is to observe the agent's response to each case and decide whether it can enable draft mode or must stay in read-only.
- Write down what counts as correct for each case before starting.
- Use sample SKUs and prices the team can check against a fixed answer key.
- Store each agent response next to the input that triggered it.
Acceptance matrix: input, expected result and decision
Record what the agent receives, what it should do and whether it may produce a draft. For blocked cases, check that no draft is produced and that the agent identifies the missing information or routes the request to a reviewer.
Start with the five scenarios below. For repeat orders, include a similar but genuinely new order as a control: two legitimate orders should not be blocked just because they contain the same items.
| Test input | Expected result | Decision |
|---|---|---|
| A buyer asks for cases of a SKU also sold individually | Keeps the requested sales unit and checks the case size against the catalogue | Allow if the unit is clear; otherwise ask |
| The account has negotiated pricing that differs from the standard price | Uses the current price for that account, unit and quantity | Allow if verified; otherwise refer to sales |
| Stock is older than the agreed freshness limit | Flags that availability is unconfirmed | Block the draft until stock is verified |
| An order is resent with the same identifier | Checks the identifier against test history and flags a possible duplicate | Block the second draft and refer to operations |
| The description matches two SKUs | Shows both options without guessing | Block until the SKU is confirmed |
How to prepare the catalogue and test orders
The test catalogue should include references that reflect the business structure, even if the data is fictitious: families, sales units, pack sizes and account-specific prices. It helps to include on purpose a reference with two similar variants and one with stock marked as pending update, so the hard cases appear during the test.
Fictitious orders are written the way a real buyer writes them: short sentences, sector abbreviations, mixed quantities and an occasional ambiguous reference. Several orders are prepared per case, not just one, to see whether the agent responds consistently across different phrasings. All material is labelled as fictitious so nobody mistakes it for real orders.
A useful test catalogue
References with single unit and box, two similar variants, a general price and an account-specific price, plus one reference with stock pending confirmation.
Varied test orders
Each case is tested with at least two different phrasings, including abbreviations and quantities written ambiguously.
Who approves draft mode, and what must they check?
Authorisation does not come from whoever configures the agent. It comes from a person responsible for orders and invoicing, usually sales management or operations, after reviewing the full matrix. That person signs off which cases are considered passed and which remain open.
Agree before testing what prevents sign-off: a wrong SKU, quantity or price, unverified availability or an undetected duplicate. If a critical case fails, keep the agent in read-only mode. Record the date and the version approved.
- Define in writing who signs the authorisation and who can revoke it.
- Record the exact agent version tested and the version authorised.
- Mark critical cases before the test, not after seeing the results.
What to do when a case fails
If a case fails, keep the input and output. Fix the configuration or source data, then rerun that case and any others the change could affect. Keep the agent in read-only mode if the failure is critical.
It helps to distinguish a configuration failure from a data failure. If the test catalogue has a wrongly loaded price, the problem is not the agent. If the agent ignores a correct price, the problem is the agent. This distinction avoids fixing the wrong thing and lets the team move forward with judgement.
Configuration failure
The agent does not apply a rule that is defined. Fix the configuration and repeat the case.
Data failure
The test catalogue or price is wrong. Fix the data and repeat the case without touching the agent.
Scope failure
The tested case was not foreseen. Add it to the matrix and decide whether it blocks or hands over.
When to return to read-only
Return to read-only if a critical control fails, a significant catalogue or configuration change invalidates the tests, or nobody is responsible for draft mode. Refer out-of-scope requests to staff; pause draft mode if the agent cannot reliably block them.
Record what triggered the pause. Before restoring draft mode, rerun the affected cases, broaden the test if the change affects several controls, and obtain fresh sign-off.
- Note the reason for each return to read-only and the date.
- Rerun the full matrix if you cannot isolate which controls the change affects.
- Review the authorisation when the responsible person changes.
Common mistakes when testing the agent
Ask sales or operations to write test orders. Include abbreviations, incomplete requests and an order that looks like a duplicate but is not. If the price or quantity differs from the expected answer, mark the case as failed.
The draft must be clearly a reviewable proposal. If the agent writes directly to the system without review, the acceptance test loses its purpose. The test decides whether the agent can propose, not whether automatic writes are authorised.
Test mistake
Test orders written only by the person who configured the agent can miss the variants the order desk actually sees.
Criteria mistake
Accepting a case with an approximate price or quantity. In orders, approximating is failing.
Scope mistake
Confusing a reviewable draft with automatic writing to the management system.
Recording the decision and the next review
At the end of the test, a short record is written: agent version, test catalogue used, cases passed, cases failed and the final decision. That record allows the test to be repeated later with the same criteria and results compared without relying on team memory.
The next review is set by a date or an event: catalogue change, new account-specific price or an unforeseen case being added. Without a date or event, the test is forgotten and the agent stays in draft mode without control. The record also states who can return it to read-only.
Real scope of the agent and the draft
The configured agent works on the information it is given and produces order proposals. No ERP integration or automatic writing to it is promised. Any connection to the management system requires a separate scope defined apart from this acceptance test.
The acceptance test is limited to deciding whether the agent can move from read-only to draft. If the business later wants to automate writing, it will need a different test with different criteria and authorisations. Mixing both decisions now only adds risk.