Predictika · Line pipe orders

An AI sales agent's line pipe order, checked before it goes out

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.

Scope: One line pipe order: mill, diameter, wall, grade, specification level, service, coating, design temperature, length, tonnage and the stated unit price. See everything this validator covers

This validator models orders from four mills, not just the scenarios shown below.

  • Mills and size — the HFI 7 inch, HFI 26 inch, LSAW 56 inch and SAWH 100 inch mills, the diameter range and the wall each can make, and the pipe length limit.
  • Grade, specification level and service — API 5L grade B to X80, PSL1 and PSL2, onshore, sour and offshore service, and the grades each mill can supply.
  • Coatings — no coating, FBE, three-layer PE and three-layer PP, the design temperature each allows, the concrete weight coating that needs an anti-corrosion coating beneath it, and the internal epoxy.
  • Tonnage and the stated price — the minimum order for each mill, the review for very large orders and for grade X80, and the unit price stated on the quote, which is compared with the computed one.

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.

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

6 scenarios in 2 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
Limits that depend on the millOnly 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 togetherOnly 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 concreteOnly 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 blocksOnly 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 oneOnly 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.

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.

1An outside diameter of 8 inches is outside the range of this mill (3 to 7 inches).
2A wall of 401 (tenths of a millimeter) is above what this mill can make (400).
3The steel grade is above what this mill supplies.
4Grade X80 pipe needs a technical review of welding and toughness requirements.
5Grade X80 is supplied to PSL2 only.
6Sour service pipe must be ordered to PSL2.
7Offshore linepipe is not supplied from the SAWH spiral mill.
8Offshore service pipe must be ordered to PSL2.
9A concrete weight coating goes over an external anti-corrosion coating; none is on the order.
10A design temperature of 90 C is above the 80 C limit of the selected coating.
11A pipe length of 25 m is above the 24 m maximum.
12An order of 499 tonnes is below the minimum of 500 tonnes for this mill.
13The order states 1,500 EUR per tonne; the configured pipe is 1,580 EUR per tonne.
14An order of 60,000 tonnes needs a mill capacity check.

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. Offshore X80 pipe order: Offshore X80 pipe from the spiral mill with a concrete coating and no anti-corrosion coating

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.

  • Grade above the mill capability. The steel grade is above what this mill supplies.
  • X80 needs PSL2. Grade X80 is supplied to PSL2 only.
  • Offshore not from the spiral mill. Offshore linepipe is not supplied from the SAWH spiral mill.
  • Offshore service needs PSL2. Offshore service pipe must be ordered to PSL2.
  • Concrete coating needs an anti-corrosion coating. A concrete weight coating goes over an external anti-corrosion coating; none is on the order.
  • Pipe length over 24 m. A pipe length of 26 m is above the 24 m maximum.
  • Stated price does not match. The order states 1,500 EUR per tonne; the configured pipe is 1,470 EUR per tonne.
  • X80 grade needs technical review. Grade X80 pipe needs a technical review of welding and toughness requirements.

2. Offshore X80 pipe order: The agent resubmits after fixing the errors

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.

  • Concrete coating needs an anti-corrosion coating. A concrete weight coating goes over an external anti-corrosion coating; none is on the order.
  • Stated price does not match. The order states 1,500 EUR per tonne; the configured pipe is 1,680 EUR per tonne.
  • X80 grade needs technical review. Grade X80 pipe needs a technical review of welding and toughness requirements.

3. Offshore X80 pipe order: The agent resubmits after fixing the errors

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.

  • Design temperature above the coating limit. A design temperature of 90 C is above the 80 C limit of the selected coating.
  • Stated price does not match. The order states 1,500 EUR per tonne; the configured pipe is 1,860 EUR per tonne.
  • X80 grade needs technical review. Grade X80 pipe needs a technical review of welding and toughness requirements.

4. Offshore X80 pipe order: The agent resubmits after fixing the errors

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.

  • Order summary. LSAW 56 inch pipe, 800 tonnes at 1,850 EUR per tonne (illustrative prices).

5. Sour service pipe order: Sour service 30 inch pipe, 80 tonnes, from the 26 inch HFI mill

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.

  • Diameter outside the mill range. An outside diameter of 30 inches is outside the range of this mill (8 to 26 inches).
  • Sour service needs PSL2. Sour service pipe must be ordered to PSL2.
  • Below the minimum order. An order of 80 tonnes is below the minimum of 100 tonnes for this mill.

6. Sour service pipe order: The agent resubmits after fixing the errors

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.

  • Order summary. HFI 26 inch pipe, 150 tonnes at 1,200 EUR per tonne (illustrative prices).

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 quote for an order of API 5L line pipe: the mill it comes from, the outside diameter, the wall, and more. 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.
  2. I will start with the first request by the agent.
  3. The agent says. 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. The quote states 1,500 euros per tonne. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with seven findings and one approval, all in one answer. The steel grade is above what this mill supplies. Grade X80 is supplied to PSL2 only. Offshore linepipe is not supplied from the SAWH spiral mill. The other four are on screen.
  6. The validator returned seven 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 a stated unit price that must match the computed one, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the mill to LSAW 56 inch, the specification level to PSL2 and the pipe length to 12 meters.
  10. It calls the validator again.
  11. Still blocked, with two findings and one approval, all in one answer. A concrete weight coating goes over an external anti-corrosion coating; none is on the order. The order states 1,500 EUR per tonne; the configured pipe is 1,680 EUR per tonne.
  12. Five findings cleared. Still blocking: concrete coating needs an anti-corrosion coating and stated price does not match. One approval also remains for a person: X80 grade needs technical review.
  13. The agent resubmits once more.
  14. The revised request. It changes the coating to Three-layer PE and the design temperature to 90 Celsius.
  15. It calls the validator once more.
  16. Still blocked, with two findings and one approval, all in one answer. A design temperature of 90 C is above the 80 C limit of the selected coating. The order states 1,500 EUR per tonne; the configured pipe is 1,860 EUR per tonne.
  17. One finding cleared. Still blocking: stated price does not match. Newly found: design temperature above the coating limit. One approval also remains for a person: X80 grade needs technical review.
  18. The agent resubmits again.
  19. The next revised request. It changes the grade to X70, the coating to Three-layer PP and the unit price stated on the quote to 1,850.
  20. It calls the validator yet again.
  21. This time the validator clears it.
  22. All three earlier findings are cleared.
  23. Eight problems caught in one call, fixed in three passes, 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.