Predictika · Prescription lens orders

An AI sales agent's Varilux prescription lens order, checked before it goes out

An AI sales agent prepares an order for Varilux Physio DRx or Comfort DRx progressive lenses: the design, lens material and index, tint or photochromic product, color, coating, and the prescription it has to cover. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of Essilor's published availability chart and returns a verdict, every reason and the figures it computed.

Scope: Varilux Physio DRx, Comfort DRx, Physio Short DRx and Comfort Short DRx orders: material and index, product, color, mirror, blue filter, power ranges, add power, fitting height and coating. See everything this validator covers

This validator models orders for the four Varilux DRx designs as laid out in the public Essilor Varilux Rx Lens Availability chart (effective April 2024), not just the scenarios shown below.

  • Material and product — the chart lists which products exist in which material: plastic 1.50, Trivex 1.53, Airwear polycarbonate 1.59, and Thin & Lite 1.60, 1.67 and 1.74, each with clear, polarized, Transitions GEN S and XTRActive products where offered; colors are checked per product and material, and style mirrors and Essential Blue Series only where the chart shows them.
  • Prescription ranges — the sphere range of the chosen material and product, the 6.00 maximum cylinder, add powers of 0.75 to 3.50 (4.00 only in Physio DRx, and 3.00 at most in the Short designs), and the minimum fitting height of 17 mm (14 mm for the Short designs).
  • Coating and stated index — every Varilux digital lens needs a hard coat, Thin & Lite 1.74 comes with a Crizal coating, and the lens index the quote states must equal the material's.

Any Varilux DRx order that touches these rules is in scope — not only the scenarios pictured here. Not covered: prices (Essilor does not publish lens prices, so this validator produces no price build-up), other Varilux designs, base curves, sunwear colors beyond the chart, and lab processing. Assumptions: the chart's power range is read as sphere power, the order has one prescription for both eyes, and a product that comes in colors needs a color chosen.

The AI sales agentBuilds the lens 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
Which products exist in which material, and which colors each allowsOnly with workarounds
A product-by-material-by-color table of about 30 rows, each with its own exceptions (for example XTRActive Polarized only in gray), kept in step with every chart release.
Material, product and color arrive in one request and are matched to the chart on every call.
Prescription limits that change with material and productOnly with care
Sphere ranges differ by index, and the GEN S products have a smaller plus range, so one rule is needed per combination.
The sphere range is looked up from the material and product and compared with the prescription on every call.
Add power and fitting height limits that depend on the designOnly with care
Different maximum adds (3.50, 4.00 on one design only, 3.00 on the Short designs) and minimum fitting heights per design.
The design sets the limits and every one is checked together.
Options that exist only on some products: mirror and Essential BlueOnly with care
Each option needs a dependency rule tied to a product, material and color.
The option is checked against the product on every call.
The index the quote states must match the materialOnly with care
A stated figure is a free-entry field; a rule can compare it with the material, but each material needs its own value.
The stated index travels with the order and is compared with the material 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 chosen color is not available for this product in this material.
2The chosen product is not offered in the chosen lens material and index.
3This product comes in colors and no color has been chosen.
4Style mirrors are available only on Transitions XTRActive new generation in gray or brown, in 1.59 and 1.67.
5Essential Blue Series lenses are available only in the clear products.
6The prescription has a sphere power of +6.50 D; this lens covers -10.00 to +6.00 D.
7The prescription has a sphere power of -12.50 D; this lens covers -12.00 to +8.00 D.
8The prescription has a cylinder of 6.25 D; the maximum is 6.00 D.
9The add power of 3.75 is not available; the chart lists 0.75 to 3.50 and, on Physio DRx only, 4.00.
10An add power of 4.00 is available only in Varilux Physio DRx.
11The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50.
12The fitting height of 16 mm is below the minimum of 17 mm for this design.
13All Varilux digital lenses require a hard coat and the order has none.
14Thin and Lite 1.74 lenses come with a choice of Crizal Prevencia, Sapphire 360, Avance UV, Rock or Alize UV and the order has no Crizal coating.
15The quote states a lens index of 1.67; the quoted material has 1.59.
16The add power of 0.50 is not available; the chart lists 0.75 to 3.50 and, on Physio DRx only, 4.00.
17The prescription has a cylinder of 7.00 D; the maximum is 6.00 D.
18The fitting height of 12 mm is below the minimum of 17 mm for this design.
19The quote states a lens index of 1.59; the quoted material has 1.53.

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. Prescription and design limits: A strong minus prescription on a Short design

The agent's request. Please quote two pairs of Varilux Comfort Short DRx lenses in Thin & Lite 1.60, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 13 mm. The quote states a lens index of 1.60. It is ready to send.

Verdict: Blocked.

  • Sphere power outside the lens range. The prescription has a sphere power of -13.00 D; this lens covers -12.00 to +8.00 D.
  • Add power over 3.00 on a Short design. The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50.
  • Fitting height below the minimum. The fitting height of 13 mm is below the minimum of 14 mm for this design.

2. Prescription and design limits: The agent resubmits after fixing the errors

The agent's request. Please quote two pairs of Varilux Comfort Short DRx lenses in Thin & Lite 1.67, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 15 mm. The quote states a lens index of 1.67. It is ready to send.

Verdict: Blocked.

  • Add power over 3.00 on a Short design. The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50.

3. Prescription and design limits: The agent resubmits after fixing the errors

The agent's request. Please quote two pairs of Varilux Comfort DRx lenses in Thin & Lite 1.67, clear, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -13.00, a cylinder of 1.25 and an add of 3.50, at a fitting height of 18 mm. The quote states a lens index of 1.67. It is ready to send.

Verdict: Allowed.

  • Order summary. 2 pairs of lenses with an index of 1.67.

4. Material, color and index: A photochromic order in Trivex with a sapphire tint

The agent's request. Please quote three pairs of Varilux Physio DRx lenses in Trivex 1.53, Transitions GEN S in sapphire, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -3.50, a cylinder of 1.00 and an add of 2.25, at a fitting height of 21 mm. The quote states a lens index of 1.59. It is ready to send.

Verdict: Blocked.

  • Color not available for this product. The chosen color is not available for this product in this material.
  • Stated index does not match. The quote states a lens index of 1.59; the quoted material has 1.53.

5. Material, color and index: The agent resubmits after fixing the errors

The agent's request. Please quote three pairs of Varilux Physio DRx lenses in Airwear polycarbonate 1.59, Transitions GEN S in sapphire, with Crizal Prevencia and a hard coat, for a prescription with a sphere of -3.50, a cylinder of 1.00 and an add of 2.25, at a fitting height of 21 mm. The quote states a lens index of 1.59. It is ready to send.

Verdict: Allowed.

  • Order summary. 3 pairs of lenses with an index of 1.59.

6. Coating and blue filter: A photochromic 1.74 order with a blue filter and no AR coating

The agent's request. Please quote four pairs of Varilux Physio DRx lenses in Thin & Lite 1.74, Transitions GEN S in gray, as Essential Blue Series lenses, with no Crizal coating and a hard coat, for a prescription with a sphere of -18.00, a cylinder of 2.00 and an add of 2.50, at a fitting height of 19 mm. The quote states a lens index of 1.74. It is ready to send.

Verdict: Blocked.

  • Essential Blue Series only on clear lenses. Essential Blue Series lenses are available only in the clear products.
  • 1.74 needs a Crizal coating. Thin and Lite 1.74 lenses come with a choice of Crizal Prevencia, Sapphire 360, Avance UV, Rock or Alize UV and the order has no Crizal coating.

7. Coating and blue filter: The agent resubmits after fixing the errors

The agent's request. Please quote four pairs of Varilux Physio DRx lenses in Thin & Lite 1.74, clear, as Essential Blue Series lenses, with Crizal Alize UV and a hard coat, for a prescription with a sphere of -18.00, a cylinder of 2.00 and an add of 2.50, at a fitting height of 19 mm. The quote states a lens index of 1.74. It is ready to send.

Verdict: Allowed.

  • Order summary. 4 pairs of lenses with an index of 1.74.

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 Varilux Physio DRx or Comfort DRx progressive lenses: the design, lens material and index, tint or photochromic product, and more. Before it goes out, the agent sends it to Predictika, which checks it against a declarative model of Essilor's published availability chart 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 two pairs of Varilux Comfort Short DRx lenses in Thin & Lite 1.60, clear, with Crizal Prevencia and a hard coat. The quote states a lens index of 1.60. 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 prescription has a sphere power of -13.00 D; this lens covers -12.00 to +8.00 D. The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50. The fitting height of 13 mm is below the minimum of 14 mm for this design.
  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 add power and fitting height limits that depend on the design, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the material and index to Thin & lite 1.67, the fitting height to 15 mm and the stated lens index to 1.67.
  10. It calls the validator again.
  11. Still blocked, with one finding, all in one answer. The Short designs offer add powers of 0.75 to 3.00 only; the order has 3.50.
  12. Two findings cleared; still blocked on add power over 3.00 on a Short design.
  13. The agent resubmits once more.
  14. The revised request. It changes the design to Varilux Comfort DRx and the fitting height to 18 mm.
  15. It calls the validator once more.
  16. This time the validator clears it.
  17. The earlier finding is cleared, and the validator's figure matches the quote.
  18. Three problems caught in one call, fixed in two passes, and a clean quote. That is the value of Predictika's validator: catching mistakes before they reach the customer.