Predictika · Heavy truck orders

An AI sales agent's heavy truck order, checked before it goes out

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.

Scope: One AVTR truck fleet order: model, engine, cabin, gearbox, body, payload, options, quantity, discount and the stated total. See everything this validator covers

This validator models Ashok Leyland AVTR truck orders, not just the scenarios shown below.

  • Models — the AVTR 2620 and 2820 rigid trucks, the AVTR 4220 and 4420 tractors, the AVTR 5525 and the 3525 tipper.
  • Engine, cabin and gearbox — the 200 hp and 250 hp H6 engines, the N Cabin or a cowl with chassis, and the 6-speed or 9-speed gearbox, each limited to the models that take it.
  • Body and payload — cargo body lengths for the rigid trucks, no body on tractors and the tipper, and the payload each model carries.
  • Options — AC, HVAC, an alert system and a retarder, with the cabin and model each one needs.
  • Fleet size and discount — orders of 1 to 200 trucks, discount tiers by quantity, and approval for a discount above the tier.
  • Approvals — a cowl with chassis needs the body builder confirmed, and an order of more than 100 trucks needs a delivery review.
  • Stated total — the total the order states against the total computed from the modeled prices.

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.

The AI sales agentBuilds the truck order from the conversation with the customer and says it is ready.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

8 scenarios in 4 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI sales agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI sales agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where rules-based CPQ gets it wrong

Click to expand

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 caughtTypical rules-based CPQPredictika
Models that each take different engines, cabins and gearboxesOnly 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 truckOnly 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 modelOnly 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 discountOnly 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 fleetOnly 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 answerOnly 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.

What this validator catches: findings from its test cases

Click to expand

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.

1The 200 hp H6 engine is not offered on this model; tractors and the tipper use the 250 hp H6.
2Cowl with chassis is offered only on the rigid AVTR 2,620 and 2,820; this model comes with the N Cabin.
3A cowl with chassis needs the customer body builder and cabin supplier confirmed.
4A 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).
5This 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).
6The customer needs 17 tonnes of payload; this model carries 16.
7AC and HVAC cannot both be ordered; HVAC includes the air conditioning.
8AC and HVAC are fitted in the N Cabin only; a cowl with chassis has no cabin.
9The retarder is offered only on the AVTR 4,420 and 5,525.
10An order of more than 100 trucks needs a delivery-schedule review.
11An order of 201 trucks is outside the 1 to 200 range of a single order.
12A discount of 3 percent is above the 1 percent allowed for this quantity.
13A discount of 6 percent is outside the 0 to 5 percent range.
14The order states a total of 1,000 thousand rupees; the price list gives 40,293.

Scenarios and results

Click to expand

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.

1. Model options: A 4220 tractor with the 200 hp engine, a cowl with chassis and a retarder

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.

  • 250 hp engine required. The 200 hp H6 engine is not offered on this model; tractors and the tipper use the 250 hp H6.
  • Tractors and tipper need the N Cabin. Cowl with chassis is offered only on the rigid AVTR 2,620 and 2,820; this model comes with the N Cabin.
  • Retarder model. The retarder is offered only on the AVTR 4,420 and 5,525.
  • Cowl with chassis body builder. A cowl with chassis needs the customer body builder and cabin supplier confirmed.

2. Model options: The agent resubmits after fixing the errors

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.

  • Order summary. 10 truck(s) at 4,200 thousand rupees each; total 41,580 thousand rupees.

3. Body, gearbox and payload: A 2620 with a 34 ft body, the 9-speed gearbox and 17 tonnes of payload

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.

  • Body length. A body length of 34 ft is not valid: rigid models take 24 to 32 ft in 2 ft steps; tractors and the tipper take no cargo body (0).
  • Gearbox for the model. 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).
  • Payload over model limit. The customer needs 17 tonnes of payload; this model carries 16.

4. Body, gearbox and payload: The agent resubmits after fixing the errors

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.

  • Order summary. 10 truck(s) at 4,110 thousand rupees each; total 40,689 thousand rupees.

5. Fleet discount: A fleet of 30 AVTR 4420 tractors with a 3 percent discount and a stale total

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.

  • Stated total does not match. The order states a total of 142,002 thousand rupees; the price list gives 140,553.
  • Discount above the fleet tier. A discount of 3 percent is above the 2 percent allowed for this quantity.

6. Fleet discount: The agent resubmits after fixing the errors

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.

  • Order summary. 30 truck(s) at 4,830 thousand rupees each; total 142,002 thousand rupees.

7. Cabin options: An AVTR 2820 cowl with chassis with AC

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.

  • AC or HVAC needs the N Cabin. AC and HVAC are fitted in the N Cabin only; a cowl with chassis has no cabin.
  • Cowl with chassis body builder. A cowl with chassis needs the customer body builder and cabin supplier confirmed.

8. Cabin options: The agent resubmits after fixing the errors

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.

  • Order summary. 10 truck(s) at 4,740 thousand rupees each; total 46,926 thousand rupees.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. An AI sales agent prepares a fleet order for Ashok Leyland AVTR trucks: the model, engine, cabin, and more. 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.
  2. I will start with the first request by the agent.
  3. The agent says. 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. The rest of the request is on screen. The order total is 41,382 thousand rupees.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings and one approval, all in one answer. The 200 hp H6 engine is not offered on this model; tractors and the tipper use the 250 hp H6. Cowl with chassis is offered only on the rigid AVTR 2,620 and 2,820; this model comes with the N Cabin. The retarder is offered only on the AVTR 4,420 and 5,525.
  6. The validator returned three blocking findings and one approval in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the order are checked against each other.
  7. What this shows: for models that each take different engines, cabins and gearboxes, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the engine to 250 hp H6, the cabin to N Cabin, the retarder to no and the stated order total to 41,580 thousand rupees.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All four earlier findings are cleared.
  13. Four problems caught in one call, fixed in one pass, and a clean order. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.