Issue symptoms

I am having issues with live chat department routing. Department routing is active in live chat, but does not route chats correctly.

  • Chats route to the wrong agents and wrong departments.
  • Chats route to offline agents.
  • Chats do not route to a department when they should.

Resolution steps

Note: This article applies to accounts using live chat in Agent Workspace. To route conversations using messaging, see the article: Routing messaging tickets and notifications.

To verify the issue is not caused by online status

The routing issue can occur because of a department's offline status. When you route live chats with triggers, the conversation goes to the department specified in the trigger even if that department is offline. This behavior can cause lost chats.

To verify the pre-chat form works correctly

If you use the pre-chat form to allow customers to choose a department:

  1. Ensure that the pre-chat form is activated and that it works correctly in the account.
  2. Also, ensure the department option is not hidden on the pre-chat form. For more information, see Can I hide the department field on the pre-chat form?.

To verify the trigger setup

If you use a trigger to route chats to departments, make sure you use the correct department condition in the trigger.

  • When you use the Set visitor department action in a live chat trigger, make sure Run trigger is set to When a visitor has loaded the chat widget.
  • Department routing does not work if Run trigger is set to When a visitor requests a chat or When a chat message is sent. See the image below for an example:

Chat trigger setup

  • If a proactive chat trigger starts the chat instead of the visitor, this bypasses other routing triggers. In this case, the chat routes to any available agent regardless of the department. If you want chats that start with a proactive message to route correctly, make sure proactive chat triggers include the Set visitor department action.
Note: The Set visitor department action must be above the Send message to visitor action. The visitor department can only set the chat department before a chat starts.

Why are live chats routing to the wrong department or team? Why do live chats route to offline agents? How do I fix live chat department routing issues?

Routing issues occur in Agent Workspace due to offline department status, hidden pre-chat form fields, or incorrect trigger settings. Chat triggers or auto-reply rules send chats to specified departments even if offline, which can cause lost chats.

How do I fix department routing on the pre-chat form? How do I route live chats using the pre-chat form?

To verify that your pre-chat form routes chats correctly:

  1. Verify that you activate the pre-chat form and that it functions in your account.
  2. Ensure you do not hide the department option on the pre-chat form.

How do I configure chat triggers for department routing? What setting causes live chat trigger routing to fail?

To route live chats with triggers correctly:

  1. Add the Set visitor department action to your live chat trigger.
  2. Set Run trigger to When a visitor has loaded the chat widget.

Department routing fails if you set Run trigger to When a visitor requests a chat or When a chat message is sent.

How do proactive chat triggers route to departments? Why do proactive chats route to any available agent?

Proactive chat triggers bypass other routing triggers, sending chats to any available agent or support person. To route proactive chats correctly:

  1. Include the Set visitor department action in your proactive chat trigger.
  2. Place the Set visitor department action above the Send message to visitor action. You must set the visitor department before a chat starts.
Powered by Zendesk