Predictika · Foodservice distribution orders
An AI sales agent prepares an order of Sysco-brand products for a foodservice customer, with a tier, a truck, a delivery day and a discount. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of brand, tier, storage, delivery and discount rules and returns a verdict, every reason and the total it computed.
This validator models Sysco-brand foodservice orders, not just the scenarios shown below.
Any Sysco-brand foodservice order that touches these rules is in scope — not only the scenarios pictured here. Not covered: other Sysco brands and products, non-Sysco products, equipment and supplies, and customer-specific contract pricing.
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 |
|---|---|---|
| A brand that comes only in some tiers | Only with care Each brand needs its own list of offered tiers, and the list has to be kept in step with the price table. | The brand and the tier are fields of one request and are checked together on every call. |
| Chilled and frozen products on a dry-only truck | Only with care The storage type of each brand has to be tied to the truck type with a separate rule for each brand. | The brand, its storage type and the truck are in one request and checked together on every call. |
| Quantity against the shelf-life cover | Only with workarounds The cover depends on the storage type and the weekly usage, so a derived limit has to be computed before the quantity can be compared with it. | The cover is computed from the weekly usage and compared with the quantity on every call. |
| Minimum, small-order fee and weekend rush together | Only with care Delivery minimum, fee and rush rules interact, and each one is usually a separate rule that fires at a different step. | Subtotal, fees, delivery day and rush are in one request and are checked together. |
| A stated total that must match the computed total | Only with workarounds The total is built from several lines, so a separate rule is needed to recompute it and compare it with the stated figure. | The stated total is a field of the request and is compared with the computed total on every call. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the order is saved or a step is completed, so a rep 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 | The selected Sysco tier is not offered for the selected brand. |
| 2 | This brand ships refrigerated or frozen and needs a multi-temperature truck; the route has a dry-only truck. |
| 3 | 31 cases are more than the customer can use before the shelf life ends (about 30 cases at the current weekly usage). |
| 4 | 121 cases are more than the customer can use before the shelf life ends (about 120 cases at the current weekly usage). |
| 5 | The order subtotal of 380 dollars is below the 500 dollar delivery minimum. |
| 6 | Rush delivery is not available for weekend delivery. |
| 7 | A discount of 8 percent is above 5 percent; a sales manager should approve it. |
| 8 | A discount of 15 percent is above 5 percent; a sales manager should approve it. |
| 9 | A discount of 18 percent is above the 15 percent limit. |
| 10 | The order missed the cut-off time; the delivery date needs to be confirmed with the operating company. |
| 11 | An order of 200 cases should be confirmed with the warehouse. |
| 12 | The quote states a total of 100 cents; the modeled prices give 78,500 cents. |
| 13 | 40 cases are more than the customer can use before the shelf life ends (about 15 cases at the current weekly usage). |
| 14 | A discount of 20 percent is above the 15 percent limit. |
| 15 | The order has 0 cases; at least 1 is needed. |
| 16 | The order subtotal of 0 dollars is below the 500 dollar delivery minimum. |
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 40 cases of Buckhead Pride in the Reliance tier for a hotel, delivered on a weekday, with a 20 percent discount, for a total of $5,024.00. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 36 cases of Buckhead Pride in the Premium tier for a hotel, delivered on a weekday, with a 5 percent discount, for a total of $6,498.00. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 3 cases of Portico in the Classic tier for a restaurant, delivered on a weekend with rush delivery, for a total of $520.00. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 5 cases of Portico in the Classic tier for a restaurant, delivered on a weekday with rush delivery, for a total of $800.00. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 240 cases of Casa Solana in the Classic tier for a school, delivered on a weekday, with an 18 percent discount, placed after the order cut-off, for a total of $8,568.00. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 240 cases of Casa Solana in the Classic tier for a school, delivered on a weekday, with an 8 percent discount, placed after the order cut-off, for a total of $9,273.60. It is ready to send.
Verdict: Needs approval.
The text of the narrated walkthrough, step by step.