Can I reapply the department after a timed-out chat visitor reconnects?

Return to top

4 Comments

  • CJ Johnson

    How would you make this work if there's 5 departments that the customer may have selected from, prior to the reconnect?

    0
  • Eric Ypsilantis

    Hi CJ, the script in this article is specifically for setting (and setting again if needed) a single specified department.

    Unfortunately there isn't an API to get the prior session's department, which would be required to know which of these 5 departments to use again upon reconnection.

    0
  • moment long

    Zendesk messaging I see doesn't have as many callbacks for us to use as the classic version does.
    How do I know when the exp is about to expire and re-call the loginUser APi?
    Using a timer to keep track and then calling loginUser is a bad solution

    0
  • Jason Schaeffer
    Zendesk Customer Care
    Hello, 

    Thank you for the callout, I will be sharing this feedback with out product team. Messaging is still relatively new and there will be improvements and updates made along the way. 

    Thanks!
    0

Please sign in to leave a comment.

Powered by Zendesk