In this article, we will create an overview of how to hand a conversation from one of your Zendesk agents back to a bot. Bot takeover is when your human agent wants to give a conversation back to your chatbot.
How to create a bot takeover
For a bot to takeover the conversation from your human agent, you will need to create a connection in the Bot Takeover section, which is found in Bot Settings, located in the right sidebar menu. Go to “Bot Takeover”. Here you will have to add a connection that exactly matches with "HumanAgentExit" and define the destination module in "Go to". Be aware that "HumanAgentExit" is case sensitive. Please see the image below as a reference:
This means, that when your Zendesk agent leaves the conversation with your end user the above connection will automatically ensure that your chatbot will takeover the conversation with the end user.
Please be aware that every time you make a change related to takeover functionality you will need to publish the bot in order for the changes to be applied in the Zendesk bot.