Predictika · USPS commercial parcel shipping

An AI shipping agent's USPS parcel quote, checked before it goes out

An AI shipping agent prepares a USPS commercial parcel quote for a customer: Priority Mail or USPS Ground Advantage, zone, packaging, pricing method, size, extra services and any negotiated discount. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of USPS service rules and limits and returns a verdict, every reason and the charges it computed.

Scope: USPS Priority Mail and USPS Ground Advantage commercial single-package quotes: Flat Rate and cubic eligibility, size and weight limits, dimensional weight, extra services, insurance, Registered Mail, lithium batteries and negotiated discounts. See everything this validator covers

This validator models USPS commercial single-package quotes, not just the scenarios shown below.

  • Services and packaging — Priority Mail and USPS Ground Advantage across zones 1 to 9: Flat Rate packaging is a Priority Mail product, and cubic pricing applies only to your own packaging up to 0.5 cubic foot, 20 lb and 18 in.
  • Size and weight — the 70 lb limit, the length-plus-girth maximum for each service, dimensional weight above one cubic foot and the nonstandard fees for long or large parcels.
  • Extra services — Signature Confirmation and Adult Signature (one only), insurance up to $5,000, and Registered Mail, which is available on Priority Mail but not on Ground Advantage.
  • Lithium batteries — batteries shipped alone are surface-only, so they cannot move on an air service, and every lithium shipment goes to hazardous-materials review.
  • Negotiated discounts — a service agreement needs at least 50,000 pieces a year and no more than 20 percent, and a qualifying discount still needs USPS approval.
  • Stated total — the total the agent states against the total the validator computes.

Any USPS commercial single-package quote that touches these rules is in scope — not only the scenarios pictured here. Not covered: international mail, First-Class Mail and Media Mail, retail prices, multi-package shipments and extra services beyond those listed. Published Notice 123 prices are matched to a fitted zone rate model, so prices are estimates, not a USPS quote; the negotiated-agreement thresholds, the dimensional divisor and the cubic limits are estimates.

The AI shipping agentBuilds the parcel quote 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 shipping agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI shipping 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
Service limits that change when the service changesOnly with workarounds
Ground Advantage cannot carry Registered Mail or air-only rules but allows longer parcels than Priority Mail, so switching service re-opens several rules at once.
The service is one field of the request; every rule is evaluated again together on each call.
Insurance, Registered Mail and service that depend on each otherOnly with workarounds
Over $5,000 needs Registered Mail, Registered Mail needs Priority Mail, and standalone lithium needs a surface service, so the three rules must be ordered by hand.
All three rules are read from the same request and their conflict is returned as findings.
Dimensional weight, cubic tiers and nonstandard feesOnly with care
Billable weight, cubic tier and size fees each need a formula, and the price must read the right one for the pricing method.
They are computed together and the price reads the result.
Cubic and Flat Rate pricing eligibilityOnly with care
Whether a parcel may use cubic or Flat Rate pricing depends on packaging, size, weight and service, so each combination needs its own validation rule.
Every combination is checked in the same pass and reported with the reason.
The total the agent statesOnly with workarounds
Comparing a stated total with a computed one needs a separate rule per quote layout, and price rules rarely run on stated figures.
The stated total is a field in the request and is checked against the computed total.
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.

110 percent negotiated discount needs USPS service-agreement approval.
2Standalone lithium batteries must be marked and packed per USPS hazardous-materials rules; hazmat review before acceptance.
3Flat Rate packaging is a Priority Mail product; it cannot be used with USPS Ground Advantage.
4Cubic pricing needs 0.5 cubic foot or less, 20 lb or less and no side over 18 in; this parcel is tier 5 (tenths of a cubic foot), 25 lb, longest side 12 in.
575 lb exceeds the 70 lb USPS maximum.
6Length plus girth 116 in exceeds the 108 in maximum for Priority Mail.
7Registered Mail is available with Priority Mail and First-Class Mail, not USPS Ground Advantage.
8Signature Confirmation and Adult Signature cannot both be purchased on one parcel.
9$8,000 is over the $5,000 insurance maximum; use Registered Mail for higher values.
10Lithium batteries shipped alone are surface-only; Priority Mail moves by air. Use USPS Ground Advantage.
11Cubic pricing applies to your own packaging; Flat Rate packaging has its own fixed price.
12A 8 percent negotiated discount needs a service agreement: at least 50,000 pieces a year (shipper has 20,000) and no more than 20 percent.
13The stated quote total of $79.48 does not match the validator total of $83.66.

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. Priority Mail with lithium batteries and $8,000 value: A 78 lb Priority Mail parcel with standalone lithium batteries, $8,000 of insurance, both signature services, a 25 percent negotiated discount and a low total

The agent's request. Please quote a 78 lb parcel by Priority Mail to zone 6, 48 by 30 by 24 inches, in its own box, priced by cubic tier, with Signature Confirmation, Adult Signature, $8,000 of insurance, standalone lithium batteries inside, a 25 percent negotiated discount. The shipper sends about 20,000 packages a year. Quote total $615.25. It is ready to send.

Verdict: Blocked.

  • Stated total does not match. The stated quote total of $615.25 does not match the validator total of $683.61.
  • Cubic pricing size and weight limits. Cubic pricing needs 0.5 cubic foot or less, 20 lb or less and no side over 18 in; this parcel is tier 200 (tenths of a cubic foot), 78 lb, longest side 48 in.
  • Weight limit. 78 lb exceeds the 70 lb USPS maximum.
  • Length plus girth limit. Length plus girth 156 in exceeds the 108 in maximum for Priority Mail.
  • One signature service only. Signature Confirmation and Adult Signature cannot both be purchased on one parcel.
  • Insurance maximum. $8,000 is over the $5,000 insurance maximum; use Registered Mail for higher values.
  • Standalone lithium batteries are surface-only. Lithium batteries shipped alone are surface-only; Priority Mail moves by air. Use USPS Ground Advantage.
  • Negotiated discount needs an agreement. A 25 percent negotiated discount needs a service agreement: at least 50,000 pieces a year (shipper has 20,000) and no more than 20 percent.

2. Priority Mail with lithium batteries and $8,000 value: The agent moves it to Ground Advantage and registers the parcel

The agent's request. Please quote a 65 lb parcel by USPS Ground Advantage to zone 6, 30 by 20 by 12 inches, in its own box, priced by weight, with Signature Confirmation, Registered Mail with $8,000 declared value, standalone lithium batteries inside, a 15 percent negotiated discount. The shipper sends about 60,000 packages a year. Quote total $168.24. It is ready to send.

Verdict: Blocked.

  • Registered Mail is not on Ground Advantage. Registered Mail is available with Priority Mail and First-Class Mail, not USPS Ground Advantage.
  • Hazardous-materials review. Standalone lithium batteries must be marked and packed per USPS hazardous-materials rules; hazmat review before acceptance.
  • Service-agreement approval. 15 percent negotiated discount needs USPS service-agreement approval.

3. Priority Mail with lithium batteries and $8,000 value: The agent resubmits after fixing the errors

The agent's request. Please quote a 65 lb parcel by USPS Ground Advantage to zone 6, 30 by 20 by 12 inches, in its own box, priced by weight, with Signature Confirmation, $4,800 of insurance. The shipper sends about 60,000 packages a year. Quote total $206.16. It is ready to send.

Verdict: Allowed.

  • Price summary. Price (USPS Notice 123 July 2,026 commercial, zone rates fitted): $206.16 total. Postage $104.46 (billable 65 lb, dimensional 44 lb, cubic tier 42) less 0 percent; nonstandard fees $25.5; extra services $76.2.

4. Flat Rate box on Ground Advantage: A Small Flat Rate box on USPS Ground Advantage with cubic pricing

The agent's request. Please quote a 8 lb parcel by USPS Ground Advantage to zone 5, 11 by 8 by 5 inches, in a Small Flat Rate box, priced by cubic tier. Quote total $12.10. It is ready to send.

Verdict: Blocked.

  • Flat Rate needs Priority Mail. Flat Rate packaging is a Priority Mail product; it cannot be used with USPS Ground Advantage.
  • Cubic pricing is for your own packaging. Cubic pricing applies to your own packaging; Flat Rate packaging has its own fixed price.

5. Flat Rate box on Ground Advantage: The agent resubmits after fixing the errors

The agent's request. Please quote a 8 lb parcel by Priority Mail to zone 5, 11 by 8 by 5 inches, in a Small Flat Rate box, priced by weight. Quote total $12.10. It is ready to send.

Verdict: Allowed.

  • Price summary. Price (USPS Notice 123 July 2,026 commercial, zone rates fitted): $12.1 total. Postage $12.1 (billable 8 lb, dimensional 0 lb, cubic tier 3) less 0 percent; nonstandard fees $0.0; extra services $0.0.

6. Signature services and stated total: A 12 lb Ground Advantage box with Signature Confirmation and Adult Signature and a low total

The agent's request. Please quote a 12 lb parcel by USPS Ground Advantage to zone 8, 20 by 16 by 12 inches, in its own box, priced by weight, with Signature Confirmation, Adult Signature. Quote total $84.02. It is ready to send.

Verdict: Blocked.

  • Stated total does not match. The stated quote total of $84.02 does not match the validator total of $93.36.
  • One signature service only. Signature Confirmation and Adult Signature cannot both be purchased on one parcel.

7. Signature services and stated total: The agent resubmits after fixing the errors

The agent's request. Please quote a 12 lb parcel by USPS Ground Advantage to zone 8, 20 by 16 by 12 inches, in its own box, priced by weight, with Signature Confirmation. Quote total $83.66. It is ready to send.

Verdict: Allowed.

  • Price summary. Price (USPS Notice 123 July 2,026 commercial, zone rates fitted): $83.66 total. Postage $58.51 (billable 24 lb, dimensional 24 lb, cubic tier 23) less 0 percent; nonstandard fees $21.0; extra services $4.15.

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 shipping agent prepares a USPS commercial parcel quote for a customer: Priority Mail or USPS Ground Advantage, zone, packaging, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of USPS service rules and limits and returns a verdict, every reason and the charges it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote a 78 lb parcel by Priority Mail to zone 6, 48 by 30 by 24 inches, in its own box. The shipper sends about 20,000 packages a year. The rest of the request is on screen. Quote total $615.25.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with eight findings, all in one answer. The stated quote total of $615.25 does not match the validator total of $683.61. Cubic pricing needs 0.5 cubic foot or less, 20 lb or less and no side over 18 in; this parcel is tier 200 (tenths of a cubic foot), 78 lb, longest side 48 in. 78 lb exceeds the 70 lb USPS maximum. The other five are on screen.
  6. The validator returned eight 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 and against the stated total.
  7. What this shows: for service limits that change when the service changes, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the service to USPS Ground Advantage, the pricing method to weight, the weight to 65 lb, the length to 30 in and the stated quote total to $168.24. Six more changes are on screen.
  10. It calls the validator again.
  11. Still blocked, with one finding and two approvals, all in one answer. Registered Mail is available with Priority Mail and First-Class Mail, not USPS Ground Advantage.
  12. Eight findings cleared, but the change brings a different blocking finding: Registered Mail is not on Ground Advantage.
  13. The agent resubmits once more.
  14. The revised request. It changes the Registered Mail to no, the declared value to $4,800, the contents to general, the negotiated discount requested to 0 percent and the stated quote total to $206.16.
  15. It calls the validator once more.
  16. This time the validator clears it.
  17. All three earlier findings are cleared.
  18. Eight problems caught in one call, fixed in two passes, and a clean $206.16 quote. That is the value of Predictika's validator: catching mistakes before they reach the customer.