Chat routing depending on chat tags or visitor notes



  • Prakruti Hindia
    Zendesk Product Manager

    Hi Peter, 

    Thank you for writing and providing details on expected behaviour. I can start by clarifying the terms - visitor tags and chat tags. They are essentially added the same way but differ only on when they are added. 

    • Visitor tag - Any tag added before the visitor initiates the chat or agent sends a proactive chat. Since the chat has not yet started, we expect that the tag contains an association with the visitor
    • Chat tag - Tag added  by the agent once the chat begins.This is likely to contain more details on the chat. 

    A visitor tag and notes can be added dynamically using addTag and setNotes Javascript APIs. These APIs would work only once the widget has been initialised/loaded on the page. 

    • If the widget loads along with page load, you can use these APIs to set tags and notes. 
    • If the widget is conditionally loaded, you can store this information in your system and then add it once the widget is initialised. 

    If the tags have a matching skill created and assigned to the agent, no other setup would be required to assign chats to agents based on tags. 

    Triggers can still be used to assign department for the chat. 

    Interested to know whether this is what you are looking for? Would be happy to answer more questions on this. 

    - Prakruti


  • Peter Pan

    Hi Prakruti,

    Thank you! It makes sense, so the option for us is to use the Zopim Javascript API for `addTag`.

    How will this work for the mobile SDK for iOS and Android? Could a visitor be tagged, so that the chat can be routed to the agent with the matching tag/skill using the SDK?

  • Peter Pan

    I got in touch with Diosa, and she confirmed that we can add tags via the mobile SDK.

    Thank you Prakruti and Diosa for the assistance! 

  • Jessie Schutz
    Zendesk team member

    Hi Peter! I'm glad you got it figured out!


Post is closed for comments.

Powered by Zendesk