CPQ Platform for Complex Industrial Sales

The Innovation Story: Transforming chaotic Excel-based sales processes into an intelligent, centralized pricing engine

Architecting and building a comprehensive Configure-Price-Quote platform to replace massive, error-prone Excel spreadsheet systems. Features dynamic product configuration, centralized pricing engine, and custom JavaScript formula interpreter for complex industrial boiler sales processes.

95%
Pricing Accuracy
Reduction in configuration errors
75%
Quote Time Saved
Faster quote generation process
500+
Product Configurations
Complex combinations supported
12+
Sales Team Members
Using the platform daily

The Problem: Complex Industrial Sales Running on Spreadsheet Chaos

Industrial boiler sales relied on massive Excel spreadsheets that had grown unmanageable over years. Multiple versions, manual formulas, and error-prone processes created chaos for the sales team, inconsistent pricing for customers, and significant compliance risks for complex product configurations.

For Sales Teams (The Users)

Sales representatives struggled with complex boiler configurations in Excel, often requiring engineering support for custom quotes. Version control issues led to pricing inconsistencies and delayed quote delivery, hampering the sales process and customer experience.

For Management (The Stakeholders)

Leadership lacked visibility into pricing logic and quote accuracy. The distributed spreadsheet system made it impossible to maintain consistent pricing strategies, analyze sales trends, or ensure compliance with corporate pricing policies across the organization.

My Role: Requirements Analysis to Platform Development

Leading the complete transformation from Excel-based chaos to a modern, scalable CPQ platform. Handling everything from business requirements analysis to full-stack development and custom formula engine implementation.

1

Business Requirements & Process Analysis

Conducted extensive discovery sessions with sales teams, engineers, and management to understand current Excel-based workflows. Documented complex pricing formulas, business rules, and configuration dependencies to define comprehensive platform requirements.

2

Platform Architecture & System Design

Designed a modular, scalable architecture separating product configuration from pricing calculations. Created a flexible framework supporting complex business rules while maintaining performance and enabling future extensibility for additional product lines.

3

Custom Formula Engine Development

Built a JavaScript-based formula interpreter allowing business users to define pricing calculations using familiar syntax. Implemented validation, error handling, and real-time calculation capabilities with sub-second response times for complex configurations.

4

Full-Stack Platform Implementation

Developed the complete CPQ platform using Next.js, TypeScript, and modern React patterns. Created intuitive configuration interfaces, centralized pricing management, role-based access controls, and comprehensive quote generation workflows.

5

Testing & User Acceptance

Implementing comprehensive testing strategies including unit tests for formula engine, integration tests for configuration workflows, and user acceptance testing with sales team members to ensure platform meets real-world usage requirements.

The Solution: Intelligent CPQ Platform in Action

A Comprehensive Platform for Complex Industrial Sales Configuration

Quote – Header & Technical Summary
https://cpq-demo.facundocosimo.eu
CPQ Platform Quote Header and Technical Summary
01

Quote – Header & Technical Summary

Complete quote overview with client details, engineering parameters, MIN/MAX scenario calculations, and commercial totals with export capabilities

Quote – Bill of Materials (BOM)
https://cpq-demo.facundocosimo.eu
CPQ Platform Bill of Materials View
02

Quote – Bill of Materials (BOM)

Interactive BOM with component status, configuration options, and real-time pricing calculations organized by sections with toggle controls

Pricing Formulas – Component Editor
https://cpq-demo.facundocosimo.eu
CPQ Platform Pricing Formula Editor
03

Pricing Formulas – Component Editor

Formula authoring workspace with component tree, compilation status, and formula editor supporting real-time testing and JavaScript optimization

Interpolation Tables – Visualization
https://cpq-demo.facundocosimo.eu
CPQ Platform Interpolation Tables Visualization
04

Interpolation Tables – Visualization

Price table visualization comparing linear interpolation curves against data points to validate pricing logic and spot outliers across engineering inputs

Pricing Logic: From Excel Chaos to Engineered Precision

The core innovation lies in transforming complex, error-prone Excel formulas into a high-performance, JavaScript-based calculation engine with sub-millisecond execution and intelligent dependency management.

How the Pricing Engine Works

1

Price Sheets & Versions

Version-controlled pricing logic (e.g., “2024-Q1”) with historical preservation and one-click activation

2

Formula Compilation

Business formulas compiled to optimized JavaScript functions with dependency tracking and smart caching

3

Real-Time Execution

Sub-millisecond calculations with intelligent cache invalidation when inputs change

Interpolation Tables

Interpolation MethodsLinear, Exact, Upper/Lower Bounds
Table Lookup Speed<0.1ms
Formula Usageinterp('TABLE_CODE', value)

Multi-dimensional pricing tables with automatic interpolation between data points. Used for complex scenarios like power-to-price curves and component sizing calculations.

Formula Engine V3

Execution Time<1ms
Smart CachingMulti-layer
Dependency TrackingAutomatic

Custom JavaScript compilation with smart dependency analysis. Only affected formulas recalculate when inputs change, ensuring optimal performance.

Formula Example: Industrial Boiler Burner Pricing

// Real pricing formula from the platform

// Base Cost: Power Output (kW) × price per kW from interpolation table
// Higher power requires larger, more expensive burner components
const powerOutput = getParams('POWER_OUTPUT_KW')

// Size Multiplier: Chamber volume affects burner complexity and materials
// Larger chambers need specialized burner configurations
const pricePerKw = interp('BURNER_POWER_PRICE_TABLE', chamberVolume)

// Optional Equipment: €850 premium for forced draft fan
// High-efficiency combustion requires additional air handling equipment
const fanPremium = componentIncluded('FORCED_DRAFT_FAN') * 850

// Final calculation
const price = powerOutput * pricePerKw + fanPremium

return
price
getParams()

Access calculated engineering parameters

interp()

Interpolate from pricing tables

componentIncluded()

Check component inclusion status

Performance Achievements

<1ms
Formula Execution
100%
Formula Accuracy
90%+
DB Load Reduction
0
Pricing Errors

Technical Architecture

A modern, component-based architecture built for complex business logic management and scalable enterprise deployment.

Configuration Engine

Dynamic product configuration system with real-time validation, compatibility checking, and guided workflows for complex industrial boiler specifications and customizations.

Custom Formula Interpreter

JavaScript-based calculation engine allowing business users to define complex pricing formulas, validation rules, and configuration dependencies without code deployments.

Centralized Business Logic

Single source of truth for pricing rules, product catalogs, and configuration constraints, eliminating spreadsheet versioning issues and ensuring organizational consistency.

Role-Based Security

Granular permission system enabling sales teams to create configurations while restricting pricing formula modifications to authorized administrators and business analysts.

Next.jsTypeScriptTailwindShadcn/uiCustomRBAC

View Technical Implementation

Platform Source Code • Architecture Documentation

Complete source code and technical documentation available demonstrating CPQ architecture, custom formula engine implementation, and enterprise-grade configuration management.

Live Platform Demo

Interactive Platform • On-Demand Access

Contact me to schedule a demo and experience the full CPQ workflow from configuration to quote generation in a live environment.

Available by appointment

Interested in this Implementation?

Check out other projects or reach out directly to me to discuss this comprehensive Configure-Price-Quote solution and similar enterprise-grade implementations.