Predictika · Microcontroller order quotes

An AI sales agent's STM32 order quote, checked before it goes out

An AI sales agent prepares a line-item quote for an order of STM32 microcontrollers: the series, flash size, pin count, package, temperature grade, packing, the CPU frequency the application needs, the number of reels or trays, an extra discount, and the line total it states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the ordering rules and returns a verdict, every reason and the line total it computed.

Scope: Eight STM32 series (C0, G0, G4, F4, L4, U5, H5, H7): flash, pins, package, temperature grade, packing, frequency, volume tier, extra discount and the stated line total. See everything this validator covers

This validator models STM32 orders for eight series, not just the scenarios shown below.

  • Part and ordering code — the flash sizes and the maximum frequency of each series, the pin counts each series is orderable with, and which packages (LQFP, UFQFPN, WLCSP, UFBGA) exist at which pin counts.
  • Grade and packing — the temperature grades (suffix 6, 7 and 3) each series can take, WLCSP supplied on tape and reel only, and the pack size that turns reels or trays into units.
  • Volume, discount and total — the volume tier, an extra discount that needs a person above the tier and is blocked above 25 percent, orders of 100,000 units or more for a person to confirm, and the line total the agent states against the validator's own.

Any STM32 order that touches these rules is in scope — not only the scenarios pictured here. Not covered: STM32WB, WL, WBA, N6, U0 and U3, other families, STM8, sensors and development boards. Public versus modeled: the series names, their maximum frequencies and flash ranges follow the STMicroelectronics STM32 portfolio page and the standard ordering-code structure; every unit price (in micro-euros), the flash price multipliers, the volume tiers, pack sizes, the orderable pin, package and grade combinations and the approval thresholds are modeled by Predictika and are not STMicroelectronics prices or terms.

The AI sales agentBuilds the order 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.

6 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
Orderable combinations that depend on the seriesOnly with care
Pin counts, packages and temperature grades are each offered for some series and not others, so every combination needs its own rule tied to the series chosen in another field.
The series, pins, package and grade are fields of one order and are checked together on every call.
A frequency and flash range that depend on the seriesOnly with care
Each series has a different top frequency and flash range, so each limit needs a lookup of the series before the requirement is compared.
The series and the requirement are in one request and are compared on every call.
A line total that must equal the computed priceOnly with workarounds
The price is built from the series, the flash size, the units in the packs and the volume tier; checking a stated figure against it takes extra formulas that interact with the other rules.
The stated line total is a field of the request and is compared with the computed price.
Orders that should go to a person rather than be blockedOnly with care
Volume deals and discounts above the tier need a person, and sit beside a separate hard cap that must not overlap them.
Blocks and approvals come back together; approval-only orders are not blocked.
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.

1The application needs 200 MHz; this series runs at most 170 MHz.
2The application needs 64 MHz; this series runs at most 48 MHz.
3The application needs 700 MHz; this series runs at most 600 MHz.
41,024 KB of flash is outside the 32 to 512 KB range of this series.
5512 KB of flash is outside the 16 to 256 KB range of this series.
664 KB of flash is outside the 128 to 4,096 KB range of this series.
7100 KB is not a standard STM32 flash size (16, 32, 64, 128, 256, 384, 512, 768, 1024, 1536, 2,048 or 4,096 KB).
8A 144 pin package is not offered for this series.
9A 64 pin package is not offered for this series.
10This package type is not available with 100 pins.
11This package type is not available with 20 pins.
12This package type is not available with 48 pins.
13This package type is not available with 144 pins.
14The -40 to 125 C grade (suffix 3) is not offered for this series.
15WLCSP is not offered in the -40 to 125 C grade.
16WLCSP is supplied on tape and reel only.
17At least 1 reel or tray must be ordered; the quote has 0.
18An order of 100,000 units is a volume deal; a person should confirm availability and pricing.
19The requested discount of 15 percent is above the 10 percent volume tier; a person should approve it.
20A requested extra discount of 30 percent is above the 25 percent limit of this model.
21The requested discount of 25 percent is above the 10 percent volume tier; a person should approve it.
22The quote states a line total of 7,019,999,999 micro-euros; the modeled price gives 7,020,000,000.
23The quote states a line total of 7,410,000,000 micro-euros; the modeled price gives 7,020,000,000.
24The application needs 72 MHz; this series runs at most 48 MHz.
25An order of 150,000 units is a volume deal; a person should confirm availability and pricing.
26The requested discount of 22 percent is above the 20 percent volume tier; a person should approve it.

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. A part the series cannot give: An STM32C0 order with 512 KB of flash, a 72 MHz requirement and the 125 C grade

The agent's request. Please quote an order of STM32C0 microcontrollers in a 32-pin UFQFPN package with 512 KB of flash, in the -40 to 125 C (suffix 3) grade, as 2 reels on tape and reel, for an application that needs 72 MHz, for a line total of 7,344.00 euros. It is ready to send.

Verdict: Blocked.

  • Flash outside the series range. 512 KB of flash is outside the 16 to 256 KB range of this series.
  • Temperature grade 3 not offered for the series. The -40 to 125 C grade (suffix 3) is not offered for this series.
  • Required frequency above the series maximum. The application needs 72 MHz; this series runs at most 48 MHz.

2. A part the series cannot give: The agent resubmits after fixing the errors

The agent's request. Please quote an order of STM32G4 microcontrollers in a 32-pin UFQFPN package with 512 KB of flash, in the -40 to 125 C (suffix 3) grade, as 2 reels on tape and reel, for an application that needs 72 MHz, for a line total of 47,736.00 euros. It is ready to send.

Verdict: Allowed.

  • Order summary. 6,000 units (2 packs of 3,000) at a unit price of 7,956,000 micro-euros after a 10 percent volume tier, line total of 47,736,000,000 micro-euros (illustrative modeled prices, before taxes and freight).

3. WLCSP in trays and no packs: A WLCSP order in trays in the 125 C grade with no packs ordered

The agent's request. Please quote an order of STM32G0 microcontrollers in a 48-pin WLCSP package with 64 KB of flash, in the -40 to 125 C (suffix 3) grade, as 0 trays on trays, for an application that needs 64 MHz, for a line total of 0.00 euros. It is ready to send.

Verdict: Blocked.

  • WLCSP with the 125 C grade. WLCSP is not offered in the -40 to 125 C grade.
  • WLCSP in trays. WLCSP is supplied on tape and reel only.
  • No packs ordered. At least 1 reel or tray must be ordered; the quote has 0.

4. WLCSP in trays and no packs: The agent resubmits after fixing the errors

The agent's request. Please quote an order of STM32G0 microcontrollers in a 48-pin WLCSP package with 64 KB of flash, in the -40 to 85 C (suffix 6) grade, as 1 reel on tape and reel, for an application that needs 64 MHz, for a line total of 4,050.00 euros. It is ready to send.

Verdict: Allowed.

  • Order summary. 5,000 units (1 packs of 5,000) at a unit price of 810,000 micro-euros after a 10 percent volume tier, line total of 4,050,000,000 micro-euros (illustrative modeled prices, before taxes and freight).

5. Volume deal with an extra discount: An order of 100 reels with a 22 percent extra discount

The agent's request. Please quote an order of STM32G4 microcontrollers in a 64-pin LQFP package with 128 KB of flash, in the -40 to 85 C (suffix 6) grade, as 100 reels on tape and reel, for an application that needs 100 MHz, with a requested extra discount of 22 percent, for a line total of 7,020.00 euros. It is ready to send.

Verdict: Blocked.

  • Stated total does not match. The quote states a line total of 7,019,999,999 micro-euros; the modeled price gives 312,000,000,000.
  • Volume of 100,000 units or more. An order of 100,000 units is a volume deal; a person should confirm availability and pricing.
  • Extra discount above the volume tier. The requested discount of 22 percent is above the 20 percent volume tier; a person should approve it.

6. Volume deal with an extra discount: The agent resubmits after fixing the errors

The agent's request. Please quote an order of STM32G4 microcontrollers in a 64-pin LQFP package with 128 KB of flash, in the -40 to 85 C (suffix 6) grade, as 100 reels on tape and reel, for an application that needs 100 MHz, with a requested extra discount of 22 percent, for a line total of 312,000.00 euros. It is ready to send.

Verdict: Needs approval.

  • Volume of 100,000 units or more. An order of 100,000 units is a volume deal; a person should confirm availability and pricing.
  • Extra discount above the volume tier. The requested discount of 22 percent is above the 20 percent volume tier; a person should approve it.
  • Order summary. 100,000 units (100 packs of 1,000) at a unit price of 3,120,000 micro-euros after a 20 percent volume tier, line total of 312,000,000,000 micro-euros (illustrative modeled prices, before taxes and freight).

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 a line-item quote for an order of STM32 microcontrollers: the series, flash size, pin count, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the ordering rules and returns a verdict, every reason and the line total it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote an order of STM32C0 microcontrollers in a 32-pin UFQFPN package with 512 KB of flash, in the -40 to 125 C (suffix 3) grade. It is ready to send. 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. 512 KB of flash is outside the 16 to 256 KB range of this series. The -40 to 125 C grade (suffix 3) is not offered for this series. The application needs 72 MHz; this series runs at most 48 MHz.
  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 frequency and flash range that depend on the series, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the series to STM32G4 and the stated line total to 47,736.00.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All three earlier findings are cleared, and the validator's total, 47,736.00 euros, 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. Now you can try the other scenarios yourself.