Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Livechat Agent Priority

Open reetp opened this issue 9 years ago • 5 comments

Rocket.Chat Version: 54.2 Running Instances: 1 DB Replicaset OpLog: Disabled Node Version: 4.8.0

I might be missing something but is there any way to assign Agent Priority in Livechat ?

Or how does Rocket determine who to send a new chat to?

reetp avatar Apr 26 '17 09:04 reetp

There are 2 ways to manage new chat.

  • 'Least amout' (default) -> the agent with the least number of open chats is paired with the incoming livechat.
  • 'Guest pool' -> An incomming livechat is created as an Inquiry which is picked up from an agent. An Inquiry is visible to all agents (TODO: in the correct department). A room is still created with the initial message, but it is occupied by only the client until paired with an agent.

raelsan avatar Apr 26 '17 09:04 raelsan

How does the system decide when there are no chats, or say you have 2 agents with equal amounts of chats?

Just curious :-)

reetp avatar Apr 26 '17 14:04 reetp

I looked at the code and I think it depends on the order in which agents accounts have been created. In your example, If the agent A has been created before the agent B, an incomming livechat will be assigned to the agent A.

raelsan avatar Apr 26 '17 14:04 raelsan

OK and thanks for looking.

Might be easier to see the (numeric?) assignments and be able to vary them I guess. That would be a NFR.

Guest Pool - do all Agents get notified on a new chat?

reetp avatar Apr 26 '17 16:04 reetp

All agents see all requests in their menu. Everyone can choose which customer(s) they wish to talk with. When an agent takes a request, this request moves to another part of the menu and the agent is now the only one who see the chat. One thing cool is when the agent click on the request, there is an alert with the first customer message and the agent can choose if he wants to take the request or not. During the conversation, the agent can return the request to the list of requests and another agent can takes it.

raelsan avatar Apr 27 '17 07:04 raelsan