image for site

Route Chat to Department Based on URL

Learn how to route chats to specific departments using URL-based triggers in Zendesk.

How can I route a chat to a specific department based on the URL?

You can route a chat to a specific department by creating a Chat trigger based on the URL of the page the visitor is on. This involves setting a condition in the Chat trigger to check the visitor's page URL. For example, if you want to route chats from your pricing page to your sales team, you would set the condition to 'Visitor page URL | Equals | www.sampleurl.com/pricing' and then perform the action 'Set visitor department | Sales'.

It's important to note that the 'Set visitor department' action only works when the trigger condition is set to 'When a visitor has loaded the chat widget'. For more detailed instructions, you can refer to the originalZendesk help article.


More related questions

Can I route chats based on the domain URL instead of a specific page?

Yes, you can route chats based on the domain URL rather than a specific page URL. To do this, modify the condition in your Chat trigger to 'Visitor page > contains > www.xyz.com.au'. This way, any chat initiated from your domain, regardless of the…

Why is my chat routing trigger not working as expected?

If your chat routing trigger isn't working, it might be due to incorrect trigger conditions or actions. Ensure that the 'Set visitor department' action is used with the 'When a visitor has loaded the chat widget' trigger condition. If the trigger…

Is there a limit to the number of conditions a Zendesk trigger can check?

There isn't a strict limit to the number of conditions a Zendesk trigger can check, but adding many conditions can delay the execution time. Each condition requires additional processing, which can slow down the trigger's response. For optimal…

How can I test if my chat routing trigger is working?

To test if your chat routing trigger is working, you can add tags to your trigger actions. If the tags are not added when the trigger is supposed to fire, it indicates that the trigger did not execute as expected. Testing with tags provides a…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites