.chat.agent()

This API can be used to route all the incoming chat requests to a particular operator of your firm for the first half of the configured waiting time. If not picked, then the chat(s) will be routed to all the other available agents.

Syntax

Copied$zoho.salesiq.chat.agent(" < DEFAULT AGENT > ");

Example

Copied<script>

$zoho.salesiq.ready=function()

{
   $zoho.salesiq.chat.agent("Johny.deskey@zillium.com");
}

</script>