Trigger to End Chat


22 Kommentare

  • Simon van de Westerlo


  • Yunen Yeo


    Thanks for your feedback. Currently we do not have any plans to add the ability to end chats as an action on Triggers. The current workaround is to end chat via JS API. For Dave's use case, you can add a tag whenever the trigger gets fired, then use JS API to check for the tag and end the chat via JS API.

    Hope that helps.

  • Joe Patti

    Definitely would be great to have a trigger to end chat without having to use an API.  I.E. customer is idle, inactive, abandons, hasn't chatted in X seconds, etc., chat sends custom message and closes.

  • Peter Harzewski

    I agree with Joe.  We see some issues with Agent metrics on longer inactive chats that we could better manage if there were a  trigger that alerted customer their session will end due to inactivity.

  • Linda Larsson

    Totally agree, the agents should focus on the active customers and the system should be able to wrap up the ones that drop off.

  • Dan Ross
    Community Moderator

    There has been a frequent request for this feature across multiple threads. Will Zendesk please reconsider adding this functionality natively and not require users to have development resources available to implement this? 

    Or at the very least, if there's a code sample of how to check for a tag and then use the EndChat API in your documentation, that would get a lot of people going in the right direction!

    Thanks for considering!

  • Patti Handley

    We have a very similar need and use case for a chat end event that can be set by a trigger. We are finding that it is not intuitive or convenient for customers to end a chat. We are seeing that customers are only ending the chat 15% of the time. We really need this functionality on the agent side to have the power to end a chat or have a trigger that can end a chat if the customer is idle, abandons a chat, etc. 

    We are finding that customers will leave chats open, which is causing delayed information in tickets and also random messages are being classified as missed or dropped by our agents. This is causing bad CSAT and negative customer experience. Please consider building the ability to better manage chat end events. 

  • Carolyn Bee

    +1. We would like to implement a chat rescuer with a link to drive customers to submit tickets as an option if they are unable to wait for the next available agent. It would be great to have a trigger that ends the chat if the customer elects to click on the link to submit a ticket instead. 

    The inability to close a chat if a customer has been idle for a certain period of time is also frustrating as it affects our chat duration metrics.

  • Viachaslau Skorbezh


  • Karyna Macedo

    + 1

  • Daniel Westman

    +1 !

  • Justin Fain


  • Ivan De Jesus

    Add trigger to end chat. please

  • Aswin Kannan

    +100 ;)

    Has anyone figured out any workaround? Here's our scenario:

    We have operating hours and usually, there are 10-15 chats waiting in the queue when the operating hours are over. Our agents extend their time to handle these chats (they go invisible and pick them manually from the queue). However, this is not possible when we have 100 chats waiting. So we'd like to set up a trigger that checks if the account is offline and if the visitor is not served, we want to send an automated message like "please contact during business hours" and then end the chat. Is this possible now? TIA!

  • Also upvoted! We have similar usecase. We need to automatically send visitor a message, like "Do You have any questions left?", and then another message like "Have a nise day!" and close a chat, if there is no responce on those messages. Now we can't perform theese actions using triggers. 

  • Adam Forster

    These triggers are still something that would be incredibly useful to have - idle chat times & inability to properly end chats from the agents side are something that is skewing our duration metrics. Is there any update on this Zendesk? Is this likely to be implemented at all? 


  • Mariusz Winiarczyk

    That feature is definitely a good idea!

  • Sean Del Alcazar

    I have code that allows me to end the chat based on user inactivity.

    Before it ends the chat, it also assigns a tag to the chat.

    I haven't seen too much code out there for zopim requests like these, so I help this at least helps some people who are looking to do the same! 

  • Mariusz Winiarczyk

    Sean Del Alcazar

    Would you be so kind and tell me where have you put that code? Do I need to add it to the script.js file of the website? 

    Have you tried this code? Is it working?

  • Sean Del Alcazar

    Hey Marlusz, I was testing out the widget and the script side by side in a testing environment I set up with Google Apps Script. The code would go in the .js file. It should also work in the HTML file if you wrap it in <script></script>.

  • Mariusz Winiarczyk

    Thank you very much Sean Del Alcazar

  • Matt Cole

    How is this still not a feature? Multiple requests since 2016, multiple comments on each request. Very bad look, Zendesk. I'm sure you lost some customers over this feature.


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk