Open other external widget once human transfer is initiated
Listen for ticket:agent_handoff_initiated and then close the current conversation, hide gleen widget and open your widget.
To close the conversation call. - window.gleenWidget.closeTicket();
To hide Gleen widget call. - window.gleenWidget.close();
Sample code is here
PreviousChat SDK api and events examplesNextShow the Gleen widget only when someone scroll the page by 5 px
Last updated