Predictika · Veterinary clinic order quotes

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

An AI sales agent prepares a veterinary clinic's order quote for one dog, with the dog's weight and age, the parasite, itch and osteoarthritis products, the size or strength of each, the clinic's tier discount and the net total the quote states. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the product and ordering rules and returns a verdict, every reason and the net total it computed.

Scope: Canine clinic order quotes: Simparica Trio, Cytopoint, Apoquel and Librela for one dog, the size or strength that fits its weight, age and weight limits, the product combination, the clinic tier discount and the net total the quote states. See everything this validator covers

This validator models canine clinic order quotes for these four products, not just the scenarios shown below.

  • Products and sizes — Simparica Trio, Cytopoint, Apoquel and Librela, the size or strength that fits the dog's weight, the doses, vials, tablets and days ordered, and the minimum age and weight for each product.
  • Combinations — Cytopoint and Apoquel quoted together, Librela for a breeding dog, and an order with no product at all.
  • Price and referrals — the clinic tier discount, the discount limit, the net total stated against the net total computed, and a person's review for the combined itch treatment and for a discount above the clinic tier.

Any canine clinic order that touches these rules is in scope — not only the scenarios pictured here. Not covered: other Zoetis products, other species and dispensing records. Only the four product names and their canine uses are Zoetis's; the size and strength tables, the dose ranges, the minimum weights, the clinic tiers, the discount limits and every price are modeled from comparable veterinary products and are not published by Zoetis, so they are illustrative. Always follow the product labels for real dosing.

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

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
A size or strength that depends on the dog's weightOnly with care
The Simparica Trio size, the Cytopoint vial and the Librela vial each follow bands of the dog's weight, and an Apoquel dose must stay inside a range per pound.
The weight and each size are fields of one request and are checked together on every call.
Age and weight limits for each productOnly with care
Simparica Trio, Apoquel, Cytopoint and Librela each have a minimum age or weight, so every rule must test the dog as well as the product.
Each limit is a separate finding, and all of them are returned together.
Doses, vials and days that must be orderedOnly with workarounds
A product ordered with no doses, no vials or no days is an empty line, and a dose is the product of a strength and a count, so a rule must compute it before comparing it with a range.
The counts and strengths are fields of the request and the dose is computed from them on every call.
A stated net total that must match the build-upOnly with workarounds
The net total chains the products, the doses, the days and the discount, so a separate rule must recompute it and compare it with the stated figure.
The stated total is a field of the request and is compared with the computed total on every call.
Referrals for combinations and tier discountsOnly with workarounds
A review depends on the products together and on the discount against the clinic tier, on top of the blocking rules.
The referrals are separate findings returned together with the blocking ones.

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 order has no product; choose Simparica Trio, Cytopoint, Apoquel or Librela.
2Simparica Trio is for puppies of at least 8 weeks; this dog is 7 weeks old.
3Simparica Trio is for dogs of at least 2.8 lb; this dog weighs 2.7 pounds.
4The largest Simparica Trio size covers up to 132 lb; this dog weighs 132.1 pounds.
5The quoted Simparica Trio size tops out at 22 pounds; this dog needs the size topping out at 44 pounds.
6The quoted Simparica Trio size tops out at 44 pounds; this dog needs the size topping out at 88 pounds.
7Simparica Trio is ordered with 0 monthly doses; at least 1 is needed.
8Cytopoint is quoted for a dog of 4.3 pounds; this model starts at 4.4 lb.
9The Cytopoint vials give 10 mg; that is more than 1.8 mg per pound for this weight.
10The Cytopoint vials give 30 mg; the dose for this weight is at least 0.9 mg per pound.
11The Cytopoint vials give 80 mg; that is more than 1.8 mg per pound for this weight.
12The Apoquel daily dose is 16 mg, above 0.27 mg per pound for this weight.
13Apoquel is for dogs of at least 12 months; this dog is 51 weeks old.
14Apoquel is ordered for 0 days; at least 1 day is needed.
15The quoted Librela vial is 15 mg; this weight needs the 20 mg vial.
16Librela is not for breeding, pregnant or lactating dogs.
17Librela is for dogs of at least 5.5 lb; this dog weighs 5.4 pounds.
18Librela is ordered with 0 vials; at least 1 is needed.
19Cytopoint and Apoquel are quoted together; a veterinarian should confirm the combined itch treatment.
20The discount of $10 is above what this clinic tier allows (5 percent of gross); a sales manager should approve it.
21The discount of $28 is above what this clinic tier allows (10 percent of gross); a sales manager should approve it.
22The discount of $29 is more than 15 percent of the gross $189.
23The quote states a net total of $1; the modeled prices give $189.
24The Apoquel daily dose is 3.6 mg, below 0.18 mg per pound for this weight.

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. Three products for a 40 pound dog: A clinic order for a 40 pound dog with Simparica Trio, Cytopoint and Librela and a larger discount

The agent's request. Please quote an order for a 40 pound dog that is 104 weeks old: Simparica Trio (22 pound size, six monthly doses), Cytopoint (one 20 mg vial) and Librela (three 10 mg vials). The clinic is on the Preferred tier and the discount is $70. The net total stated on the quote is $465. It is ready to send.

Verdict: Blocked.

  • Simparica Trio size does not fit the weight. The quoted Simparica Trio size tops out at 22 pounds; this dog needs the size topping out at 44 pounds.
  • Cytopoint dose too low. The Cytopoint vials give 20 mg; the dose for this weight is at least 0.9 mg per pound.
  • Librela vial does not fit the weight. The quoted Librela vial is 10 mg; this weight needs the 20 mg vial.
  • Discount over 15 percent. The discount of $70 is more than 15 percent of the gross $391.
  • Stated net total does not match. The quote states a net total of $465; the modeled prices give $321.

2. Three products for a 40 pound dog: The agent resubmits after fixing the errors

The agent's request. Please quote an order for a 40 pound dog that is 104 weeks old: Simparica Trio (44 pound size, six monthly doses), Cytopoint (one 40 mg vial) and Librela (three 20 mg vials). The clinic is on the Preferred tier and the discount is $24. The net total stated on the quote is $465. It is ready to send.

Verdict: Allowed.

  • Order summary. Gross $489, net $465 after discount.

3. Apoquel and Librela for a 60 pound dog: A clinic order for a 60 pound dog with Apoquel and Librela

The agent's request. Please quote an order for a 60 pound dog that is 156 weeks old: Apoquel (one 3.6 mg tablet a day for 30 days) and Librela (two 20 mg vials). The clinic is on the Standard tier. The net total stated on the quote is $360. It is ready to send.

Verdict: Blocked.

  • Apoquel daily dose too low. The Apoquel daily dose is 3.6 mg, below 0.18 mg per pound for this weight.
  • Librela vial does not fit the weight. The quoted Librela vial is 20 mg; this weight needs the 30 mg vial.
  • Stated net total does not match. The quote states a net total of $360; the modeled prices give $260.

4. Apoquel and Librela for a 60 pound dog: The agent resubmits after fixing the errors

The agent's request. Please quote an order for a 60 pound dog that is 156 weeks old: Apoquel (one 16 mg tablet a day for 30 days) and Librela (two 30 mg vials). The clinic is on the Standard tier. The net total stated on the quote is $360. It is ready to send.

Verdict: Allowed.

  • Order summary. Gross $360, net $360 after discount.

5. Itch treatment for a 30 pound dog: A clinic order for a 30 pound dog with Cytopoint and Apoquel together

The agent's request. Please quote an order for a 30 pound dog that is 80 weeks old: Cytopoint (one 20 mg vial) and Apoquel (one 16 mg tablet a day for 30 days). The clinic is on the Preferred tier and the discount is $10. The net total stated on the quote is $115. It is ready to send.

Verdict: Blocked.

  • Cytopoint dose too low. The Cytopoint vials give 20 mg; the dose for this weight is at least 0.9 mg per pound.
  • Apoquel daily dose too high. The Apoquel daily dose is 16 mg, above 0.27 mg per pound for this weight.
  • Stated net total does not match. The quote states a net total of $115; the modeled prices give $165.
  • Cytopoint and Apoquel together. Cytopoint and Apoquel are quoted together; a veterinarian should confirm the combined itch treatment.
  • Discount above the clinic tier allowance. The discount of $10 is above what this clinic tier allows (5 percent of gross); a sales manager should approve it.

6. Itch treatment for a 30 pound dog: The agent resubmits after fixing the errors

The agent's request. Please quote an order for a 30 pound dog that is 80 weeks old: Cytopoint (one 30 mg vial) and Apoquel (one 5.4 mg tablet a day for 30 days). The clinic is on the Preferred tier and the discount is $10. The net total stated on the quote is $115. It is ready to send.

Verdict: Needs approval.

  • Cytopoint and Apoquel together. Cytopoint and Apoquel are quoted together; a veterinarian should confirm the combined itch treatment.
  • Discount above the clinic tier allowance. The discount of $10 is above what this clinic tier allows (5 percent of gross); a sales manager should approve it.
  • Order summary. Gross $125, net $115 after discount.

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 veterinary clinic's order quote for one dog, with the dog's weight and age, the parasite. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of the product and ordering rules and returns a verdict, every reason and the net total it computed.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote an order for a 40 pound dog that is 104 weeks old: Simparica Trio (22 pound size, six monthly doses). The clinic is on the Preferred tier and the discount is $70. The rest of the request is on screen. The net total stated on the quote is $465.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with five findings, all in one answer. The quoted Simparica Trio size tops out at 22 pounds; this dog needs the size topping out at 44 pounds. The Cytopoint vials give 20 mg; the dose for this weight is at least 0.9 mg per pound. The quoted Librela vial is 10 mg; this weight needs the 20 mg vial. The other two are on screen.
  6. The validator returned five 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 a stated net total that must match the build-up, a rules-based CPQ can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the Simparica Trio to 44 pound size, 6 monthly doses, the cytopoint to 1 vial of 40 mg, the librela to 3 vials of 20 mg and the discount to 24 dollars.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. All five earlier findings are cleared.
  13. Five 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.