As a zendesk partner, we have integrated a chatbot on the chat channel. Specifically in the web widget, which is the native chat.
When the bot fails to help the end user it exits the chat and transfers the same chat to a human colleague in some department.
Sometimes, however, the bot transfers the chat but remains in the same chat together with the operator. So when the user writes to the human colleague he gets a response from both the bot and the human colleague.
How can I solve this problem?