+ Start a Discussion
Yamini Bathula 15Yamini Bathula 15 

Automated Chat Invitation with Einstein bot

Hello everyone,

We are looking to get automated Chat invitation working for us.

We have tried it on a visualforce page and community too. It is not working any where.

I will paste my visualforce page code here for your reference. Please let me know if I am missing anything.
 
<apex:page>

<div id="liveagent_invite_button_57355000000222" style="display:none;">
<span style="cursor: pointer; width: 100px; height: 20px; padding: 5px;" onclick="liveagent.startChat('57355000000222')">Start Chat</span>
<span style="cursor: pointer; width: 100px; height: 20px; padding: 5px;" onclick="liveagent.rejectChat('57355000000222')">Reject Chat</span>
</div>
</apex:page>

Another question, Can we integrate automated chat with Einstein bot?
For example, if the customer stay on any page on the website for more than 1 minute a chat window pops up to acccept/reject chat. When the customer accepts the chat, can we direct that chat to the einstein bot? 
 
Yamini Bathula 15Yamini Bathula 15
I have changed the button id