Predictika · Plumbing pipe and fittings orders

An AI sales agent's PVC drain-waste-vent order, checked before it goes out

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.

Scope: Charlotte Pipe PVC Schedule 40 DWV orders: solid and foam core pipe sizes and lengths, fitting size ranges, non-pressure use, the 140 F limit, no compressed air tests and the stated footage. See everything this validator covers

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.

  • Pipe sizes and lengths — solid PVC Schedule 40 pipe in nominal sizes from 1-1/4 to 16 in, foam core pipe from 1-1/2 to 12 in, in 10 ft and 20 ft lengths.
  • Fitting size ranges — coupling, 1/4 bend, long sweep 1/4 bend, 1/8 bend, sanitary tee, wye, double wye, cleanout plug, P-trap, vent tee, female adapter and male adapter, each with its own offered size range.
  • Application and temperature — the system is for non-pressure applications (drain, waste, vent, sewer and storm drainage) at operating temperatures up to 140 F.
  • Testing and protection — compressed air or gas must never be used to test, transport or store PVC pipe or fittings; protection from chemical agents, fire-stopping materials and incompatible plasticized vinyl products goes to a person.
  • Footage — the pipe footage stated on the order must equal the number of lengths times the length.

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.

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

7 scenarios in 3 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
A fitting size outside its rangeOnly 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 togetherOnly 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 testsOnly 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 answerOnly 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.

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 quote; approval findings need a person to sign off; everything else is computed.

1PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 14 in.
2PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 1-1/4 in.
3PVC Schedule 40 solid pipe is offered in nominal sizes from 1-1/4 to 16 in; the quote has 18 in.
4PVC Schedule 40 solid pipe is offered in nominal sizes from 1-1/4 to 16 in; the quote has 1 in.
5The pipe is offered in 10 ft and 20 ft lengths; the quote has 15 ft.
6The quote states 900 ft of pipe in total; the lengths quoted give 1,000 ft.
7The sanitary tee fitting is offered in sizes from 1-1/4 in to 12 in; the quote has 14 in.
8The long sweep 1/4 bend fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in.
9The vent tee fitting is offered in sizes from 1-1/2 in to 4 in; the quote has 6 in.
10The male adapter fitting is offered in sizes from 1-1/4 in to 4 in; the quote has 6 in.
11The P-trap fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in.
12The double wye fitting is offered in sizes from 1-1/2 in to 14 in; the quote has 1-1/4 in.
13This DWV system is for non-pressure applications (drain, waste, vent, sewer and storm drainage); a pressure application cannot be quoted.
14The system is for operating temperatures not exceeding 140 F; the quote has 141 F.
15Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test.
16The system must be protected from chemical agents, fire-stopping materials and incompatible plasticized vinyl products; a person should confirm the protection for this job.
17PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 16 in.
18The female adapter fitting is offered in sizes from 1-1/4 in to 12 in; the quote has 14 in.
19The system is for operating temperatures not exceeding 140 F; the quote has 160 F.

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. Foam core pressure line: Foam core pipe at 16 in, a 6 in vent tee and a pressure application

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.

  • Foam core pipe size not offered. PVC Schedule 40 foam core pipe is offered in nominal sizes from 1-1/2 to 12 in; the quote has 16 in.
  • Fitting size outside its range. The vent tee fitting is offered in sizes from 1-1/2 in to 4 in; the quote has 6 in.
  • Pressure application. This DWV system is for non-pressure applications (drain, waste, vent, sewer and storm drainage); a pressure application cannot be quoted.

2. Foam core pressure line: The agent resubmits after fixing the errors

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.

  • Order summary. 30 length(s) of pipe, 600 ft in total, and 12 fitting(s).

3. Lengths, fitting size and air test: 15 ft lengths, an 8 in long sweep 1/4 bend and an air test

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.

  • Pipe length not offered. The pipe is offered in 10 ft and 20 ft lengths; the quote has 15 ft.
  • Fitting size outside its range. The long sweep 1/4 bend fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in.
  • Compressed air or gas test. Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test.

4. Lengths, fitting size and air test: The agent resubmits after fixing the errors

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.

  • Compressed air or gas test. Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test.

5. Lengths, fitting size and air test: The agent resubmits after fixing the errors

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.

  • Order summary. 40 length(s) of pipe, 800 ft in total, and 8 fitting(s).

6. Hot service and chemical contact: Operation at 150 F with chemical and fire-stopping contact

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.

  • Operating temperature above 140 F. The system is for operating temperatures not exceeding 140 F; the quote has 150 F.
  • Chemical or fire-stopping contact. 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.

7. Hot service and chemical contact: The agent resubmits after fixing the errors

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.

  • Chemical or fire-stopping contact. 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.
  • Order summary. 60 length(s) of pipe, 1,200 ft in total, and 16 fitting(s).

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 an order for PVC Schedule 40 drain, waste and vent pipe and fittings: the pipe type, size and length, a fitting type and size, and more. 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.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 40 lengths of solid PVC Schedule 40 pipe, 6 in, in 15 ft lengths, and 8 long sweep 1/4 bend fittings. The quote states 600 ft of pipe in total. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings, all in one answer. The pipe is offered in 10 ft and 20 ft lengths; the quote has 15 ft. The long sweep 1/4 bend fitting is offered in sizes from 1-1/2 in to 6 in; the quote has 8 in. Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test.
  6. The validator returned three blocking findings 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 quote are checked against each other.
  7. What this shows: for a fitting size outside its range, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the length to 20 ft, the fitting size to 6 in and the stated pipe footage as to 800 ft.
  10. It calls the validator again.
  11. Still blocked, with one finding, all in one answer. Never test with, or transport or store, compressed air or gas in PVC pipe or fittings; the quote plans an air or gas test.
  12. Two findings cleared. Still blocking: compressed air or gas test.
  13. The agent resubmits once more.
  14. The revised request. It removes the compressed air test.
  15. It calls the validator once more.
  16. This time the validator clears it.
  17. The earlier finding is cleared.
  18. Three problems caught in one call, fixed in two passes, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.