For the #MadeInItaly series where I want to showcase amazing artisanal Italian products from our incredible Italian Ohana, today’s guest post is delivered by Raffaele Preziosi, a certified Salesforce Developer and Application Architect who was born in Naples (Italy). He is passionate about the Salesforce platform, JavaScript, and DevOps. Currently, he works as a consultant at Accenture Nordics in Copenhagen, where he continues to innovate and develop solutions for clients in the Salesforce ecosystem.
The Javascript Quote Calculator Plugin (QCP) of SteelBrick CPQ is a tool that allows users to enhance the functionality of the quote line editor within Salesforce.
By utilizing JavaScript, users can implement custom logic to manipulate quotes and quote lines both before and after pricing rules are calculated.
This customization extends to managing the visibility and editability of the fields displayed in the quote process.
The Challenge: Managing QCP Code within Salesforce
Unfortunately, the javascript QCP code must be stored as data within Salesforce (in the field SBQQ__Code__c of the object SBQQ__CustomScript__c) making it difficult to manage and track changes effectively. As developer you would like to manage that code in your IDE alongside other metadata within your version control system.
The move-qcp sf CLI plugin can address this issue. This tool allows you to efficiently organize the QCP code, and automate the its deployment.
The move-qcp plugin changes the way you develop and deploy QCP by allowing you to:
Versioning QCP Code: Your code is securely stored, easily accessible, and conveniently managed alongside your other version-controlled assets. This ensures that you have complete control over your qcp code and can effectively track and review changes.
Automated Deployment: The plugin automatically deploys the QCP to the target org, avoiding the need to manually copy and paste the code into Salesforce.
Modularization: Take advantage of modularization by utilizing modules to split the QCP code into multiple files. By splitting your QCP code into multiple files using modules, you can enhance readability, maintainability, and collaboration among your development team.
Code Minification: The plugin automatically minifies the code before deploying it to the target org. This optimization step helps avoid reaching the maximum character limit of the textarea field.
How to Get Started
Open your terminal and run the command (Salesforce CLI is necessary): sf plugins install move-qcp
Within your repository, create a dedicated folder for your QCP using the create command. This is where you’ll organize your QCP-related files. Replace “MyQCP” with your desired custom script name, which will also be the folder name. sf cpq qcp create -n MyQCP
The command will create separate files for each method of the quote calculator plugin. The main.js file will import modules from other files, enhancing code organization. The config.json file can include additional fields for your quote calculator plugin. Main.js and config.json are the only required files, the other ones can be deleted/replaced.
3. When your changes are ready run the following command to insert/update your QCP in the Org. Replace “orgAlias” with the authenticated org alias/username and ./QCP with the directory of your QCP sf cpq qcp deploy -u orgAlias -d ./MyQCP
If the command succeeds, it will print the Id of the custom script:
While you can add multiple custom scripts to your repository, it’s important to note that Salesforce CPQ currently allows only one active script at a time.
You can streamline your deployment process, integrating the command into your CI/CD pipeline!
About the author: Vadim Rokhman is a Trailblazer adventurer and a Product Manager of Sculptor CPQ at Twistellar, keen on delivering helpful tips and Sculptor CPQ solution for sales reps to drive sales automation in Salesforce CRM.
The automation of business operations currently holds a leading position in the development priorities of many firms. Automation has developed new forms and capabilities since the initial CRM and ERP systems, including the popular Salesforce platform.
The following trends stand out among the vast range of those, currently dominating business automation:
Use of chatbots and virtual assistants
Compilation and analysis of customer behavioral data
Self-service options and customer virtual desks
Automated workflows for sales reps (approval templates, revenue reports, customers)
Numerous apps created for Salesforce CRM already have self-service and automated workflows embedded. One of the most advanced solutions for automating various business processes, accelerating the sales cycle velocity, and ultimately raising a company’s revenue is Configure-Price-Quote (CPQ) solutions.
The emergence of CPQ
An old-school quoting process in a traditional sales flow was as following:
Determine the best products and the required configurations
Refer to pricing documentation or static systems for the basic price
Track down eligible discounts and apply them manually
Wait for approval if a large discount is requested
Create the final quote document that will be delivered to your customer
In a highly competitive environment, sales representatives deal with complex products and services, create quotes, and interact with customers. Excel and other data sales tools are no longer effective to provide deal velocity without errors and recalculations.
The key challenge has always been to improve the automation, predictability, and efficiency of the quoting process for both sales representatives and clients.
It has triggered different vendors all around the globe to develop CPQ solutions.
At the very least, CPQ software implementation reduces the use of paperwork and documentation. Sales reps benefit from having price books available at hand and save time by reducing manual calculations and routine operations.
But CPQ is more than that
Implemented CPQ solutions provide such out-of-the box capabilities as product bundles configurator, guided selling, automated pricing rules, and interactive web quotes to help streamline sales flows.
According to recent Gartner research, the CPQ software market size grew 15.5% in 2019 to an estimated 1.42 billion USD. The configure price and quote (CPQ) software market size is anticipated to grow at a CAGR of over 14% during the forecast period.
CFOs meet CPQ
How can a company’s decision maker identify internal signals indicating that business flows need to be tuned up and automated?
We will outline the biggest challenges every company faces when considering CPQ implementation. These observations are based on the interviews with CFOs that the Sculptor CPQ team conducted through 2021-2022 years. All of the represented companies used Salesforce CRM to run their businesses, with no CPQ solution. These are the industries covered by this questionnaire:
Logistics and Shipping Services
Manufacturing
Financial Consulting
Marketing Agencies
Software Services
Retail Business
Top 5 questions the CFOs refer to the Sculptor’s team about CPQ implementation
How to evaluate whether a company needs CPQ in the current business life cycle?
Is implementing CPQ a reasonable investment?
How many resources are required to deploy CPQ and set up relevant business processes?
How long will it take for sales revenue to increase as a result of CPQ-based sales flows?
How will CPQ implementation enhance communications with clients and increase customer satisfaction?
How to evaluate whether a company needs CPQ at the current business life cycle?
Some companies do quite well without CPQ. Sometimes, their business doesn’t provide a broad range of products or services to customers, or there is a sufficient number of sales reps successfully managing the flow of orders using standard tools (Excel) for calculations and generating commercial offers (quotes).
The primary indicators for a CFO to consider the feasibility of implementing CPQ are:
The speed of attracting new leads has slowed down. This may indicate that sellers spend much of their time working on accurate quotes, approving discounts, and discussing pricing policies with management, leaving them with less time to grow relationships with new customers.
The product (service) range is constantly expanding (changing), or includes a large number of independently configurable features, subproducts options with individual attributes (price, block pricing, quantity discounts).
Your pricing policy has become increasingly complex, and sales reps have already worked out all the pricing rules in Excel to calculate discounts for various customer groups. While keeping the option for sales representatives to manually set up prices or discounts in some circumstances, you wish to automate the application of pricing rules to quotes.
Although the workload for sales reps has increased, you don’t want to hire more people. The average time to quote is growing concurrently.
Your business has expanded into new markets with strong competition. As a consequence, multicurrency management, frequently changing pricing policies and quote approval management for VIP clients have become more time-consuming, preventing sales reps from closing deals quickly.
Is implementing CPQ a reasonable investment?
Obviously, business owners want to ensure they receive a return on their investment. CPQ vendors vary in their pricing models and subscription plans.
The “try before you buy” formula is the best way to determine whether a CPQ solution is worth purchasing. On the AppExchange platform, for example, Sculptor CPQ offers a great opportunity: you can install a free version of CPQ in your production with no expiration date (but with some minor limitations).
Alternatively, you can try a Test Drive and jump into the CPQ environment to play with product and bundle configuration, pricing rules in just a few clicks.
Regarding return on investment, you may determine how many man-hours will be saved annually by comparing the amount of time a sales representative would need to generate a typical quote using outdated techniques and software (such as Excel) with the time it would take to get a quote with CPQ guidance.
How many resources are required to deploy CPQ and set up relevant business processes?
It depends on a specific CPQ solution and your current business needs. For instance, a typical SculptorCPQ installation takes half an hour, while its customization for customer’s needs may take 2-3 weeks. No integrator is needed, a company’s Salesforce administrator can easily set up CPQ for sales reps.
At the same time, the majority of CPQ solutions will require 3-6 months and a certified CPQ specialist or even a third-party Salesforce consulting firm to implement CPQ and tailor everything to the business needs.
How long will it take for sales revenue to increase as a result of CPQ-based sales flows?
Our research provides helpful indicators for CFOs to assess when a company is receiving a return on investment.
We can share these common benefits of Sculptor CPQ that companies see a year after its implementation:
CFOs admitted that sales reps generated more leads and accurate quotes several months after Sculptor implementation.
How will CPQ implementation help to improve interaction with clients and improve their customer success experience?
Customers have become more sophisticated and demanding. They tend to stay with companies that can provide self-service capabilities with a user-friendly interface.
In terms of CPQ, self-service capabilities are represented by the opportunity to edit online a proposed quote. Sculptor CPQ, for instance, has an integrated interactive web quote. That means that a customer can receive a published secure link via Salesforce notification, a messenger or email, edit it online, add missing products and services, approve the quote, and send it back to a sales rep. In this case, we achieve a flawless and adaptable collaboration between a company and its client.
Higher productivity, sales flow acceleration, and automation of routine operations are the key benefits a company gets by implementing CPQ in its business environment.