Legacy - Create custom override definitions
Use scripts to override the default formulas used to create the analytics on the Conversational Analytics Dashboard.
About this task
Conversational Analytics dashboard is being prepared for future deprecation. It will be supported until deprecation but will no longer be available for installation. A new Conversational Analytics dashboard in Platform Analytics experience, which meets the compliance requirements of Government Community Cloud (GCC), and thus FedRAMP authorized, is available. See Conversational Analytics dashboard in Platform Analytics experience.
For details on the deprecation process, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.
If you are an existing user of this dashboard and want to migrate analytics data to the new dashboard, see Migrate data to Conversational Analytics dashboard in Platform Analytics experience [KB1651556].
Before you begin
Role required: Chat Analytics Admin
Be sure to set the application scope to Conversational Analytics.
About this task
The Conversational Analytics Dashboard uses formulas to determine analytics, such as how to calculate duration. You can override the default formulas to tailor the analytics to your needs. For example, the default formula for duration in the dashboard is the time between the first and last exchanges in a conversation. You might like to override that formula by subtracting inactive times in the conversation.
The default formulas and formula overrides are in the sn_ci_analytics_formula_override table. You can only modify the existing formulas that are in the table by deactivating the default formula and creating a new formula override record. You cannot override some formulas because they are system dependent. You can, however, create custom events to achieve a similar goal.
- Duration—Time from the start of a conversation session until the last message is sent, rather than when the conversation session closes. You cannot replace the supplied script for Duration. You can only turn it on or off. If you deselect the Active check box, the duration is calculated until the end of the session. If you select the Active check box, the duration is calculated to the last message sent.
- Self-solve rate—Number of conversations that did not have negative feedback, contained a topic that went through to the last node, and did not escalate to a live agent. The dashboard divides that number by the number of all conversations to get the rate.
- Feedback—Defined as positive, neutral, and negative. For example, to override this behavior, first, use Virtual Agent (VA) Designer to create a ranking from 1 to 10. Then, you can use a script to override the dashboard's default behavior by grouping 1–4 as negative, 5–7 as neutral, and 8–10 as positive.
- End state—Defined by default in 12 ways. For more information, see Formula override examples.
- Valid conversation—Defined as a conversation record that is included in the dashboard results for satisfying at least one of the following criteria.
- Non-actionable notification conversations, which do not require validation from the user, are counted as active conversations.
- Actionable notifications that are not part of an existing conversation are considered valid conversations when the status of the notification is either Sent or Completed.
- Conversation engages Virtual Agent topic discovery or direct live agent conversation.