Predictika · House framing package quotes

An AI sales agent's framing package quote, checked before it goes out

An AI sales agent drafts a quote for a house framing package: roof trusses, wall panels, windows and doors, hurricane ties and delivery for a contractor. Before the quote goes out, the agent sends it to Predictika, which checks it against a declarative model, compares the total the agent states with the one it computes, and returns every finding together with the line-item quote.

Scope: house framing package quotes for contractors: roof trusses, wall panels, windows and doors, hurricane ties and delivery, priced in dollars. See everything this validator covers

This is a CPQ validator for one thing: framing packages for single houses. It does not cover other lumber or building product lines, and it is not an engineering design.

  • Roof trusses — span against the truss type maximum, snow plus dead load against capacity at the chosen spacing, minimum pitch by truss type, and engineer-sealed design review above 36 ft or 50 psf snow.
  • Walls and code — wall height against the panel limit, R-20 walls in climate zone 5 and above, hurricane ties above 130 mph design wind, and one egress window per bedroom.
  • Schedule and delivery — lead time against the days needed and a 150 mile delivery radius with a per-mile charge past 50 miles.
  • Pricing — truss count from building length and spacing, a line-item price roll-up, contractor tier discount, extra discount authority by package size, and the total the agent states.

Any package built from these truss types, wall panels, climate zones, wind speeds and delivery distances runs through this validator, not just the seven scenarios shown on this page. It is an illustrative model; prices, limits and lead times are fictional.

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

7 scenarios in 4 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
Truss limits that interact: span against truss type, snow load against spacing and truss capacity, minimum pitch by typeOnly with care
One rule for each truss type and each combination of load and spacing; adding a truss type or a spacing means more rules to write and keep in step.
Span, load capacity and minimum pitch are data on each truss record; the load-against-spacing arithmetic runs on every call with the other rules.
Code and site rules that depend on inputs elsewhere on the quote (climate zone, design wind speed, bedroom count)Only with care
Each site input needs its own rule against the right product attribute (R-value, ties, egress windows); a missed pairing lets a code violation through.
Climate zone, wind speed and bedrooms are quote fields checked against wall and window data together with every other rule.
Quantities derived from other inputs (truss count from building length and spacing) feeding price, hurricane ties and lead timeOnly with workarounds
Needs chained formula fields so the count, the ties and the line totals stay in step; changing the spacing means checking every dependent field.
Truss count, every line amount, tier and extra discounts and the delivery charge are derived on each call, and the lines add up to the total.
A stated total that does not match the computed priceOnly with care
A validation rule can compare a stated total with a calculated field, but only if the stated total is a field on the quote, which it rarely is.
The stated total travels with the quote and is compared with the computed one on every call.

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.

1Span longer than the truss type allows.
2Snow plus dead load at the chosen spacing above the truss capacity.
3Roof pitch below the minimum for the truss type.
4Wall height above the panel limit.
5Climate zone 5 or higher with walls below R-20.
6Design wind above 130 mph without hurricane ties.
7Fewer egress windows than bedrooms.
8Delivery beyond the 150 mile radius of the yard.
9Package lead time longer than the days the customer allows.
10Extra discount above the maximum for the package size (3 percent, or 5 percent for packages of $60,000 or more).
11The agent's stated total does not match the computed total.
12Span over 36 ft or snow load over 50 psf (approval, engineer-sealed design).
13Extra discount above the 2 percent a sales rep may give alone (approval).

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. Roof truss limits: Scissor trusses drawn at 34 ft span and a 4 in 12 pitch

The agent's request. Please quote a framing package for Prairie Ridge Homes: 36 ft long house, scissor vaulted trusses at 24 in with a 34 ft span and a 4 in 12 pitch, 160 ft of 2x4 wall panels, 10 windows and 2 doors, delivered 10 miles from the yard and needed within 20 days. The quote states a total of $21,974.00. It is ready to send.

Verdict: Blocked.

  • Span beyond the truss limit. 34 ft span exceeds the 32 ft maximum for the scissor vaulted truss.
  • Roof pitch too low. The scissor vaulted truss needs at least 6 in 12 pitch; drawn at 4 in 12.

2. Roof truss limits: The agent resubmits after fixing the errors

The agent's request. Please quote a framing package for Prairie Ridge Homes: 36 ft long house, scissor vaulted trusses at 24 in with a 30 ft span and a 6 in 12 pitch, 160 ft of 2x4 wall panels, 10 windows and 2 doors, delivered 10 miles from the yard and needed within 20 days. The quote states a total of $21,290.00. It is ready to send.

Verdict: Allowed.

  • Quote summary. Total $21,290.00: roof trusses $9,310.00; wall panels $6,720.00; openings $4,500.00; openings $760.00.

3. Walls and energy code: Cold-climate house with tall 2x4 walls

The agent's request. Please quote a framing package for Northwoods Builders in climate zone 6: 48 ft long house, common trusses with a 30 ft span, 180 ft of 11 ft tall 2x4 wall panels, 12 windows and 3 doors, delivered 20 miles from the yard and needed within 14 days. The quote states a total of $24,984.00. It is ready to send.

Verdict: Blocked.

  • Wall height above panel limit. 11 ft walls exceed the 10 ft limit of the 2x4 wall panel R-13.
  • Wall R-value below energy code. Climate zone 6 needs R-20 or better walls; the 2x4 wall panel R-13 is R-13.

4. Walls and energy code: The agent resubmits after fixing the errors

The agent's request. Please quote a framing package for Northwoods Builders in climate zone 6: 48 ft long house, common trusses with a 30 ft span, 180 ft of 11 ft tall 2x6 wall panels, 12 windows and 3 doors, delivered 20 miles from the yard and needed within 14 days. The quote states a total of $27,675.00. It is ready to send.

Verdict: Allowed.

  • Quote summary. Total $27,675.00: roof trusses $9,750.00; wall panels $11,385.00; openings $5,400.00; openings $1,140.00.

5. Wind, egress and discount: Coastal house with no hurricane ties and too few egress windows

The agent's request. Please quote a framing package for Gulf Breeze Custom Homes: 3 bedrooms, 2 egress windows, design wind of 150 mph with no hurricane ties, common trusses with a 30 ft span, 180 ft of 2x4 wall panels, 12 windows and 3 doors, and a 3 percent extra discount, delivered 20 miles from the yard and needed within 14 days. The quote states a total of $23,134.50. It is ready to send.

Verdict: Blocked.

  • Hurricane ties required. 150 mph design wind needs hurricane ties at every truss.
  • Egress windows short. 3 bedrooms need 3 egress windows; only 2 scheduled.
  • Discount needs approval. Extra discount of 3 percent is above the 2 percent a sales rep may give alone; it can be approved up to 3 percent.

6. Wind, egress and discount: The agent resubmits after fixing the errors

The agent's request. Please quote a framing package for Gulf Breeze Custom Homes: 3 bedrooms, 3 egress windows, design wind of 150 mph with hurricane ties at every truss, common trusses with a 30 ft span, 180 ft of 2x4 wall panels, 12 windows and 3 doors, and a 3 percent extra discount, delivered 20 miles from the yard and needed within 14 days. The quote states a total of $23,425.50. It is ready to send.

Verdict: Needs approval.

  • Discount needs approval. Extra discount of 3 percent is above the 2 percent a sales rep may give alone; it can be approved up to 3 percent.
  • Quote summary. Total $23,425.50: roof trusses $9,750.00; wall panels $7,560.00; openings $5,400.00; openings $1,140.00; hurricane ties $300.00; discount -$724.50.

7. Delivery and stated total: Job 180 miles from the yard with a stated total

The agent's request. Please quote a framing package for Summit Valley Contractors: 48 ft long house, common trusses with a 30 ft span, 180 ft of 2x4 wall panels, 12 windows and 3 doors, delivered 180 miles from the yard and needed within 14 days. The quote states a total of $23,850.00. It is ready to send.

Verdict: Blocked.

  • Outside the delivery radius. 180 miles is outside the 150 mile delivery radius of the yard.
  • Quoted total does not match. Stated total does not match: the agent stated $23,850.00; the validator computes $24,370.00.

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 drafts a quote for a house framing package: roof trusses, wall panels, windows and doors, and more. Before the quote goes out, the agent sends it to Predictika, which checks it against a declarative model, compares the total the agent states with the one it computes, and returns every finding together with the line-item quote.
  2. I will start with the first request by the agent.
  3. The agent says. Please quote a framing package for Prairie Ridge Homes: 36 ft long house, scissor vaulted trusses at 24 in with a 34 ft span and a 4 in 12 pitch. The quote states a total of $21,974.00. The rest of the request is on screen.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with two findings, all in one answer. 34 ft span exceeds the 32 ft maximum for the scissor vaulted truss. The scissor vaulted truss needs at least 6 in 12 pitch; drawn at 4 in 12.
  6. The validator returned two 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 truss limits that interact: span against truss type, snow load against spacing and truss capacity, minimum pitch by type, a rules-based CPQ is error-prone for this.
  8. Now the agent resubmits.
  9. The corrected request. It changes the span to 30 ft, the roof pitch to 6 and the quoted total to $21,290.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. The validator also returns the line-item quote. It starts with Scissor vaulted truss and 2x4 wall panel R-13; the other two lines are on screen.
  13. Both earlier findings are cleared, and the validator's total, $21,290.00, matches the quote.
  14. Two problems caught in one call, fixed in one pass, and a clean $21,290 quote. That is the value of Predictika's validator: catching mistakes before they reach the customer. Now you can try the other scenarios yourself.