- 28 Nov 2024
- 1 Minute to read
- Print
- DarkLight
12.1.4. Combining From and To Natterbox User
- Updated on 28 Nov 2024
- 1 Minute to read
- Print
- DarkLight
The Call Reporting object has two fields that populate with the Natterbox User:
From Natterbox User populates on an outbound call (Call Direction = Outbound)
To Natterbox User populates on an inbound call (Call Direction = Inbound)
Both fields will populate on a connected internal call (Call Direction = Internal)
This can cause some problems if you want a combined metric for inbound and outbound calls that an agent completed. To achieve this, you can create a field that combines From Natterbox User and To Natterbox User. Here are the steps:
Click the Setup cog in the top right and then go to the 'Object Manager'.
Search for ‘Call Reporting’ and then click ‘Fields & Relationships’.
Step 2. Choose output type
Field Label = "Natterbox User" or "Combined Natterbox User" or whatever you prefer
Field Name = autopopulates
Formula Return Type = Text
Next
Step 3. Enter formula
Formula =
IF( TEXT(nbavs__Call_Direction__c) = "Outbound",nbavs__From_AVS_User__r.Name, IF(TEXT(nbavs__Call_Direction__c) = "Inbound",nbavs__To_AVS_User__r.Name, ""))Enter a description or help text if you would like
Leave everything else as default
Next
Step 4. Establish field-level security
Leave as default or change as desired
Next
Step 5. Add to page layouts
We recommend adding to the page layouts but you can choose otherwise.
Save
After creating that field, you might want to create a report to get combined outbound and inbound calls per agent:
Report type = Call Reporting
Show Me = All call reporting
Change date to Call Reporting: Created Date = desired time frame
Filter on Call Direction = Inbound and Outbound
Group by Natterbox User (new field that was created) and then Call Direction
Toggle off 'Detail Rows'