Predictika · Line pipe orders
An AI sales agent prepares a quote for an order of API 5L line pipe: the mill it comes from, the outside diameter, the wall, the steel grade and specification level, the service, the coating, the design temperature, the pipe length, the tonnage, and the unit price the quote states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of how these choices fit together, and returns a verdict, every reason and the unit price it computed.
This validator models orders from four mills, not just the scenarios shown below.
Any line pipe order that touches these rules is in scope — not only the scenarios pictured here. Not covered: OCTG, risers, hollow sections and other Corinth Pipeworks products. The mill names, standards, coating families and the 24 m length limit come from public Corinth Pipeworks pages; the size and grade limits of each mill, the minimum orders, the specification and service rules, the coating temperature limits, the review thresholds and all prices are modeled from comparable pipe mills and are not published by Corinth Pipeworks. Prices are illustrative euros per tonne.
6 scenarios in 2 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 |
|---|---|---|
| Limits that depend on the mill | Only with workarounds Each mill has its own diameter range, thickest wall and highest grade, so the same pipe is fine from one mill and impossible from another, and each limit needs a rule that reads the mill. | Mill, diameter, wall and grade are fields of one order, and every limit is checked together on every call. |
| Grade, specification level and service tied together | Only with care Grade X80, sour service and offshore service each need PSL2, and offshore pipe is not supplied from the spiral mill, so one choice changes what the others may be. | The combinations are rules over the fields of one order, so a change anywhere is re-checked against all of them. |
| A coating that limits the temperature and carries the concrete | Only with workarounds Each coating has its own temperature limit, and a concrete weight coating is only valid over an anti-corrosion coating, so a rule must read the coating for both. | Coating, design temperature and concrete coating are checked together, so a change of coating is re-checked at once. |
| Approvals that sit next to blocks | Only with workarounds Grade X80 needs a technical review while other problems stop the order outright, and the sales team should see them all at once. | Blocks and approvals are all reported together, so one problem never hides another. |
| A stated unit price that must match the computed one | Only with workarounds The unit price is built from the mill, grade, coating, specification level and extras, so a separate rule must recompute it and compare it with the stated figure. | The stated price is a field of the order and is compared with the computed one on every call. |
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 | An outside diameter of 8 inches is outside the range of this mill (3 to 7 inches). |
| 2 | A wall of 401 (tenths of a millimeter) is above what this mill can make (400). |
| 3 | The steel grade is above what this mill supplies. |
| 4 | Grade X80 pipe needs a technical review of welding and toughness requirements. |
| 5 | Grade X80 is supplied to PSL2 only. |
| 6 | Sour service pipe must be ordered to PSL2. |
| 7 | Offshore linepipe is not supplied from the SAWH spiral mill. |
| 8 | Offshore service pipe must be ordered to PSL2. |
| 9 | A concrete weight coating goes over an external anti-corrosion coating; none is on the order. |
| 10 | A design temperature of 90 C is above the 80 C limit of the selected coating. |
| 11 | A pipe length of 25 m is above the 24 m maximum. |
| 12 | An order of 499 tonnes is below the minimum of 500 tonnes for this mill. |
| 13 | The order states 1,500 EUR per tonne; the configured pipe is 1,580 EUR per tonne. |
| 14 | An order of 60,000 tonnes needs a mill capacity check. |
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 800 tonnes of API 5L grade X80 PSL1 pipe from the SAWH 100 inch spiral mill, 48 inches in diameter with a 20.0 millimeter wall, in 26 meter lengths, for offshore service, with no external anti-corrosion coating, a concrete weight coating and a design temperature of 60 degrees Celsius. The quote states 1,500 euros per tonne. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 800 tonnes of API 5L grade X80 PSL2 pipe from the LSAW 56 inch mill, 48 inches in diameter with a 20.0 millimeter wall, in 12 meter lengths, for offshore service, with no external anti-corrosion coating, a concrete weight coating and a design temperature of 60 degrees Celsius. The quote states 1,500 euros per tonne. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 800 tonnes of API 5L grade X80 PSL2 pipe from the LSAW 56 inch mill, 48 inches in diameter with a 20.0 millimeter wall, in 12 meter lengths, for offshore service, with a three-layer PE coating, a concrete weight coating and a design temperature of 90 degrees Celsius. The quote states 1,500 euros per tonne. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 800 tonnes of API 5L grade X70 PSL2 pipe from the LSAW 56 inch mill, 48 inches in diameter with a 20.0 millimeter wall, in 12 meter lengths, for offshore service, with a three-layer PP coating, a concrete weight coating and a design temperature of 90 degrees Celsius. The quote states 1,850 euros per tonne. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 80 tonnes of API 5L grade X60 PSL1 pipe from the HFI 26 inch mill, 30 inches in diameter with a 12.0 millimeter wall, in 12 meter lengths, for sour service, with an FBE coating and a design temperature of 60 degrees Celsius. The quote states 1,140 euros per tonne. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 150 tonnes of API 5L grade X60 PSL2 pipe from the HFI 26 inch mill, 24 inches in diameter with a 12.0 millimeter wall, in 12 meter lengths, for sour service, with an FBE coating and a design temperature of 60 degrees Celsius. The quote states 1,200 euros per tonne. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.