CA Realtime
  • 30 Apr 2025
  • 3 Minutes to read
  • Contributors
  • PDF

CA Realtime

  • PDF

Article summary

Integration node for Conversational Analytics (CA) Realtime, also known as Real-Time Guidance (RTG).

Parameters

name
description
default
AddressAddress of the Conversational Analyticshttp://ca-external-api.sestek-ca
IgnoreSslErrorsIgnore any certificate errors if Conversational Analytics address contains httpsfalse
CredentialIdId of the credential that will be used for Conversational Analytics http calls.None

Inputs

Audio

none

Events

namedescriptionknown nodes that generate this event
SR MilestoneSpeech Recognition results, used for wildcard phrase checks in word scenarios, LetterPerSecond generation in speed scenarios, and transcript generation.SR Http, SR WebSocket
EmotionAudio Emotion results. The node checks if monotonicity is outside normal ranges depending on the scenario.Emotion
SentimentText Sentiment results. Used in transcript generation on Customer's channel, and negative sentiment scenarios.Sentiment
CallStateUpdateUpdates CA Conversation Status depending on Call State, can be Start, End, On Hold, Continue etc.Entry, External Relay

Outputs

Audio

none

Events

defaultdescription
RTG ScenariosThis event contains the active and filtered scenarios. The scenarios are contained within an array. This event is generated at startup.
RTG StateThis event contains the Conversation State updates. These events are generated when the conversation state changes.
RTG NotificationThis event is generated whenever a notification is triggered, and contains the notification information.
RTG TranscriptThis event occurs whenever a transcript is generated and has sentiment information if it is a customer sentiment.

Remarks

Requirements

"StartMessage" requirements

"StartMessage" should contain

  • At least one definition under "CallProperties.UserProperties" except for AgentName. This let's CA determine the agent and corresponding scenarios in this session. Since AgentName cannot be used to determine the agent, we need one of the other unique identifiers.
  • Definitions for ChannelTags. This specifies which channel belongs to the customer and which to the agent.
  • Other fields are optional.
  {
    "CallProperties": 
    {
      "ExternalId":"", // string 
      "UserProperties":
      {
        "AgentName":"",     // string
        "DeviceId":"",      //string
        "ExternalId":"",    //string
        "PbxAgentId":""     //string
      },
      "CustomerPhoneNumber": "",    // string 
      "Direction": 1,               // integer 
      "CallerNumber":"",            // string 
      "CalledNumber":"",            // string
      "CallStartTime":""            // ISO 8601 DateTime formatted string
    },
    "Settings":
    {
      "ChannelTags": 
      [
        "a_tag_for_channel_0",                          //string seperated by "," or ";"
        "a_tag_for_channel_1;another_tag_for_channel_1" //string separated by "," or ";"
      ]
    }    
  }

"StartMessage" example

  {
    "CallProperties": 
    {
     "ExternalId":"a_valid_call_id",
     "UserProperties":
      {
        "PbxAgentId":"a_valid_pbx_agent_id"
        "ExternalId":"a_valid_external_id"
      },
      "CallStartTime":"2022-10-31T09:00:00Z"
    },
    "Settings":
    {
      "ChannelTags": 
      [
        "agent",
        "customer"
      ]    
    }
  }

Workflow

This node first determines the applicable CA scenarios. Then it processes incoming Data Flow events and sends relevant information to CA servers.

Moments

While information is flowing to CA, call related events can be observed in the RTG Moments board.

image.png

RTG Dashboard

At the start of session, the node notifies RTG that the determined agent is on a call. Which changes the Conversation Status of the agent in RTG Dashboard.
Upon receiving CallStateUpdate events from the client, or when the call ends, the node informs CA to change the conversation Status accordingly.

image.png

Transcripts

CA Realtime node provides transcripts to CA in real time. It also includes customer side sentiment information in the transcripts if available.

image.png

Project Structure

The CA Realtime node requires a Channel Switch node. Input from two SR Http nodes, Emotion from the Agent channel, and Sentiment from the Customer channel.

image.png

The default project ca-online in Data Flow contains a ready to use CA Realtime node.

Supported flow types

Stream, Batch

Release Notes

v3.7.0
  • Agent Id can now be acquired later in the call via a CallStateUpdate event if the first Determine User failed.
v3.6.0
  • Added support for Agent Checklist Word Counts.
v3.5.0
  • Added support for sending transcripts even if the agent has no assigned scenarios.
v3.4.0
  • Added support for agent checklist scenarios.
v3.1.0
  • Now supports and sends Call Hold, and IVR Hold events properly.
  • Fixed a bug where conversation start time would show 1970.
  • Added support for scenarios defined with attached data.
  • Sends notification time when notifications are triggered.
  • Added Language awareness, Language parameter is added to node config.
  • Added support for text-only sessions as well.
v3.0.0
  • Now sends state messages such as Start, Stop and Pause to RTG Dashboard.
  • Fixed a bug where all monotonicity events were being sent.
  • Speech rate is now being calculated by Letters Per Second instead of Words Per Minute.
  • Added support for StartMessage.CallProperties
  • Added support for Reporting Incidents whenever an error is encountered.
v2.0.0
  • Fixed multiple bugs that stopped notifications from being sent.
  • Changed default address to service address.
  • Sends every transcript to the dashboard instead of just sending notifications.
v1.0.0
  • Introduced Node.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.