You can use departments in Zendesk Chat to filter chat requests to specific groups of agents. For example, you might want of your billing and payment questions to go to your Billing department, while troubleshooting questions should go to the Tech Support department.
When a chat is assigned to a certain department, the chat request appears only in the queues of agents in that department. Just as without departments, an agent must click Serve Request to respond to the chat.
One way to assign a chat to a department is to list departments on the Pre-Chat form so visitors can select the department they want to chat with. For more information, see Enabling the Pre-Chat form. If you'd rather automatically send chats to a certain department based on the visitor's current page, tags, locale, or other information, you can do so using triggers.
Note that because all triggers fire at the same time and run through their conditions and actions sequentially, you should use the
Still on site condition to add a one-second delay at the beginning of this routing trigger. This allows other triggers to perform actions that might be required before you can accurately route your chat. For example, if you need to reference a visitor tag to determine which department should receive a chat, this delay will allow the trigger that assigns the visitor tag to perform that action before it's used as a condition in your routing trigger. See below for an example of this condition.
To route chats automatically
- From the dashboard, go to Manage > Triggers.
- Click Create Trigger.
- Set up your trigger's conditions and actions.
- Set the
Still on sitecondition to add a delay.
- Choose the condition (in this case, a visitor tag) you're using to identify which department should receive the chat.
- Select the
Set Visitor Departmentaction and select a department.
- Set the
- Click Create Triggers.