Populate short description field of interaction from the text entered by user in the virtual agent chat conversation

Indu9
Kilo Contributor

When the chat interaction is created,the short description field of interaction should be populated from the virtual agent chat conversation i.e., specifically the text entered by the user in the chat that text needs to be in autopopulated in the short description field of interaction.

Can someone help me how to achieve this?

Topic: Virtual Agent;Agent Workspace

Version:Orlando

1 REPLY 1

peter_repan
Tera Guru

I would go for Business rule.

In Interaction form, there is a related list "Interaction Logs" where you can find Utterances. I would implement script looking for "oldest" utterance (this was entered as a first input from user) and put it into short description of Interaction. 

The BR would run on Interaction table. Conditions should be set based on needs, not sure about your case but it can be like "if short description is empty and assigned to is virtual agent / type is Virtual agent, etc."

find_real_file.png