Predictika · Foodservice packaging orders

An AI sales agent's hot cup and lid order, checked before it goes out

An AI sales agent prepares an order for Huhtamaki single-wall hot cups and lids from the public product sheet: the cup size, lid style and colour, case counts, any USA-made requirement and custom printing. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the sheet's published data and returns a verdict, every reason and the figures it computed.

Scope: Huhtamaki North America single-wall hot cups and their lids: cup size, lid fit, case counts, USA-made need and shipment weight. See everything this validator covers

This validator models orders for the six Huhtamaki single-wall hot cups (4 to 20 oz) and the eight plastic lids listed in the public single-wall hot cups sheet (Q1 2026), not just the scenarios shown below.

  • Cups and lids — the 4, 8, 10 squat, 12, 16 and 20 oz white cups and the flat, dome, reclose and tearback lids in white or black, with the lid that fits each cup size: the 4 oz flat lid, the 8 oz dome lid, and the 10s-24 oz lids for the 10 oz squat to 20 oz cups.
  • Cases and weights — each item's case pack (1,000, or 600 for the 20 oz cup) and case weight, giving the pieces and the shipment weight of an order, which must stay within the shipping limit and equal any weight the quote states.
  • Lid count and origin — a lid for every cup when the customer wants one, and the sheet's note that the 4 oz cup, the 4 oz flat lid and the tearback lid are not made in the USA when the order must be USA-made.
  • Custom printing — the sheet says custom printing is available but gives no terms, so a person confirms them.

Any order for these cups and lids that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (the sheet lists none, so this validator produces no price build-up or line-item quote), double-wall and other cups, molded fiber lids, sleeves, custom print specifications, pallet planning and lead times. Assumptions: a lid for every cup is a customer requirement the quote can turn off; the shipping limit is a figure the quote receives from the customer; case weights are those printed on the sheet.

The AI sales agentBuilds the hot cup 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
Lids that fit only some cup sizesOnly with care
A compatibility table of every lid against every cup, kept in step with the sheet; a wrong pairing is easy to let through.
The lid is checked against the cup size on every call, with all the other rules.
Shipment weight built from case weights and case countsOnly with workarounds
The weight is a sum over two lines of different case packs, compared with a limit that comes from the customer, so it needs extra fields and rules.
Pieces and weight are computed from the cases and compared with the limit on every call.
A stated weight that disagrees with the computed weightOnly with workarounds
The figure the agent states is free text or a separate field, so it takes an extra rule that compares it with the computed weight.
The stated figure is part of the request and is compared with the computed weight on every call.
Origin notes that apply to only three itemsOnly with care
A flag on each affected item and a rule that fires only when the customer needs USA-made goods.
The flag travels with the item and the customer need is checked on every call.
Custom printing that needs a person to confirm termsOnly with care
This is not an error but needs sign-off, and an approval step is easy to leave out.
The approval is raised when the order asks for it, and the order cannot be released until it is approved.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the order 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.

1The chosen lid does not fit the chosen cup; the sheet pairs the 4 oz cup with the 4 oz flat lid, the 8 oz cup with the 8 oz dome lid, and the 10 oz squat, 12, 16 and 20 oz cups with the 10s-24 oz lids.
2The order has 0 cases of cups; at least 1 is needed.
3The order has 59,000 lids for 60,000 cups; every cup is to have a lid.
4The order has 99,000 lids for 100,000 cups; every cup is to have a lid.
5The order must be made in the USA, but the sheet marks the 4 oz cup, the 4 oz flat lid and the tearback lid as not made in the USA.
6The shipment weighs 3,549.00 lb; the limit is 3,548.00 lb.
7The shipment weighs 12,549.00 lb; the limit is 8,000.00 lb.
8The quote states a shipment weight of 3,548.99 lb; the case weights on the sheet give 3,549.00 lb.
9The quote states a shipment weight of 2,566.00 lb; the case weights on the sheet give 3,549.00 lb.
10The sheet says custom printing is available but gives no minimums, artwork rules or lead times; a person should confirm them.
11The order has 200,000 lids for 300,000 cups; every cup is to have a lid.
12The shipment weighs 4,638.00 lb; the limit is 1,000.00 lb.
13The quote states a shipment weight of 0.01 lb; the case weights on the sheet give 4,638.00 lb.

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. Lid fit and shipment weight: A coffee shop group order of 12 oz cups with the wrong lid size

The agent's request. Please quote 200 cases (200,000 cups) of white single-wall 12 oz hot cups with 200 cases (200,000) of white plastic dome lids (8 oz). The shipping limit is 9,000 lb, and the quote states a shipment weight of 5,132.00 lb. It is ready to send.

Verdict: Blocked.

  • Lid does not fit the cup. The chosen lid does not fit the chosen cup; the sheet pairs the 4 oz cup with the 4 oz flat lid, the 8 oz cup with the 8 oz dome lid, and the 10 oz squat, 12, 16 and 20 oz cups with the 10s-24 oz lids.
  • Stated weight does not match. The quote states a shipment weight of 5,132.00 lb; the case weights on the sheet give 6,794.00 lb.

2. Lid fit and shipment weight: The agent resubmits after fixing the errors

The agent's request. Please quote 200 cases (200,000 cups) of white single-wall 12 oz hot cups with 200 cases (200,000) of white plastic dome lids (10s-24 oz). The shipping limit is 9,000 lb, and the quote states a shipment weight of 7,098.00 lb. It is ready to send.

Verdict: Allowed.

  • Order summary. 200,000 cups in 200 cases and 200,000 lids in 200 cases, total shipment weight of 7,098.00 lb.

3. USA-made need and custom printing: A stadium concession order of custom printed 4 oz cups for USA-made supply

The agent's request. Please quote 300 cases (300,000 cups) of white single-wall 4 oz hot cups with 300 cases (300,000) of white plastic flat lids (4 oz). The order must be made in the USA. The customer wants custom printing. The shipping limit is 8,000 lb, and the quote states a shipment weight of 4,299.00 lb. It is ready to send.

Verdict: Blocked.

  • Item not made in the USA. The order must be made in the USA, but the sheet marks the 4 oz cup, the 4 oz flat lid and the tearback lid as not made in the USA.
  • Custom printing terms to confirm. The sheet says custom printing is available but gives no minimums, artwork rules or lead times; a person should confirm them.

4. USA-made need and custom printing: The agent resubmits after fixing the errors

The agent's request. Please quote 300 cases (300,000 cups) of white single-wall 8 oz hot cups with 300 cases (300,000) of white plastic dome lids (8 oz). The order must be made in the USA. The customer wants custom printing. The shipping limit is 8,000 lb, and the quote states a shipment weight of 7,383.00 lb. It is ready to send.

Verdict: Needs approval.

  • Custom printing terms to confirm. The sheet says custom printing is available but gives no minimums, artwork rules or lead times; a person should confirm them.
  • Order summary. 300,000 cups in 300 cases and 300,000 lids in 300 cases, total shipment weight of 7,383.00 lb.

5. USA-made need and custom printing: The agent resubmits after fixing the errors

The agent's request. Please quote 300 cases (300,000 cups) of white single-wall 8 oz hot cups with 300 cases (300,000) of white plastic dome lids (8 oz). The order must be made in the USA. The shipping limit is 8,000 lb, and the quote states a shipment weight of 7,383.00 lb. It is ready to send.

Verdict: Allowed.

  • Order summary. 300,000 cups in 300 cases and 300,000 lids in 300 cases, total shipment weight of 7,383.00 lb.

6. Lid count and truck limit: A university dining order of 16 oz cups with fewer lids than cups on a loaded truck

The agent's request. Please quote 150 cases (150,000 cups) of white single-wall 16 oz hot cups with 120 cases (120,000) of black plastic reclose dome lids (10s-24 oz). The shipping limit is 5,900 lb, and the quote states a shipment weight of 5,979.60 lb. It is ready to send.

Verdict: Blocked.

  • Fewer lids than cups. The order has 120,000 lids for 150,000 cups; every cup is to have a lid.
  • Shipment too heavy. The shipment weighs 5,979.60 lb; the limit is 5,900.00 lb.

7. Lid count and truck limit: The agent resubmits after fixing the errors

The agent's request. Please quote 140 cases (140,000 cups) of white single-wall 16 oz hot cups with 140 cases (140,000) of black plastic reclose dome lids (10s-24 oz). The shipping limit is 5,900 lb, and the quote states a shipment weight of 5,856.20 lb. It is ready to send.

Verdict: Allowed.

  • Order summary. 140,000 cups in 140 cases and 140,000 lids in 140 cases, total shipment weight of 5,856.20 lb.

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 Huhtamaki single-wall hot cups and lids from the public product sheet: the cup size, lid style and colour, case counts, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the sheet's published data and returns a verdict, every reason and the figures it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 200 cases (200,000 cups) of white single-wall 12 oz hot cups with 200 cases (200,000) of white plastic dome lids (8 oz). The shipping limit is 9,000 lb, and the quote states a shipment weight of 5,132.00 lb. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. The chosen lid does not fit the chosen cup; the sheet pairs the 4 oz cup with the 4 oz flat lid, the 8 oz cup with the 8 oz dome lid, and the 10 oz squat, 12, 16 and 20 oz cups with the 10s-24 oz lids. The quote states a shipment weight of 5,132.00 lb; the case weights on the sheet give 6,794.00 lb.
  6. The validator returned two 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 lids that fit only some cup sizes, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the lid to White plastic dome lids (10s-24 oz) and the stated shipment weight to 7,098.00 lb.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. Both earlier findings are cleared, and the validator's figure matches the quote.
  13. Two problems caught in one call, fixed in one pass, 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.