Predictika · Pharmaceutical excipient orders

An AI sales agent's Klucel HPC excipient order, checked before it goes out

An AI sales agent prepares an order for Ashland Klucel HPC Pharm (hydroxypropylcellulose) for a fictional drug-product maker: the viscosity grade, regular or fine particle size, what the polymer is for, the use level in the batch, the 100-lb and 10-lb drums, a discount, and the net price it states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the Klucel Pharm line and returns a verdict, every reason, a line-item quote and the figures it computed. Prices on this page are illustrative.

Scope: Ashland Klucel HPC Pharm excipient orders: grades ELF, EF, LF, JF, GF, MF and HF, regular or fine (X) particle size, use level, 100-lb and 10-lb drums. See everything this validator covers

This validator models orders for Klucel hydroxypropylcellulose (HPC) Pharm grades, not just the scenarios shown below. The grade names, the fine (X) particle size, the drum sizes and the typical use levels come from public Ashland documents. Which grade is suited to which use beyond those statements, the other level limits, the small-drum limit, the discount and approval thresholds and every price are modeled from comparable excipients; they are not Ashland-published rules or prices.

  • Grades and use — the seven viscosity types (ELF, EF, LF, JF, GF, MF, HF), checked against what the polymer is for: immediate-release binder, film coating, controlled-release matrix tablet or hot-melt extrusion, with lower-viscosity grades for binders and coatings and higher-viscosity grades for matrices and extrusion.
  • Particle size and use level — the fine (X) particle size, which is not listed for ELF, and the percent of the batch the polymer makes up, against the range for the use (binders 2 to 6 percent, matrix tablets 15 to 35 percent); the pounds ordered must cover the batch.
  • Drums and discounts — 100-lb and 10-lb drums, a limit on small drums, a volume discount that needs at least 1,000 lb, a sales-agent limit that sends larger discounts to sales management, and large or fine-grade orders that need supply confirmation.
  • Illustrative prices — a price per pound by grade, a fine-grade surcharge and a small-drum premium produce a line-item quote and a net price, and the net price the agent states must equal the computed one.

Any Klucel HPC Pharm order that touches these rules is in scope — not only the scenarios pictured here. Not covered: other Ashland products (Natrosol, Benecel, Plasdone and others), industrial and food grades, regulatory documents, shipping and taxes. Prices are illustrative and are not Ashland prices.

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

8 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
Grade that must suit the intended use (binder, film coating, matrix, extrusion)Only with care
A compatibility table of seven grades against four uses. It works, but each new grade or use adds rows that must be kept in step.
The grade and the use are in one request and checked together on every call.
Use level that must fall in the range for the use, and the quantity must cover the batchOnly with workarounds
The range depends on the use, and the pounds needed depend on the batch weight and the level on other lines, so it needs a cross-line rule.
Level, batch weight and pounds ordered are computed together.
Fine particle size, which is not listed for every gradeOnly with care
A product rule per grade and per use. Easy to miss when a new fine grade is added.
The fine-size options come from the same model as the grades.
Discounts that depend on volume and send larger ones to sales managementOnly with workarounds
A volume threshold and an approval threshold on the same field, interacting with drum sizes and totals.
Pounds, drums, discount and approval are checked in one pass.
Stated net price that must equal the computed priceOnly with care
A validation rule can compare a stated figure with a calculated one only if the stated figure is a field on the quote, which it rarely is.
The stated price travels with the order and is compared with the computed one on every call.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the quote is saved or a step is completed, so a person 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 grade ordered is not modeled as suitable for the intended use; binders and film coatings use the lower-viscosity grades, matrix tablets and hot-melt extrusion use the higher-viscosity grades.
2A use level of 7 percent is outside the 2 to 6 percent range for this use.
3A use level of 1 percent is outside the 2 to 6 percent range for this use.
4A use level of 14 percent is outside the 15 to 35 percent range for this use.
5A use level of 36 percent is outside the 15 to 35 percent range for this use.
6The fine (X) particle size is not listed for the ELF grade; ELF Pharm is supplied in the regular particle size only.
7The fine (X) particle size is modeled for dry binding and matrix use; a film coating order uses the regular particle size.
8At 6 percent of 20,000 lb of batch weight the polymer needed is more than the 1,020 lb ordered.
9The order has 11 ten-pound drums; this model limits 10-lb drums to 10 per order, larger quantities go in 100-lb drums.
10The order has no drums; at least one drum is needed.
11At 4 percent of 5,000 lb of batch weight the polymer needed is more than the 0 lb ordered.
12A volume discount of 5 percent needs at least 1,000 lb on the order; the order has 990 lb.
13A discount of 6 percent is above the 5 percent a sales agent can give; sales management should approve it.
14A discount of 16 percent is above the 15 percent maximum this model allows.
15A discount of 15 percent is above the 5 percent a sales agent can give; sales management should approve it.
16An order of 10,000 lb is large enough that supply and lead time should be confirmed by a person.
17A fine (X) grade order of 2,000 lb should have its lead time confirmed by a person.
18The quote states a net price of $56,301.00; the modeled price list gives $56,300.00.
19The quote states a net price of $56,299.00; the modeled price list gives $56,300.00.
20A use level of 9 percent is outside the 2 to 6 percent range for this use.

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. Grade and use level: Binder order with a high-viscosity grade, a high level and a total that leaves out the small-drum premium

The agent's request. Please quote 10 100-lb drums and 2 10-lb drums of Klucel HF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 8 percent of 6,000-lb batches. The quote states a net price of $81,600.00. It is ready to send.

Verdict: Blocked.

  • Grade not suited to the intended use. The grade ordered is not modeled as suitable for the intended use; binders and film coatings use the lower-viscosity grades, matrix tablets and hot-melt extrusion use the higher-viscosity grades.
  • Use level outside the range. A use level of 8 percent is outside the 2 to 6 percent range for this use.
  • Stated net price does not match. The quote states a net price of $81,600.00; the modeled price list gives $81,800.00.

2. Grade and use level: The agent resubmits after fixing the errors

The agent's request. Please quote 10 100-lb drums and 2 10-lb drums of Klucel EF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 5 percent of 6,000-lb batches. The quote states a net price of $56,300.00. It is ready to send.

Verdict: Allowed.

  • Order summary. 1,020 lb ordered in 12 drum(s); estimated net price of $56,300.00 at the illustrative price list.

3. Matrix tablets and fine grades: Matrix tablet order with the use level too high and a wrong total

The agent's request. Please quote 24 100-lb drums of Klucel HF Pharm hydroxypropylcellulose, regular particle size, for use as a controlled-release matrix tablet polymer at 40 percent of 3,000-lb batches. The quote states a net price of $180,000.00. It is ready to send.

Verdict: Blocked.

  • Use level outside the range. A use level of 40 percent is outside the 15 to 35 percent range for this use.
  • Stated net price does not match. The quote states a net price of $180,000.00; the modeled price list gives $192,000.00.

4. Matrix tablets and fine grades: The agent resubmits after fixing the errors

The agent's request. Please quote 24 100-lb drums of Klucel HXF Pharm hydroxypropylcellulose, fine particle size, for use as a controlled-release matrix tablet polymer at 30 percent of 3,000-lb batches. The quote states a net price of $206,400.00. It is ready to send.

Verdict: Needs approval.

  • Large fine-grade order. A fine (X) grade order of 2,400 lb should have its lead time confirmed by a person.
  • Order summary. 2,400 lb ordered in 24 drum(s); estimated net price of $206,400.00 at the illustrative price list.

5. Matrix tablets and fine grades: The agent resubmits after fixing the errors

The agent's request. Please quote 19 100-lb drums of Klucel HXF Pharm hydroxypropylcellulose, fine particle size, for use as a controlled-release matrix tablet polymer at 30 percent of 3,000-lb batches. The quote states a net price of $163,400.00. It is ready to send.

Verdict: Allowed.

  • Order summary. 1,900 lb ordered in 19 drum(s); estimated net price of $163,400.00 at the illustrative price list.

6. Volume discount and small drums: Discount on an order of mostly small drums, with a total that leaves out the small-drum premium

The agent's request. Please quote 8 100-lb drums and 12 10-lb drums of Klucel EF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 4 percent of 8,000-lb batches, with a 10 percent discount. The quote states a net price of $45,540.00. It is ready to send.

Verdict: Blocked.

  • Too many 10-lb drums. The order has 12 ten-pound drums; this model limits 10-lb drums to 10 per order, larger quantities go in 100-lb drums.
  • Discount below the volume threshold. A volume discount of 10 percent needs at least 1,000 lb on the order; the order has 920 lb.
  • Stated net price does not match. The quote states a net price of $45,540.00; the modeled price list gives $46,620.00.
  • Discount needs sales management. A discount of 10 percent is above the 5 percent a sales agent can give; sales management should approve it.

7. Volume discount and small drums: The agent resubmits after fixing the errors

The agent's request. Please quote 14 100-lb drums and 8 10-lb drums of Klucel EF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 4 percent of 8,000-lb batches, with a 10 percent discount. The quote states a net price of $73,980.00. It is ready to send.

Verdict: Needs approval.

  • Discount needs sales management. A discount of 10 percent is above the 5 percent a sales agent can give; sales management should approve it.
  • Order summary. 1,480 lb ordered in 22 drum(s); estimated net price of $73,980.00 at the illustrative price list.

8. Volume discount and small drums: The agent resubmits after fixing the errors

The agent's request. Please quote 14 100-lb drums and 8 10-lb drums of Klucel EF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 4 percent of 8,000-lb batches, with a 5 percent discount. The quote states a net price of $78,090.00. It is ready to send.

Verdict: Allowed.

  • Order summary. 1,480 lb ordered in 22 drum(s); estimated net price of $78,090.00 at the illustrative price list.

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 Ashland Klucel HPC Pharm (hydroxypropylcellulose) for a fictional drug-product maker: the viscosity grade, regular or fine particle size, what the polymer is for, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the Klucel Pharm line and returns a verdict, every reason, a line-item quote and the figures it computed. Prices on this page are illustrative.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote 8 100-lb drums and 12 10-lb drums of Klucel EF Pharm hydroxypropylcellulose, regular particle size, for use as an immediate-release tablet binder at 4 percent of 8,000-lb batches. The quote states a net price of $45,540.00. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with three findings and one approval, all in one answer. The order has 12 ten-pound drums; this model limits 10-lb drums to 10 per order, larger quantities go in 100-lb drums. A volume discount of 10 percent needs at least 1,000 lb on the order; the order has 920 lb. The quote states a net price of $45,540.00; the modeled price list gives $46,620.00.
  6. The validator returned three blocking findings and one approval 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 discounts that depend on volume and send larger ones to sales management, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the 100-lb drums to 14, the 10-lb drums to 8 and the stated net price to $73,980.00.
  10. It calls the validator again.
  11. Not blocked, but held for a person.
  12. The validator also returns the line-item quote, on screen.
  13. The three blocking findings are cleared; one approval remains for a person: discount needs sales management.
  14. The agent resubmits once more.
  15. The revised request. It changes the discount to 5 percent and the stated net price to $78,090.00.
  16. It calls the validator once more.
  17. This time the validator clears it.
  18. The validator also returns the line-item quote, on screen.
  19. The earlier finding is cleared, and the validator's total, $78,090.00, matches the quote.
  20. Four problems caught in one call, fixed in two passes, and a clean $78,090.00 quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.