Predictika · Container shipping bookings
An AI sales agent prepares a booking request for full containers: a container type, a number of containers, and the cargo weight, volume and height per container. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the published container specifications and returns a verdict, every reason and the figures it computed.
This validator models full-container bookings on six Hapag-Lloyd container types, not just the scenarios shown below.
Any container booking that touches these rules is in scope — not only the scenarios pictured here. Not covered: freight rates, surcharges, lane and schedule terms, volume commitments (this validator has no price list, so it produces no price build-up or line-item quote), other container types (open top, hardtop, tank, 45', special equipment), dangerous goods, reefer temperature settings and cargo stowage.
7 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 |
|---|---|---|
| Cargo weight, volume and height all checked against the container type | Only with care Each limit depends on the container type chosen, so a rule set needs a table per type and a rule per limit, and the table has to be kept in step with the product list. | The container type, its limits and the cargo figures are in one request and every limit is checked on every call. |
| Cargo that fits a high cube door but not a standard door | Only with workarounds The door height differs by type, so the same cargo passes on one type and fails on another; a rep usually finds out when the booking is reviewed. | The cargo height is compared with the door opening of whichever type is chosen, so switching the type changes the result at once. |
| Stated total weight that must equal containers times weight per container | Only with care A stated figure is a free-entry field; a rule can compare it with a computed total, but someone has to write and maintain that comparison. | The stated figure travels with the booking and is compared with the computed figure on every call. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the booking 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 quote; approval findings need a person to sign off; everything else is computed.
| 1 | The cargo weighs 28,131 kg per container; the published maximum payload for this container type is 28,130 kg. |
| 2 | The cargo weighs 29,000 kg per container; the published maximum payload for this container type is 28,750 kg. |
| 3 | The cargo weighs 28,601 kg per container; the published maximum payload for this container type is 28,600 kg. |
| 4 | The cargo weight of 28,600 kg equals the full published payload; Hapag-Lloyd states its published specifications are examples and containers vary by manufacturer, so a person should confirm the actual container. |
| 5 | The cargo takes 33,201 litres per container; the published capacity of this container type is 33,200 litres. |
| 6 | The cargo is 2,500 mm high; the door opening of this container type is 2,292 mm, so it cannot be loaded through the doors. |
| 7 | The cargo is 2,598 mm high; the door opening of this container type is 2,597 mm, so it cannot be loaded through the doors. |
| 8 | The cargo takes 30,000 litres per container; the published capacity of this container type is 28,100 litres. |
| 9 | The cargo is 2,600 mm high; the door opening of this container type is 2,557 mm, so it cannot be loaded through the doors. |
| 10 | The cargo weighs 49,101 kg per container; the published maximum payload for this container type is 49,100 kg. |
| 11 | The quote states 120,000 kg of cargo in total; the containers and cargo weight give 144,000 kg. |
| 12 | A booking needs at least 1 container; the quote has 0. |
| 13 | The cargo weighs 30,000 kg per container; the published maximum payload for this container type is 28,130 kg. |
| 14 | The cargo takes 40,000 litres per container; the published capacity of this container type is 33,200 litres. |
| 15 | The cargo weight of 49,100 kg equals the full published payload; Hapag-Lloyd states its published specifications are examples and containers vary by manufacturer, so a person should confirm the actual container. |
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 book 8 40' standards carrying 29,500 kg of cargo each, 62,000 litres in volume, 2,200 mm high. The request states 236,000 kg of cargo in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please book 8 40' standard high cubes carrying 28,000 kg of cargo each, 62,000 litres in volume, 2,200 mm high. The request states 224,000 kg of cargo in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please book 10 40' standards carrying 26,000 kg of cargo each, 66,000 litres in volume, 2,450 mm high. The request states 260,000 kg of cargo in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please book 10 40' standard high cubes carrying 26,000 kg of cargo each, 66,000 litres in volume, 2,450 mm high. The request states 260,000 kg of cargo in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please book 12 20' reefers carrying 26,500 kg of cargo each, 29,000 litres in volume, 2,200 mm high. The request states 300,000 kg of cargo in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please book 12 20' reefers carrying 26,500 kg of cargo each, 28,000 litres in volume, 2,200 mm high. The request states 300,000 kg of cargo in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please book 12 20' reefers carrying 26,500 kg of cargo each, 28,000 litres in volume, 2,200 mm high. The request states 318,000 kg of cargo in total. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.