The in-home sales engine. Browse your pricebook, build quotes with Good/Better/Best tiers, present to homeowners, and close deals with AI-powered design studio.
PricebookDashboard — categories, stats, search
useQuery(api.pricebook.getCategories)
PricebookSearch — codes, complexity badges, prices, + buttons
useQuery(api.pricebook.searchTasks, { query, categoryId })
QuoteBuilder — 3 line items, live totals, pulsing CTA
useQuery(api.pricebook.getQuoteSession, { quoteId })
TierSelection — Good/Better/Best with financing
useMutation(api.pricebook.presentQuote)
QuoteAccepted — celebration, commission breakdown
useMutation(api.pricebook.acceptQuote)
DesignStudio — photo upload, style picker, AI render
useMutation(api.designStudio.generateRendering)
SalesMaterials — PDF deck list, upload zone
useQuery(api.pricebook.getSalesDecks)
MarginSettings — markup sliders, tier pricing, visibility
useQuery(api.pricebook.getSettings)
Customer selection, line items, pricing tiers, totals
NewQuoteEntry — customer select, quantities, tiers, live totals
useMutation(api.pricebook.createQuoteSession)
Cached pricebook, sync status, conflict resolution
OfflineSession — cached data, sync badges, conflict resolution
useQuery(api.pricebook.getOfflineQueue)
Tax config, auto-calculate, jurisdiction rates, exemptions
StripeTaxIntegration — auto-calc, jurisdiction rates, exemptions
useQuery(api.stripe.getTaxSettings)
Scripted questions, branching logic, service recommendation
CSRDecisionTree — scripted flow, branching, service recommendation
useQuery(api.csr.getDecisionTree, { serviceType })
Pricebook & Quote Builder — in-home sales engine with Good/Better/Best tier presentation, AI design studio, and commission tracking.
pricebook/index.tsxpricebook/search.tsxpricebook/quote-builder.tsxpricebook/tier-selection.tsxpricebook/design-studio.tsxpricebook/settings.tsxgetCategoriessearchTasksgetQuoteSessiongetQuoteSessionsgetSettingscreateQuoteSessionaddItemToQuotepresentQuoteacceptQuoteimportPricebookTechnicians see task prices but never see markup percentages or profit margins. Owner maintains full control over pricing strategy.
Three-tier pricing psychology. Better tier is visually dominant — terracotta border, cream background, RECOMMENDED badge. Closes 2x more deals.
Quote builder works in basements and attics with no signal. Syncs when connection returns. In-home sales can't depend on WiFi.
AI auto-suggests complementary items based on the primary task. Thermostat with furnace, duct cleaning with AC. Average ticket +7%.
Photo-to-rendering pipeline. Contractors show homeowners what the finished job looks like before work begins. Visual selling at scale.