Predictika · Paper cup and lid orders for beverages to go

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

An AI sales agent prepares an order for Huhtamaki paper cups for hot and cold drinks: the cup line and size, the matching lid, black lid versions, custom printing and the order quantities in boxes. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the published catalogue and returns a verdict, every reason and the figures it computed.

Scope: Huhtamaki paper cups for beverages to go (eight cup lines, nineteen cup sizes) and their lids: line and size, lid fit, black lids, custom printing and box quantities. See everything this validator covers

This validator models orders for the eight paper cup lines of the Poland catalogue (Coffee to go, White cup, Future Smart, Bioware, Go Nature, Impresso Mix, Impresso Natural and Sunrise) with the eleven lids of its lid chart, not just the scenarios shown below.

  • Cup line and size — each line is offered only in certain sizes (for example Bioware in SP4, SP6 and SP9 only), and the pieces per box follow from the line and size.
  • Lid fit and colour — the catalogue chart lists which cups each lid fits (63, 70, 74, 80 and 90 mm lids, molded fiber lids and the flat lid for cold cups); black versions exist only for five of the lids.
  • Options and stated totals — lids ordered without a lid selected or the reverse, custom printing and a Bioware cup with a lid the catalogue does not list as compostable (both sent for approval), and the cup and lid totals the quote states against the totals the pack sizes give.

Any order for these cups and lids that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (the catalogue lists none, so this validator produces no price build-up or line-item quote), pallet quantities, cup carriers, thermal wrappers, plastic and cold-drink cups, food containers and the North American range.

The AI sales agentBuilds the cup and lid 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 cupsOnly with workarounds
Each lid fits a different set of cup sizes; in a rules-based CPQ that becomes one compatibility rule per lid and size that someone keeps in step with the catalogue.
The fit table is part of one model, so any lid and any cup is checked with no extra rules.
Cup lines offered in only some sizesOnly with care
Each line has its own list of sizes, and the message has to say which sizes are valid for the line chosen.
The finding lists the valid sizes for whatever line was chosen.
Pieces per box that depend on line and sizeOnly with care
The pieces per box differ for every line and size, so a total is another table to maintain and compare with the figure the rep typed.
The totals come from the line and size and are compared with the stated totals on every call.
Options that exist only for some lidsOnly with care
A black version exists for five of the eleven lids; this is one more cross-check between two fields that someone has to write and maintain.
The restriction is part of the model and is checked on every call.
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 White cup line is offered only in SP4, SP6, SP8, SP9, SP14, SP16, DW9, DW12 and DW16 cups.
2The Future Smart line is offered only in SP4, SP6, SP8, SP9, SP80, SP14 and SP16 cups.
3The Bioware line is offered only in SP4, SP6 and SP9 cups.
4The Go Nature line is offered only in SP8, SP9, SP14 and SP16 cups.
5The Impresso Mix line is offered only in NDW9, NDW12 and NDW16 cups.
6The Sunrise line is offered only in DP12, DP16 and DP22 cups.
7The Coffee to go line is offered only in SP4, SP6, SP7, SP8, SP9, SP9V, SP80, SP14, SP16, SP20, DW9, DW12 and DW16 cups.
8Lid LTSB-HSL70 (70 mm) is not for this cup; the catalogue lists it for SP6 and SP8 cups.
9Lid LTSB-HSL63 (63 mm) is not for this cup; the catalogue lists it for SP4 cups.
10Lid LTSB-HSL74 (74 mm) is not for this cup; the catalogue lists it for SP7 and SP9V cups.
11Lid LISV90271 (90 mm) is not for this cup; the catalogue lists it for SP14, SP16, SP20, DW12, NDW12, DW16 and NDW16 cups.
12Lid LGMV800 (80 mm) is not for this cup; the catalogue lists it for SP9, SP80, DW9 and NDW9 cups.
13Lid LISV80291 (80 mm) is not for this cup; the catalogue lists it for SP9, SP80, DW9 and NDW9 cups.
14Lid LTSB-HSL80V-AB (80 mm) is not for this cup; the catalogue lists it for SP9, SP80, DW9 and NDW9 cups.
15Lid LGMV900 (90 mm) is not for this cup; the catalogue lists it for SP14, SP16, SP20, DW12, NDW12, DW16 and NDW16 cups.
16Lid LISV90291 (90 mm) is not for this cup; the catalogue lists it for SP14, SP16, SP20, DW12, NDW12, DW16 and NDW16 cups.
17The catalogue lists black versions only of the LTSB-HSL80V-AB, LISV80271, LISV80291, LISV90271 and LISV90291 lids; the selected lid has none.
18Black lids are selected but no lid is ordered.
192 lid boxes are ordered but no lid is selected.
20A lid is selected but no lid boxes are ordered.
21The quote states 1000 cups, but 1 boxes of 2000 cups each make 2000 cups.
22The quote states 500 lids, but 1 boxes of 1000 lids each make 1000 lids.
23The quote states 3500 cups, but 3 boxes of 1000 cups each make 3000 cups.
24The quote states 2500 lids, but 2 boxes of 1000 lids each make 2000 lids.
25Custom printing is offered for these cups, but the catalogue gives no artwork, minimum quantity or lead time; a person should confirm them with Huhtamaki.
26The Bioware cup is certified compostable (EN 13432), but the catalogue does not list this hot-drink lid as compostable; a person should confirm the lid if the order is sold as compostable.
27Lid LTSBF1196 (90 mm) is not for this cup; the catalogue lists it for DP12, DP16 and DP22 cups.
28The quote states 999 cups, but 1 boxes of 0 cups each make 0 cups.
29The Impresso Natural line is offered only in NDW9, NDW12 and NDW16 cups.
30Lid LISV80271 (80 mm) is not for this cup; the catalogue lists it for SP9, SP80, DW9 and NDW9 cups.

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. White cup SP7: A White cup SP7 order with a black 74 mm lid

The agent's request. Please quote 1 SP7 paper cup boxes from the White cup line, with 1 LTSB-HSL74 (74 mm) lid boxes in black. The quote states 3000 cups and 1000 lids. It is ready to send.

Verdict: Blocked.

  • Cup size not offered in this line. The White cup line is offered only in SP4, SP6, SP8, SP9, SP14, SP16, DW9, DW12 and DW16 cups.
  • No black version of this lid. The catalogue lists black versions only of the LTSB-HSL80V-AB, LISV80271, LISV80291, LISV90271 and LISV90291 lids; the selected lid has none.
  • Stated cup total differs from the pack size. The quote states 3000 cups, but 1 boxes of 0 cups each make 0 cups.

2. White cup SP7: The agent resubmits after fixing the errors

The agent's request. Please quote 1 SP7 paper cup boxes from the Coffee to go line, with 1 LTSB-HSL74 (74 mm) lid boxes. The quote states 3000 cups and 1000 lids. It is ready to send.

Verdict: Allowed.

  • Order totals. 1 cup boxes of 3000 cups make 3000 cups; 1 lid boxes of 1000 lids make 1000 lids.

3. Coffee to go SP16: Coffee to go SP16 cups with an 80 mm lid and a wrong cup total

The agent's request. Please quote 3 SP16 paper cup boxes from the Coffee to go line, with 2 LISV80271 (80 mm) lid boxes. The quote states 2500 cups and 2000 lids. It is ready to send.

Verdict: Blocked.

  • Lid does not fit this cup. Lid LISV80271 (80 mm) is not for this cup; the catalogue lists it for SP9, SP80, DW9 and NDW9 cups.
  • Stated cup total differs from the pack size. The quote states 2500 cups, but 3 boxes of 1000 cups each make 3000 cups.

4. Coffee to go SP16: The agent resubmits after fixing the errors

The agent's request. Please quote 3 SP16 paper cup boxes from the Coffee to go line, with 2 LISV90271 (90 mm) lid boxes. The quote states 3000 cups and 2000 lids. It is ready to send.

Verdict: Allowed.

  • Order totals. 3 cup boxes of 1000 cups make 3000 cups; 2 lid boxes of 1000 lids make 2000 lids.

5. Bioware order: Bioware SP14 cups with a lid and custom printing

The agent's request. Please quote 2 SP14 paper cup boxes from the Bioware line, with 1 LISV90271 (90 mm) lid boxes, with custom printing. The quote states 2000 cups and 1000 lids. It is ready to send.

Verdict: Blocked.

  • Cup size not offered in this line. The Bioware line is offered only in SP4, SP6 and SP9 cups.
  • Stated cup total differs from the pack size. The quote states 2000 cups, but 2 boxes of 0 cups each make 0 cups.
  • Custom printing on request. Custom printing is offered for these cups, but the catalogue gives no artwork, minimum quantity or lead time; a person should confirm them with Huhtamaki.
  • Compostable cup with a lid not listed as compostable. The Bioware cup is certified compostable (EN 13432), but the catalogue does not list this hot-drink lid as compostable; a person should confirm the lid if the order is sold as compostable.

6. Bioware order: The agent switches to the SP9 cup and keeps the lid and the printing

The agent's request. Please quote 2 SP9 paper cup boxes from the Bioware line, with 1 LISV80271 (80 mm) lid boxes, with custom printing. The quote states 2000 cups and 1000 lids. It is ready to send.

Verdict: Needs approval.

  • Custom printing on request. Custom printing is offered for these cups, but the catalogue gives no artwork, minimum quantity or lead time; a person should confirm them with Huhtamaki.
  • Compostable cup with a lid not listed as compostable. The Bioware cup is certified compostable (EN 13432), but the catalogue does not list this hot-drink lid as compostable; a person should confirm the lid if the order is sold as compostable.
  • Order totals. 2 cup boxes of 1000 cups make 2000 cups; 1 lid boxes of 1000 lids make 1000 lids.

7. Bioware order: The agent drops the lid and the printing and resubmits

The agent's request. Please quote 2 SP9 paper cup boxes from the Bioware line. The quote states 2000 cups. It is ready to send.

Verdict: Allowed.

  • Order totals. 2 cup boxes of 1000 cups make 2000 cups; 0 lid boxes of 0 lids make 0 lids.

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 paper cups for hot and cold drinks: the cup line and size, the matching lid, black lid versions, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the published catalogue 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 1 SP7 paper cup boxes from the White cup line, with 1 LTSB-HSL74 (74 mm) lid boxes in black. The quote states 3000 cups and 1000 lids. 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 white cup line is offered only in SP4, SP6, SP8, SP9, SP14, SP16, DW9, DW12 and DW16 cups. The catalogue lists black versions only of the LTSB-HSL80V-AB, LISV80271, LISV80291, LISV90271 and LISV90291 lids; the selected lid has none. The quote states 3000 cups, but 1 boxes of 0 cups each make 0 cups.
  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 and against the stated total.
  7. What this shows: for cup lines offered in only some sizes, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the cup line to coffee to go and the black lid to no.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All three earlier findings are cleared, and the validator's figure matches the quote.
  13. Three 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.