If you use CPQ in your organization, your users may not always remember to add related products when they configure a quote, and you may not necessarily the items bundled. What do you do to ensure they don’t forget? You use the built-in alert function of CPQ.
You have two products, Laptop and Charger, and you want to ensure that when a quote is created for a Laptop that the user didn’t forget the Charger. Your users may forget to include the Charger as part of the quote and you need to remind them about this product.
Since we only need to remind the user to add the Charger, but not force the purchase of it, we can use an Alert in CPQ to the tell user ‘Hey, Don’t Forget to add a Charger!’. This will still allow the user to proceed with the quote in the case that the customer already has a charger and doesn’t need another one.
To create an Alert, we will need to create a Product Rule, 2 Summary Variable, and 2 Error Conditions. The connection between these objects is depicted in the following diagram:
My Summary Variables are going to be the variables we are checking for in the Product rule; in my case, I am looking for LAPTOP and CHARGER as the Product Code. For my Error Conditions on the Product Rule, I am going to specify to look for at least one Laptop (greater than or equal to) and that there is less than one Charger.
Create the Summary Variables
Since we need the Summary Variables for the Error Conditions within the Product Rule, we will create them first.
- Go to the Summary Variable object and click New
- For the first rule fill out the fields that are highlighted below (*note that in your own environment you may need to make some adjustments)
- For the second rule fill out the fields that are highlight below
Create the Product Rule
- Go to the Product Rules object and click New
- Create a name that is relevant and meaningful to you and future folks
- Fill out the fields as they highlighted below. IMPORTANT – Do not forget to mark the rule as Active!
Create the Error Conditions
- After you have saved the rule, click New in the Error Conditions related table
- For the first rule, fill out the fields that are highlighted below (*note that in your own environment you may need to make some adjustments)
- For the second rule, fill out the fields that are highlight below
Test! Test! Test!
- Create or open an existing quote ( I recommend using a quote that doesn’t have any line items to prevent misfires of other rules if you are testing this use case specifically)
- Click Edit Lines
- Add your Laptop Product
- Click Save
- You should see an Alert pop-up with the message that you entered in the Product Rule
You are all set!