Overview
Pendo uses Breadth, Depth & Frequency (BDF) to measure a customer’s health.
This recipe walks through an example on how you can use Pendo data to build your own BDF score in Salesforce.
Ingredients (What You Need)
- [Prerequisite] Pendo Salesforce Integration Setup
- Pendo admin account permission
- Your Salesforce Account Admin Permission to Add New Salesforce Fields
- Microsoft Excel (for PC or Mac) to help you find your benchmarks
How to Make It
Step 1. Create an Account report in Pendo.
Navigate to “Accounts” in Pendo & create a report:
- Segment = Everyone
- Date Range = Last 30 Days
- Columns recommended = “Number of Visitors,” “Key Feature” & “Time in App”
“Key feature” column is referring to your tagged feature usage. Choose an important feature that has been validated as a retention indicator for this column.


Save the Report.
Step 2. Find your benchmarks to help you create your rating system.
This step outlines how you can quickly find your benchmarks by downloading a quick report from Pendo and calculate your “breadth,” “depth” & “frequency” markers using Excel percentile formula. We like to use a 4 point scoring system that correlates to Red, At Risk, Healthy, and Champion so using percentiles is one method to determine an even distribution across 4 segments of our base. Therefore finding the 25th, 50th, and 75th percentiles lets us start with an educated estimate of where to draw our usage lines in each category.
To start this exercise, download the Account report you just created and open in Excel. In a new sheet, create the following charts to create tiers (each 25%) and create your point system for scoring:
Tiers
- 25% = red
- 50% = at risk
- 75% = healthy
- 100% = champions
Assign a points system: (In this example, we used 0-3 points.)
- 25% = 0
- 50% = 1
- 75% = 2
- 100% = 3
Use the percentile function in excel to find the number of accounts in each percentile:
- 25%
=PERCENTILE.EXC(accountList!B:B,0.25)
- 50%
=PERCENTILE.EXC(accountList!B:B,0.5)
- 75%
=PERCENTILE.EXC(accountList!B:B,0.75)
- 100% = anything above 75%
Save these to help you create your SalesForce formula fields.
If you don’t know what top features to use in your health score, use Pendo feature data to see what your power users & current customers use the most.
Step 3. Create your Salesforce fields to capture Pendo data & calculate your score.
Navigate to your Salesforce account and create your fields you want to capture from Pendo & score calculation fields. In this example, you will need to setup at least 7 fields:
Fields to capture data from Pendo:
- Numeric field with the name
Number of Visitors
and API name ofPendo_Number_of_Visitors
- Numeric field with the name
Feature Name
and API name ofPendo_Feature_Name
- Numeric field with the name
Time in App
and API name ofPendo_Time_in_App
Then, create formula fields to calculate scores by replacing the ‘#” with the benchmarks you found in Step 2 & using the Pendo data captured in the fields you created above:
-
Field to calculate your “Breadth” score called
BDF Visitors
(Field type = Custom Formula Field with type of Number and no decimals). Copy the code below and replace the ‘#’ with the benchmarks you found in Step 2.IF(Pendo_Number_of_Visitors__c > # , 3, IF(Pendo_Number_of_Visitors__c > # , 2, IF(Pendo_Number_of_Visitors__c > # , 1 , 0 ) ) )
-
Field to calculate your “Depth” score called
BDF Feature Name
(Field type = Custom Formula Field with type of Number and no decimals). Copy the code below and replace the ‘#’ with the benchmarks you found in Step 2.IF(Pendo_Feature_Name__c > # , 3, IF(Pendo_Feature_Name__c > # , 2, IF(Pendo_Feature_Name__c > # , 1 , 0 ) ) )
-
Field to calculate your “Frequency” score called
BDF Time
(Field type = Custom Formula Field with type of Number and no decimals). Copy the code below and replace the ‘#’ with the benchmarks you found in Step 2.IF(Pendo_Time_in_App__c > # , 3, IF(Pendo_Time_in_App__c > # , 2, IF(Pendo_Time_in_App__c > # , 1 , 0 ) ) )
- Field to calculate & capture your overall score called “Total Score” (Field type = Custom Formula Field with type of Number and no decimals). Copy the code below.
BDF_Visitors__c + BDF_Feature__c + BDF_Time
Check out Salesforce’s documentation to learn more about setting up custom fields.
Step 4. Setup your report to push to Salesforce In the account report you just saved, you should see a “Set Up” button to map your Salesforce fields:

Choose your desired field mappings:

Once you’re done, save your settings. Click on the “Sync Now” button in the visitor report to manually push changes into Salesforce for your one time test. Moving forward, your data will sync automatically every 24 hours. Once the sync is completed, review the data in Salesforce.

Learn more about Frequently Asked Questions on Pendo’s Salesforce Integration.