8 AgentAssistV1_LIBID_b2aedee9-ab1e-4923-9d64-04cee8118482 Agent Assist KAA 652 148 6 1 b2aedee9-ab1e-4923-9d64-04cee8118482 -1 0 0 7 POPURL PopURL {__agentid} https://agentassist.kore.ai/integrations/nice/iframe/?params={scriptparamsjson} Kore Agent AI ContactPanel 0 0 False False 8 0 528 148 5 0 ff08b4cd-1ac1-d8f4-b52a-85fb86e7a824 8 0 0 6 SNIPPET Send EndOfConversationEvent to Kore Agent AI DYNAMIC params params.conversationId = "{contactid}" params.botid = "{botid}" params.clientid="{clientid}" params.clientsecret="{clientsecret}" params.baseurl="{baseurl}" params.language="{language}" requestBody = "{params.asJSON()}" existingUserProxy = GetRESTProxy() existingUserProxy.ContentType = "application/json" ASSIGN tempArr = "{baseurl.split('/')}" ASSIGN baseURI = "{tempArr[1]}" baseURI.append("/") baseURI.append("{tempArr[2]}") baseURI.append("/") baseURI.append("{tempArr[3]}") ASSIGN summaryURI = "{baseURI}/integrations/nice/triggerSummary" //set endpoint url responseBody = existingUserProxy.MakeRestRequest(summaryURI, requestBody ,0, "POST") Limit2K 5 0 400 292 3 0 b333da63-33c8-4297-a58a-e9546cf7f0f2 5 0 0 5 END End 508 292 2 0 93fb8888-30cf-4df3-8ed9-1f2986819080 -1 0 0 4 ONRELEASE Onrelease 6 0 264 292 1 0 ea1363d4-fade-4cac-b15e-c4c514c2f9b5 6 0 0 3 SNIPPET Generate iframe params ASSIGN global:clientid="Kore.ai Client Id" ASSIGN global:clientsecret="Kore.ai Client Secret" ASSIGN global:botid="Kore.ai Bot Id" ASSIGN global:baseurl="Kore.ai Agent AI Widget URL" ASSIGN global:language="en" // 'customdata' object can be utilized to pass information to Agent AI Bot // For example, customdata.agentId = "{__agentid}" DYNAMIC customdata DYNAMIC scriptparams scriptparams.clientid="{clientid}" scriptparams.clientsecret="{clientsecret}" scriptparams.botid="{botid}" scriptparams.agentassisturl="{agentassisturlencoded}" scriptparams.conversationid="{contactid}" scriptparams.source="nice" scriptparams.isCall=true scriptparams.baseurl="{baseurl}" scriptparams.interactiveLanguage="{language}" scriptparams.agentName="{first} {last}" scriptparams.agentId="{__agentid}" scriptparams.customdata="{customdata.asJSON()}" ASSIGN restProxy=new UCN.Data.RESTProxy() ASSIGN scriptparamsjson=restProxy.EncodeBase64("{scriptparams.asJSON()}") Limit2K 7 0 400 148 4 0 b333da63-33c8-4297-a58a-e9546cf7f0f2 7 0 0 1 BEGIN Begin Unnamed0 3 0 264 148 0 0 b2f794c5-0232-40e7-9830-76d573bf57d7 3 0 0 NICE Agent Desktop Outbound Voice 2025-10-23T08:11:50.217 2025-10-27T11:00:50.597 44030417 Kore.ai Mountain Standard Time Unnamed0 4 0001-01-01T00:00:00