Predictika · USPS commercial parcel shipping
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.
This validator models USPS commercial single-package quotes, not just the scenarios shown below.
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.
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 shipping 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 |
|---|---|---|
| Service limits that change when the service changes | Only 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 other | Only 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 fees | Only 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 eligibility | Only 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 states | Only 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 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 | 10 percent negotiated discount needs USPS service-agreement approval. |
| 2 | Standalone lithium batteries must be marked and packed per USPS hazardous-materials rules; hazmat review before acceptance. |
| 3 | Flat Rate packaging is a Priority Mail product; it cannot be used with USPS Ground Advantage. |
| 4 | Cubic 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. |
| 5 | 75 lb exceeds the 70 lb USPS maximum. |
| 6 | Length plus girth 116 in exceeds the 108 in maximum for Priority Mail. |
| 7 | Registered Mail is available with Priority Mail and First-Class Mail, not USPS Ground Advantage. |
| 8 | Signature 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. |
| 10 | Lithium batteries shipped alone are surface-only; Priority Mail moves by air. Use USPS Ground Advantage. |
| 11 | Cubic pricing applies to your own packaging; Flat Rate packaging has its own fixed price. |
| 12 | A 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. |
| 13 | The stated quote total of $79.48 does not match the validator total of $83.66. |
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 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.
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.
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.
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.
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.
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.
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.
The text of the narrated walkthrough, step by step.