Predictika · Workplace supplies orders
An AI sales agent prepares an order for workplace supplies: A4 copy paper, HP LaserJet Pro toner for a named printer and hi-vis vests, with a delivery option, the order time, a discount, payment terms and the total it states in pence. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the order rules and returns a verdict, every reason and the totals it computed.
This validator models workplace-supplies orders of this kind, not just the scenarios shown below.
Any order of these items that touches these rules is in scope — not only the scenarios pictured here. Lyreco's category names are public; the printer and cartridge fit follows HP's product naming, and every price, the delivery charges, cut-off time, pallet size, discount tiers and credit rules are modeled and not published by Lyreco, so the amounts on this page are illustrative. Not covered: furniture, catering, hygiene, other brands and returns.
6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI sales agent (scripted)
Before sending, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based CPQ | Predictika |
|---|---|---|
| Toner that fits only some printers | Only with care Each cartridge fits two of the four printer models, so every pairing needs its own rule. | The printer and cartridge are fields of one order and are checked together. |
| A delivery option that depends on the order time, the customer tier and the paper count | Only with workarounds Next-day cut-off, a full pallet of paper and a contract for scheduled delivery each depend on other choices on the order. | Delivery, order time, tier and quantities are in one request and every condition is evaluated on every call. |
| Discount limits that depend on the tier and the size of the order | Only with workarounds The limit is none for a standard customer, 5 percent for a contract and 10 percent on a large order, with approval above it and a hard stop at 15 percent. | The goods value sets the limit on every call; the discount is compared with it and with the hard stop. |
| A total built from many parts | Only with workarounds The total depends on the items, a discount rounded down to the penny, delivery that is free over a net goods value, and VAT, so it must be computed before it can be compared with the total stated. | The total is computed on every call and compared with the total stated in the order. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as a step is saved or completed, so a person often fixes one error and meets the next. | All findings come back together, whatever order the choices arrived in. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the order; approval findings need a person to sign off; everything else is computed.
| 1 | Pallet delivery needs at least 20 boxes of paper; the order has 19. |
| 2 | An order placed at hour 17 misses the 17:00 cut-off for next-day or express delivery. |
| 3 | Scheduled standing-order delivery is only offered to contract customers. |
| 4 | The order has no items. |
| 5 | Toner is ordered but no toner cartridge model is chosen. |
| 6 | The chosen toner cartridge does not fit the chosen printer model. |
| 7 | A standard customer without a contract pays pro-forma; credit terms are not available. |
| 8 | A discount of 1 percent is above the 0 percent tier limit; a sales manager should approve it. |
| 9 | A discount of 6 percent is above the 5 percent tier limit; a sales manager should approve it. |
| 10 | A discount of 11 percent is above the 10 percent tier limit; a sales manager should approve it. |
| 11 | A discount of 15 percent is above the 10 percent tier limit; a sales manager should approve it. |
| 12 | A discount of 16 percent is outside the 0 to 15 percent range that can be approved. |
| 13 | Sixty-day payment terms need credit control approval. |
| 14 | An order of 500,256 pence on thirty-day terms is above the credit limit that can be released without approval. |
| 15 | The order states a total of 127,238 pence; the modeled prices give 127,338 pence. |
| 16 | The order states a total of 127,339 pence; the modeled prices give 127,338 pence. |
| 17 | The order states a total of 100 pence; the modeled prices give 127,338 pence. |
| 18 | Pallet delivery needs at least 20 boxes of paper; the order has 5. |
| 19 | A discount of 20 percent is outside the 0 to 15 percent range that can be approved. |
| 20 | An order placed at hour 18 misses the 17:00 cut-off for next-day or express delivery. |
| 21 | Pallet delivery needs at least 20 boxes of paper; the order has 12. |
| 22 | A discount of 12 percent is above the 5 percent tier limit; a sales manager should approve it. |
| 23 | A discount of 8 percent is above the 0 percent tier limit; a sales manager should approve it. |
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Please quote 30 boxes of A4 copy paper, 6 HP 59A toner cartridges for the M402 printers, 20 hi-vis vests on a contract account, with next-day delivery, placed at 18:00 on thirty-day terms. The discount is 20 percent. The order states a total of 127,338 pence. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 30 boxes of A4 copy paper, 6 HP 26A toner cartridges for the M402 printers, 20 hi-vis vests on a contract account, with next-day delivery, placed at 15:00 on thirty-day terms. The discount is 5 percent. The order states a total of 125,970 pence. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 30 boxes of A4 copy paper, 6 HP 59A toner cartridges for the M404 printers, 20 hi-vis vests on a standard account, with scheduled standing-order delivery, placed at 10:00 on thirty-day terms. The discount is 3 percent. The order states a total of 130,018 pence. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 30 boxes of A4 copy paper, 6 HP 59A toner cartridges for the M404 printers, 20 hi-vis vests on a standard account, with next-day delivery, placed at 10:00 on pro-forma terms. The order states a total of 134,040 pence. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 24 boxes of A4 copy paper on a contract account, with pallet delivery, placed at 10:00 on sixty-day terms. The discount is 12 percent. The order states a total of 54,744 pence. It is ready to send.
Verdict: Needs approval.
The agent's request. Please quote 24 boxes of A4 copy paper on a contract account, with pallet delivery, placed at 10:00 on thirty-day terms. The discount is 5 percent. The order states a total of 59,097 pence. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.