Predictika · Heavy truck orders
An AI sales agent prepares a fleet order for Ashok Leyland AVTR trucks: the model, engine, cabin, gearbox, cargo body length, payload the customer needs, options such as AC, HVAC and a retarder, the number of trucks, a fleet discount and the order total in thousand rupees. Before the order goes out, the agent sends it to Predictika, which checks it against a declarative model of how those choices fit together and returns a verdict, every reason and the total it computed.
This validator models Ashok Leyland AVTR truck orders, not just the scenarios shown below.
Any AVTR truck order that touches these rules is in scope — not only the scenarios pictured here. Not covered: other Ashok Leyland vehicle ranges, financing and service contracts. Amounts are in thousand Indian rupees and are illustrative.
8 scenarios in 4 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 |
|---|---|---|
| Models that each take different engines, cabins and gearboxes | Only with care The 200 hp engine, the cowl with chassis and the 6-speed or 9-speed gearbox each belong to some models and not others, so a rule is needed for every combination. | The model, engine, cabin and gearbox are checked together on every call. |
| A body length that depends on the kind of truck | Only with care Rigid trucks take 24 to 32 ft in 2 ft steps while tractors and the tipper take no cargo body, so one field has two different rules. | The model and the body length are checked in the same pass. |
| Payload and options tied to the model | Only with care Each model carries a different payload, and the retarder, AC and HVAC each depend on the model or the cabin. | Payload and options are read against the model on every call. |
| A total built from base price, options, body and discount | Only with workarounds The total adds the model price, engine, gearbox, cabin, options and body length, multiplies by the number of trucks and takes off a discount, and has to be recomputed before it can be compared with the stated total. | The total is computed in the same pass and the stated total is checked on every call. |
| Discounts that depend on the size of the fleet | Only with workarounds The discount allowed grows with the number of trucks, and a discount above the tier goes to a person while a huge order needs a delivery review. | Blocks and approvals come back together, whatever order the choices arrived in. |
| 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 200 hp H6 engine is not offered on this model; tractors and the tipper use the 250 hp H6. |
| 2 | Cowl with chassis is offered only on the rigid AVTR 2,620 and 2,820; this model comes with the N Cabin. |
| 3 | A cowl with chassis needs the customer body builder and cabin supplier confirmed. |
| 4 | A body length of 22 ft is not valid: rigid models take 24 to 32 ft in 2 ft steps; tractors and the tipper take no cargo body (0). |
| 5 | This gearbox is not offered on this model (AVTR 2,620 has the 6-speed only; AVTR 4420, 5,525 and the tipper need the 9-speed). |
| 6 | The customer needs 17 tonnes of payload; this model carries 16. |
| 7 | AC and HVAC cannot both be ordered; HVAC includes the air conditioning. |
| 8 | AC and HVAC are fitted in the N Cabin only; a cowl with chassis has no cabin. |
| 9 | The retarder is offered only on the AVTR 4,420 and 5,525. |
| 10 | An order of more than 100 trucks needs a delivery-schedule review. |
| 11 | An order of 201 trucks is outside the 1 to 200 range of a single order. |
| 12 | A discount of 3 percent is above the 1 percent allowed for this quantity. |
| 13 | A discount of 6 percent is outside the 0 to 5 percent range. |
| 14 | The order states a total of 1,000 thousand rupees; the price list gives 40,293. |
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 an order of 10 AVTR 4220 tractors with the 200 hp H6 engine, the cowl with chassis and the 6-speed gearbox, with no cargo body. The customer needs 27 tonnes of payload. It includes a retarder. The order has a fleet discount of 1 percent. The order total is 41,382 thousand rupees. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of 10 AVTR 4220 tractors with the 250 hp H6 engine, the N Cabin and the 6-speed gearbox, with no cargo body. The customer needs 27 tonnes of payload. The order has a fleet discount of 1 percent. The order total is 41,580 thousand rupees. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote an order of 10 AVTR 2620s with the 250 hp H6 engine, the N Cabin and the 9-speed gearbox, a 34 ft cargo body. The customer needs 17 tonnes of payload. It includes the alert system. The order has a fleet discount of 1 percent. The order total is 42,669 thousand rupees. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of 10 AVTR 2620s with the 250 hp H6 engine, the N Cabin and the 6-speed gearbox, a 32 ft cargo body. The customer needs 16 tonnes of payload. It includes the alert system. The order has a fleet discount of 1 percent. The order total is 40,689 thousand rupees. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote an order of 30 AVTR 4420 tractors with the 250 hp H6 engine, the N Cabin and the 9-speed gearbox, with no cargo body. The customer needs 28 tonnes of payload. The order has a fleet discount of 3 percent. The order total is 142,002 thousand rupees. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of 30 AVTR 4420 tractors with the 250 hp H6 engine, the N Cabin and the 9-speed gearbox, with no cargo body. The customer needs 28 tonnes of payload. The order has a fleet discount of 2 percent. The order total is 142,002 thousand rupees. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote an order of 10 AVTR 2820s with the 250 hp H6 engine, the cowl with chassis and the 6-speed gearbox, a 28 ft cargo body. The customer needs 18 tonnes of payload. It includes AC and the alert system. The order has a fleet discount of 1 percent. The order total is 45,441 thousand rupees. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote an order of 10 AVTR 2820s with the 250 hp H6 engine, the N Cabin and the 6-speed gearbox, a 28 ft cargo body. The customer needs 18 tonnes of payload. It includes AC and the alert system. The order has a fleet discount of 1 percent. The order total is 46,926 thousand rupees. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.