About the Chat trigger:
Use this recipe to route all chats started by visitors who are in a certain country to a certain agent or department. For example, send all chats initiated by people in France to your french speaking support team.
How to create the trigger in Chat:
Create chat triggers (one trigger for each URL or country code) with one of the Location of Visitor conditions and the action Set Visitor Department. With these triggers in place, chats will be routed accordingly to the selected department.
Learn more about how Zendesk identifies the country or city your visitor is browsing from in this article: How does Zendesk capture the location of the end-user?
For more information, see Automatically route chats to departments.
Some example triggers:
Route chats coming in from France to your french speaking advocates:
- Run trigger: When a visitor has loaded the chat widget
-
Check conditions: Check all of the following conditions
- Visitor country code | Equals | FR
-
Perform the following actions
- Set visitor department | French Customer Support
Route chats initiated in California to your Bay Area Support Team:
- Run trigger: When a visitor requests a chat
-
Check conditions: Check all of the following conditions
- Visitor region | Equals | ISO-3166-2:US-CA
-
Perform the following actions
- Set visitor department | Bay Area Support Team
6 Comments
Where do I find a list of the country codes matching the countries?
Is danish for example da or is it dk?
Thank you in advance.
Here's a list of Zendesk language support by-products and Language codes for Zendesk-supported languages (OLD)
I hope that helps!
Hello ! I'm trying to create triggers to pass on the French chats to my French team and the same for my German clients/agents;
Problem : I can't select the departments (with the action "set visitor department"), I can see them but not select them.
Kindly check your Department settings and make sure that they're enabled in Chat.
Hey Christine !
Thanks for your feedback, it worked well on my trigger. I just set it up so that the French clients' chats only come to the French team ZD dashboard, but the Germans still get chats. How does it work?
We'll need some sample tickets to check further. As per checking, you already raised a ticket with our support team.
Kindly check your email for updates. Thank you!
Please sign in to leave a comment.