Salesforce Chat

Salesforce

How to create Case from Einstein BOT only when Chat is transferred to an agent and change the owner in Salesforce using OmniToolKit?

1. Create the following Apex class.Apex Controller:public class ChatAcceptedController {        @AuraEnabled    public static void updateCase( String strChatTranscriptId, String strUserId ) {                LiveChatTranscript objChatTranscript = [ SELECT Id, CaseId ....