Recipe: Route a chat to a department based on the URL of the website

Return to top

5 Comments

  • Pankaj Chhalotre

    Is there a way to assign the chat to a department based on domain url rather than special page url? for example instead of wwww.xyz.com.au/sales/index i want evey chat that get started to be routed to a department based on domain url e.g. wwww.xyz.com.au irrespective of whatever page visitor are on that side.

    Appreciate any insight you can share around this. 

    Regards,

    Pankaj

    0
  • Beto
    Zendesk Customer Care

    Hi Pankaj,

    If you want to route Chats to a department based on the domain instead of the specific URL, the solution is very similar to what Sheena describes above. The only difference is in the Condition:

    Instead of Visitor page > equals > www.xyz.com.au/sales/index
    You can change to Visitor page > contains > www.xyz.com.au

    This way, anyone in your page, regardless of their specific path will be automatically routed using this trigger.

    I hope this helps!

     

    -1
  • Leo Medalla

    This recipe isn't working for whatever reason. We have 2 brands and separated by 2 departments and 2 different websites. But for some reason when a customer chat queue is shared.

     

    0
  • Neil
    Zendesk Customer Care
    Hey Leo,
     
    You can try setting up the trigger condition "visitor page URL" "contains" to just use the domain name and remove any "visitor page URL". 
    You also would want to set the run trigger condition to "when a visitor has loaded the chat widget" so that the action will be applied correctly.
     
    Hope this helps.
    0
  • Jahn Bronilla

    Hi Neil, I am also having the same issue.

    I have the below conditions:

    Run Trigger: When a Chat Message is sent 

    Meet all
    Visitor Page URL>Contains>(the URL where chat originated)
    Visitor Tag>contains>(our end user do have specific tags)

    Action:
    Set Visitor department>(specific department
    Add Tags>(Specific Tag)

    Can anyone help please? 

    0

Please sign in to leave a comment.

Powered by Zendesk