Question
5
Replies
364
Views
Cisco Systems Inc
Posted: May 15, 2020
Last activity: December 9, 2020
Initiate Pega Chatbot through button
Hi, I have a requirement that we have to initiate a chatbot on clicking a button. The script that Pega provided it creates a chat icon at the button of the page and business does not want this. How we will configure or what is needed to configure so that we can have a button and chatbot can be initiated from that button.
Here is our business case:
we tried the below options but none of those solve our issue:
Option 1: There is a post by Amit in community. https://collaborate.pega.com/question/initiate-pegachat-through-hyperlink
we tried to create a control to have the chat snippet. Chat gadget is getting launched but looks like this is only for the live agents based on the chat queues we configured in the Chat Servers. How do we launch the Chatbot with the configuration to driver the Q & A ? Is it applicable at all in this scenario?
Option 2: InvokeAdvisor ()
We tried to trigger invokeAdvisor function from a button click. All the PegaHelper.js, PegaHelperExtension.js and Mashup.js are accessible. But it is giving an error “Errors:.HelpConfiguration: Unable to load data page D_OnlineHelpConfig. Required parameters : HelpConfigName. cannot be blank”. We are not able to understand the execution path and how this data page is getting populated.