Time: 20 minutes | Level: Advanced
Prerequisites: Knowledge Base Fundamentals
Prerequisites: Knowledge Base Fundamentals
What You’ll Learn
- Creating calculator-style helpers
- Linking fields to knowledge data
- Building dynamic pricing logic
- Generating instant quotes
- Sharing calculators with clients
Why Build Price Calculators?
Transform your uploaded price lists into interactive tools:| Manual Process | With Calculator |
|---|---|
| Client calls for quote | Client uses self-service tool |
| You look up prices | Prices auto-populate |
| Calculate totals manually | Instant calculated totals |
| Email quote back | Quote generated instantly |
Step 1: Prepare Your Knowledge
Before building, ensure your Knowledge Base has the pricing data:Verify Extraction
Check that key pricing elements were extracted:
- Product/service names
- Base prices
- Quantity tiers (if applicable)
- Options and add-ons
Step 2: Create the Calculator Helper
Create New Helper
Tap + → describe: “Price calculator for [your product/service]”Example: “Price calculator for printing services with paper type, size, and quantity”
Review Generated Fields
Peanuts creates fields based on your description. Common calculator fields:
| Field Type | Use Case |
|---|---|
| Select | Product type, paper type, size options |
| Number | Quantity, dimensions |
| Checkbox | Add-ons, rush delivery |
| Calculated | Subtotal, tax, total |
Step 3: Link to Knowledge Base
Connect your calculator to the uploaded pricing data:Step 4: Configure Pricing Logic
Set up how prices are calculated based on selections:- Simple Lookup
- Quantity Tiers
- Combined Variables
- Add-ons
For straightforward pricing (select option → get price):The calculator looks up the price based on the selected option.
Step 5: Add Calculated Fields
Create fields that automatically compute totals:Subtotal Field
Subtotal Field
Calculates the base price before extras:Formula concept:
Add-ons Total
Add-ons Total
Sums selected optional extras:Formula concept:
Tax Calculation
Tax Calculation
Applies tax rate to subtotal:Formula concept:
Grand Total
Grand Total
Final amount due:Formula concept:
Step 6: Test Your Calculator
Run through test scenarios to verify accuracy:Test Edge Cases
- Minimum quantities
- Maximum quantities
- Tier boundaries (99 vs 100 units)
- All add-ons selected
Sharing Your Calculator
- Widget Embed
- Direct Link
- QR Code
Create a public widget for your website:
- Go to helper Settings → Sharing
- Enable Public Widget
- Copy embed code
- Add to your website
Real-World Examples
Print Shop Calculator
Fields: Paper size, paper type, quantity, color/B&W, bindingKnowledge: Price list PDF with size × paper × quantity matrixOutput: Instant quote with itemized breakdown
Catering Quote Tool
Fields: Event type, guest count, menu selection, add-onsKnowledge: Menu with per-person pricingOutput: Total cost with dietary accommodation notes
Shipping Calculator
Fields: Package weight, dimensions, destination, speedKnowledge: Carrier rate tablesOutput: Shipping options with delivery dates
Service Quote
Fields: Service type, hours estimated, parts needed, urgencyKnowledge: Hourly rates and parts catalogOutput: Labor + parts + rush fee total
Exercise
Practice: Build a Complete Price Calculator
Create a calculator for a real or fictional business:
- Choose a product/service (printing, food, shipping, services)
- Create or upload a price list with at least:
- 3+ product options
- 2+ quantity tiers OR size variants
- 1+ optional add-on
- Build the calculator helper with appropriate fields
- Link to your knowledge base
- Test with 5 different quote scenarios
- Generate a shareable widget
