Victor Chen
ServiceNow Employee
ServiceNow Employee

Your topic authors are probably curious which bot output nodes are used and interacted with the most. You can create your own custom event to track in the conversational analytics dashboard to visualize data such as this. This article shows how to create a custom event that measures which bot output nodes are used such as Text, Link, or Boolean.   

 find_real_file.png

 

  1. Navigate to Conversational Analytics > Event Configuration 
  2. Click “New”. 
  3. Enter in information as follows: 

 find_real_file.png

4. Click Submit.  

5. Under Event Properties, click “New”, and enter in the following Value Script: 

 find_real_file.png

(function calculate(sourceGr) {  

var payload = JSON.parse(sourceGr.payload); 

var controlType = payload.uiType; 

  return controlType; 

})(sourceGr); 

 

6. Click “Submit”. 

7. Run several topics with different output types to see the result.  

 find_real_file.png

Comments
Adam Chapman
Tera Guru

Thanks Victor - this example certainly helps, but I would love to see a Virtual Agent Academy session that does more of a deep dive into this feature. Keep up the great work!

Alain10
Giga Contributor

Hi Victor,

 

Are those options available to try in a PDI, if yes, how do you get there?

 

Thanks,

Version history
Last update:
‎03-30-2022 12:13 PM
Updated by: