The call type code does not match the code in Speech Analytics
Discover the pre-scaling validations when the user reports the discrepancy between the call typing code and the code in Speech Analytics.
Table of Contents
Symptom or Need
The user reports that the activity code used to classify (code) a call does not match the code shown in the Speech Analytics report.
Context / Scenarios
- Affected modules : Reports Module, Data Monitor and Speech Analytics Report.
- Typing methods involved : This incident usually occurs in operations that classify their interactions through multiple channels, whether through the manual option of Coding, automations by Scripting, or data injections via API.
- Integration and flow environment: This occurs in scenarios where the client process interacts with its own databases or consumes external APIs, which is a critical factor, since these integrations could be overwriting the original coding of the call.
-
Scope of behavior : The inconsistency may occur massively in the general calls of the operation, or partially, affecting only a specific percentage of calls (for example, those that are triggered exclusively by the speech).
Answer / Solution
Minimum information gathering
To manage this incident, validate the following information with the client and document it in the case:
- Name of the affected operation .
- Percentage of overall impact of the failure .
- Name and number of the specific report(s) being consulted by the client and showing inconsistency.
- Call ID, date and time of the calls that present the inconsistency.
Initial Validations
Perform the following checks to diagnose the problem:
- Confirm with the client how the calls are being categorized (whether it is done through the Encode option, by Scripting or via API ).
- Analyze the process the client performs to replicate the incident , including reviewing the flow, the behavior of the client's databases, and whether there is consumption of external APIs.
- Perform a review of the call IDs shared by the client and validate and compare if the typing matches between the Data Monitor and Speech Analytics .
- Check if the problem occurs with all calls in the operation or only with a specific agent or activity code. To do this, check a percentage of the operation's total calls.
- Validate the percentage of calls being triggered by the script. This is to assess its impact on operations.
- Perform a controlled test on another operation of the same server, encoding via API , to verify if the call's encoding is overwritten under this method.
- Always extract and include the verbose or details of the calls where the novelty occurs, to attach it as a technical analysis of the case.
Escalation
Once the validations have been carried out and documented, scale the case to Level 2 (Core).
Possible Causes
- Conflicts in the flow or databases: The client's internal process may include cross-referencing with their own databases or consuming external APIs that alter the final code read by the Speech Analytics tool.
Practical Example
-
Scenery: An advisor answers a call and uses the manual "Code" option to classify it as
Venta Exitosa. However, the customer flow consumes an external API which, upon updating the customer database, returns an event that overwrites the classification toGestión Administrativa. Consequently, the call ID on the advisor's monitor displaysVenta Exitosa, but Speech Analytics shows the API update (Gestión Administrativa), creating the inconsistency.
Considerations
- Importance of the detailed record: In order for the technical team to confirm if there is an overwrite, it is strictly mandatory to include the verbose (technical record) of the specific calls where the novelty was detected.
- Identify the scope: Before escalating, consider whether the failure occurs in all calls of the operation or only in the percentage of calls that are triggered by the speech .
Recommendation
- Audit API integrations: Recommend that the client review the logic and code of the external APIs they consume during the call to ensure that they are not sending parameters that reset or overwrite activity codes.