Predictika · Plumbing pipe and fittings orders
An AI sales agent prepares an order for PVC Schedule 40 drain, waste and vent pipe and fittings: the pipe type, size and length, a fitting type and size, the application, the operating temperature and the test method. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the size ranges and usage limits in Charlotte Pipe's public documents and returns a verdict, every reason and the footage it computed.
This validator models PVC Schedule 40 DWV pipe and a set of common DWV fittings as described in Charlotte Pipe and Foundry's public catalog and submittal documents (read October 6, 2026), not just the scenarios shown below.
Any PVC Schedule 40 DWV order that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (none are modeled), ABS, CPVC, sewer pipe and other product lines, the reducing fittings, fitting types not listed above, the 5 in pipe size, pipe lengths other than 10 ft and 20 ft, and regional availability.
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 |
|---|---|---|
| A fitting size outside its range | Only with care Each fitting type has its own size range; a rules-based CPQ needs a rule or a lookup table per fitting, kept in step with the catalog. | The fitting, its size and its range are in one request and compared on every call. |
| Pipe type and size together | Only with care Foam core and solid pipe stop at different sizes, so the size rule depends on the pipe type. | The pipe type and size are checked together, and a wrong size is named with the range. |
| Use limits such as pressure, temperature and air tests | Only with workarounds These are statements about how the product will be used, not about what is on the order, so they are often left to the sales rep. | The application, temperature and test method are fields in the request and are checked with everything else. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the quote 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 | PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 14 in. |
| 2 | PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 1-1/4 in. |
| 3 | PVC Schedule 40 solid pipe is offered in nominal sizes from 1-1/4 to 16 in; the quote has 18 in. |
| 4 | PVC Schedule 40 solid pipe is offered in nominal sizes from 1-1/4 to 16 in; the quote has 1 in. |
| 5 | The pipe is offered in 10 ft and 20 ft lengths; the quote has 15 ft. |
| 6 | The quote states 900 ft of pipe in total; the lengths quoted give 1,000 ft. |
| 7 | The sanitary tee fitting is offered in sizes from 1-1/4 in to 12 in; the quote has 14 in. |
| 8 | The long sweep 1/4 bend fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in. |
| 9 | The vent tee fitting is offered in sizes from 1-1/2 in to 4 in; the quote has 6 in. |
| 10 | The male adapter fitting is offered in sizes from 1-1/4 in to 4 in; the quote has 6 in. |
| 11 | The P-trap fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in. |
| 12 | The double wye fitting is offered in sizes from 1-1/2 in to 14 in; the quote has 1-1/4 in. |
| 13 | This DWV system is for non-pressure applications (drain, waste, vent, sewer and storm drainage); a pressure application cannot be quoted. |
| 14 | The system is for operating temperatures not exceeding 140 F; the quote has 141 F. |
| 15 | Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test. |
| 16 | The system must be protected from chemical agents, fire-stopping materials and incompatible plasticized vinyl products; a person should confirm the protection for this job. |
| 17 | PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 16 in. |
| 18 | The female adapter fitting is offered in sizes from 1-1/4 in to 12 in; the quote has 14 in. |
| 19 | The system is for operating temperatures not exceeding 140 F; the quote has 160 F. |
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 30 lengths of PVC Schedule 40 foam core pipe, 16 in, in 20 ft lengths, and 12 vent tee fittings, 6 in, for a pressure application at 100 F. The quote states 600 ft of pipe in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 30 lengths of solid PVC Schedule 40 pipe, 12 in, in 20 ft lengths, and 12 vent tee fittings, 4 in, for a drain, waste and vent application at 100 F. The quote states 600 ft of pipe in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 40 lengths of solid PVC Schedule 40 pipe, 6 in, in 15 ft lengths, and 8 long sweep 1/4 bend fittings, 8 in, for a drain, waste and vent application at 100 F, pressure tested with compressed air. The quote states 600 ft of pipe in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 40 lengths of solid PVC Schedule 40 pipe, 6 in, in 20 ft lengths, and 8 long sweep 1/4 bend fittings, 6 in, for a drain, waste and vent application at 100 F, pressure tested with compressed air. The quote states 800 ft of pipe in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 40 lengths of solid PVC Schedule 40 pipe, 6 in, in 20 ft lengths, and 8 long sweep 1/4 bend fittings, 6 in, for a drain, waste and vent application at 100 F. The quote states 800 ft of pipe in total. It is ready to send.
Verdict: Allowed.
The agent's request. Please quote 60 lengths of solid PVC Schedule 40 pipe, 4 in, in 20 ft lengths, and 16 wye fittings, 4 in, for a sewer and storm drainage application at 150 F, with some chemical and fire-stopping contact on the job. The quote states 1,200 ft of pipe in total. It is ready to send.
Verdict: Blocked.
The agent's request. Please quote 60 lengths of solid PVC Schedule 40 pipe, 4 in, in 20 ft lengths, and 16 wye fittings, 4 in, for a sewer and storm drainage application at 120 F, with some chemical and fire-stopping contact on the job. The quote states 1,200 ft of pipe in total. It is ready to send.
Verdict: Needs approval.
The text of the narrated walkthrough, step by step.