function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dimitri G.Dimitri G. 

Check agent status before transfer to agent (Einstein Chatbot)

Hi,

While calling the Transfer to Agent function within Chatbot/Live Agent, I want to have a check to see if any agents are online prior to transferring (currently, it just displays a msg "no agents available", which is not very desirable). If no one is online, either display the Web-to-case form or just a link to the form.

The "Offline Support" feature does not work, with Chatbot.

Any suggestions welcomed. I'm thinking custom APex code is the only way to go. 
 
Test Test 143Test Test 143
I think we need to check 'Offline user' option at User detail page of an agwent.
Sreenivas MSreenivas M
https://www.srinivas4sfdc.com/2019/12/live-agent-chat-rest-api-to-check.html