This guide explains how to link each Call Reporting record generated by a voicemail to the Salesforce Case it raised, so you can report on cases created through Voicemail-to-Case. It applies when a voicemail is delivered to an email address that is configured for Email-to-Case in Salesforce.
This guide is intended for advanced Natterbox admins. Further customisations of this solution might not be supported.
Prerequisites
Natterbox Call Reporting is enabled, so a Call Reporting record is created for voicemail calls.
Voicemails are delivered to an email address that is configured for Email-to-Case in Salesforce, so each voicemail raises a Case.
You have permission to create custom fields and build Flows in Salesforce Setup.
How it works
You will create a lookup field that relates a Case to a Call Reporting record, then build a record-triggered Flow. When a voicemail Call Reporting record is created, the Flow finds the matching Case and links the two records in both directions. Once related, you can build Salesforce reports across Cases and their originating calls.
Create a Call Reporting lookup field on the Case object
This field stores the link from a Case to its related Call Reporting record.
Click the Setup cog, then click Setup.
Open Object Manager and find Case by searching in the Quick Find.
Click Fields & Relationships, then click New.
Set the Data Type to Lookup Relationship, then click Next.
Set Related To to Call Reporting, then click Next.
Enter the Field Label as Call Reporting. The Field Name auto-populates as
Call_Reporting.Optionally add a Description and Help Text, and leave the remaining fields as their defaults. Click Next.
Set the field-level security as required, then click Next.
Add the field to the page layouts you want, then click Next.
Add the related lists to the page layouts as required, then click Save.
Create a record-triggered Flow to link the records
This Flow runs when a voicemail Call Reporting record is created, finds the matching Case, and relates the two records.
Start the Flow
Click the Setup cog, then click Setup.
Search for Flows in the Quick Find, then click New Flow.
Select Start From Scratch, then click Next.
Select the Record-Triggered Flow type, then click Create.
Click the Start element and configure it as follows:
Object: Call Reporting
Trigger the Flow When: A record is created
Optimize the Flow for: Actions and Related Records
Under Set Entry Conditions, set Condition Requirements to All Conditions Are Met (AND) and add the following condition:
Field | Operator | Value |
|---|---|---|
| Equals | Voicemail Record |
Find the matching Case
Click the plus sign and add a Get Records element.
Set the Label to Find Voicemail Case. The API Name auto-populates as
Find_Voicemail_Case.Set Get Records of This Object to Case.
Under Filter Case Records, set Condition Requirements to All Conditions Are Met (AND) and add the following conditions:
Field | Operator | Value |
|---|---|---|
Subject | Contains |
|
Subject | Contains | Voicemail from |
| Is Null |
|
Under Sort Case Records, set Sort By to CreatedDate and Sort Order to Descending.
Set How Many Records to Store to Only the first record.
Set How to Store Record Data to Choose fields and let Salesforce do the rest.
Under Select Case Fields to Store in Variable, add the Id and Call_Reporting__c fields.
Click the Find Voicemail Case element, then click Add Fault Path.
Update the Call Reporting record with the Case
Click the plus sign and add an Update Records element.
Set the Label to Update CR with Case. The API Name auto-populates as
Update_CR_with_Case.Set How to Find Records to Update and Set Their Values to Use the Call Reporting record that triggered the flow.
Set Condition Requirements to None—Always Update Record.
Under Set Field Values for the Call Reporting Record, set the following:
Field | Value |
|---|---|
|
|
Update the Case with the Call Reporting record
Click the plus sign and add another Update Records element.
Set the Label to Update Case with CR. The API Name auto-populates as
Update_Case_with_CR.Set How to Find Records to Update and Set Their Values to Specify conditions to identify records, and set fields individually.
Set Update Records of This Object Type to Case.
Under Filter Case Records, set Condition Requirements to Update Records to All Conditions Are Met (AND) and add the following condition:
Field | Operator | Value |
|---|---|---|
Id | Equals |
|
Under Set Field Values for the Case Records, set the following:
Field | Value |
|---|---|
|
|
Save and activate
Click Save and give the Flow a name.
Click Activate.

Verification
To confirm the configuration is working, leave a test voicemail to a number that routes to the Email-to-Case address, then check the resulting Case:
The Case shows a populated Call Reporting lookup field pointing to the related Call Reporting record.
The Call Reporting record shows the Case in its Case field.
Once the records are linked, you can build Salesforce reports that combine Case data with its originating Call Reporting record.