You will then need to configure Leopard with your LiveChat key that points at your account. This key can be found on /settings/chat-link . It's a numerical number.
Key found in page link url
Leopard's build variables control access to the integration with LiveChat.
LiveChat API Key
You will also need to acquire the LiveChat Personal Access Token (PAT) so that an Integration in Teneo can be created. This integration will be responsible for checking to see if there is a live agent currently available before initiating a handover.
You can control you authorization scopes. At the very least you will need agents_read.
Studio
Integration
When a user explicitly asks to speak to a human or some other handover rule has been triggered you will want to first check to see if there's a live agent available. This can be done using a custom integration in Teneo Studio. You will need to update the entity id and pat in the integration script.
Integration in Studio
Trigger Handover
The handover in Teneo is triggered by adding an output parameter to any output node.
Building the Dialog Transcript
Create a global variable called dialogTranscript
Pre-processing Script
Post-processing Script
Example Flow
Live Chat Handover in Studio
Setting User Info
If you want the LiveChat human agent to know who they're about to talk to then you can send some additional JSON back in an output parameter.