Why does the bot send a Bot Break message at the time of Agent Handover?
If you have deployed a bot on any channel, where you have added your agents for handling user queries. It might happen that when a user requests to chat with an agent the bot hands over the chat to an agent, but along with that, it also sends a Bot Break message.
Here, ideally, the bot should have connected to an agent along with a response - " Please allow me a minute to connect you to our customer service team."
In this case, you should check the conversation_details variable of your Code Step, and make sure that string values are being passed in it. There should not be any null or integer values in the conversation_details variable, in order to avoid Bot Break messages being sent by the bot.