- Real-time Speech and Text Analytics capabilities require one of the following licenses:
- Genesys Cloud CX 1 or Genesys Cloud CX 2 with AI Experience Tokens, which includes access to the Speech and Text Analytics Add-On
- Genesys Cloud CX 1 or Genesys Cloud CX 2 with the WEM Add-On
- Genesys Cloud CX 3
- Genesys Cloud CX 4
- Required permissions
- To enable or disable real-time analysis for a program, you need:
- Speech and Text Analytics > ProgramProcessingSettings – Edit
- Speech and Text Analytics > Program – Edit
- To view the real-time analysis configuration, you need:
- Speech and Text Analytics > ProgramProcessingSettings – View
- Speech and Text Analytics > Program – View
- To enable a lexical topic for real-time analysis, you need:
- Speech and Text Analytics > Topic – Edit
- To work with process automation triggers, use the appropriate permissions:
- Process Automation > Trigger – View
- Process Automation > Trigger – Add
- Process Automation > Trigger – Edit
- Process Automation > Trigger – Delete
- Process Automation > Trigger – Test
- Low-latency transcription is required for real-time topic and sentiment processing.
Use real-time analysis with process automation to respond to sentiment and topic events while a voice interaction is still in progress. For example, you can create a workflow that alerts a supervisor when Genesys Cloud detects negative customer sentiment or a specific topic during an interaction.
Real-time analysis evaluates eligible interactions for customer sentiment and selected topics as the interaction occurs. Genesys Cloud can publish these detections as real-time events that process automation triggers use to start workflows.
Before you begin
Before you configure real-time analysis, make sure that:
- Your organization has a supported license.
- Customer Sentiment Analysis is enabled if you want to use real-time sentiment events.
- You have created and published the program that applies to the queues you want to analyze.
- For real-time topic detection, you have created lexical topics and enabled them for real-time analysis.
- The appropriate program is assigned to the queues that handle the interactions you want to analyze.
- You have the required permissions to configure real-time analysis and process automation triggers.
Note: Real-time analysis currently applies to voice transcripts. Email interactions are not supported.
Enable real-time analysis for a program
- Open the program that applies to the queues you want to analyze.
- Click the Real-time Analysis tab.
- Turn on Enable Real-time Analysis.
Note:
- When enabled, eligible interactions associated with the program can be evaluated for customer sentiment and selected topics in real time.
- Changes to the real-time analysis configuration take effect as you make them. You do not need to publish the program again to apply changes made on the Real-time Analysis tab.
- Real-time analysis is disabled by default.
- For calls to generate real-time sentiment or topic events, a program with real-time analysis enabled must apply to the agent’s queue.
Enable topics for real-time detection
You can enable lexical topics for real-time detection. Genesys Cloud can process up to 100 lexical topics enabled for real-time detection for each program. If enabling a topic would cause any program assigned to that topic to exceed the limit, Genesys Cloud prevents you from enabling it. Topics that are not enabled for real-time detection continue to be processed after the interaction through the standard Speech and Text Analytics processing pipeline.
- Open the topic in the Topic Editor.
- Enable the topic for real-time analysis.
- Make sure that the topic is assigned to the appropriate program.
Note: Semantic topics are not supported for real-time topic detection.
How real-time events work
During an eligible voice interaction, Genesys Cloud analyzes the transcript as it becomes available.
When Genesys Cloud detects configured information, it can generate:
- Real-time sentiment events when positive or negative customer sentiment is detected.
- Real-time topic events when an enabled lexical topic is detected.
For example, if a customer says that they want to cancel a subscription and a corresponding cancellation topic is enabled for real-time detection, Genesys Cloud can publish a topic event while the interaction is still active.
Genesys Cloud publishes an event for each detection. If the same topic is detected three separate times during an interaction, Genesys Cloud publishes three topic events.
Real-time sentiment detection can differ from the sentiment information generated after the interaction because real-time analysis uses a smaller context window. Interaction Details continues to display the post-interaction sentiment events rather than the real-time sentiment detections.
Create a process automation trigger for real-time events
You can use process automation to start a workflow when Genesys Cloud publishes a real-time sentiment or topic event.
Use the following notification topics:
Real-time topics
v2.speechandtextanalytics.conversation.{id}.realtimetopics
Real-time sentiment
v2.speechandtextanalytics.conversation.{id}.realtimesentiment
To configure the automation:
- Create the workflow that you want Genesys Cloud to run when the event occurs.
- Go to Menu > Orchestration > Triggers and create an event-based trigger.
- Select the appropriate real-time notification topic.
- Select the workflow that the trigger should start.
- Configure trigger conditions if you want the workflow to run only for specific events.
- Save and test the trigger.
The trigger receives the event data in JSON format and passes it to the workflow.
Real-time topic event data
A real-time topic event can include information such as:
- conversation ID
- program ID
- topic ID
- topic name
- participant type
- detected topic phrase
- matched transcript
- user ID
- queue ID
- division ID
You can use these values in the workflow to determine what action to take.
Real-time sentiment event data
A real-time sentiment event can include information such as:
- conversation ID
- utterance ID
- program ID
- queue ID
- user ID
- division ID
- sentiment classification
- sentiment count
- transcript phrase
Sentiment classification identifies the detected sentiment as positive or negative.
Example: Alert a supervisor during a live interaction
You can combine real-time analysis, process automation, and a workflow to notify supervisors when an interaction may require attention.
For example:
- A customer says, “This is terrible. I want to cancel.”
- Real-time analysis detects negative customer sentiment.
- Genesys Cloud publishes a real-time sentiment event.
- A process automation trigger receives the event and starts a workflow.
- The workflow uses information from the event to build a notification.
- The workflow sends the notification to the appropriate supervisor or Genesys Cloud group.
- The supervisor can review the active interaction and determine whether intervention is appropriate.
You can use a similar workflow for real-time topics. For example, a workflow could notify supervisors when Genesys Cloud detects a Cancellation or Request supervisor topic.
The workflow can use a Send Notification action to send an email notification or a chat notification to a Genesys Cloud group.
When Genesys Cloud publishes real-time events
Genesys Cloud publishes a real-time topic event only when:
- The interaction is in a queue associated with a program that has real-time analysis enabled.
- The detected topic is a lexical topic that is explicitly enabled for real-time detection.
Genesys Cloud publishes real-time sentiment events when:
- The interaction is in a queue associated with a program that has real-time analysis enabled.
- Customer Sentiment Analysis is enabled at the organization and program levels.
Considerations
- Real-time topic and sentiment analysis applies to voice transcripts.
- Email interactions are not supported.
- Only lexical topics can be enabled for real-time topic detection. Semantic topics are not supported.
- Each program can have up to 100 lexical topics enabled for real-time detection.
- Genesys Cloud generates an event for each topic or sentiment detection.
- Real-time sentiment detections may not exactly match post-interaction sentiment results because the analyses use different context windows.
- Real-time events are intended to support workflows that need to respond while an interaction is active, such as supervisor alerts and other process automation.
For more information, see Process automation triggers with topics, sentiment, and empathy