Tickets and email

If the bot cannot answer, or an action fails, the widget asks whether to open a ticket. It does not open one until the visitor agrees. A signed-in email can fill the form. Otherwise the visitor types an address. The ticket includes the recent chat, not only the last line.

Agents reply in the admin. The requester is still emailed. The same reply appears in the widget under History, on the browser that opened the ticket, or on any device when account linking is turned on. The visitor can write back from that thread. Hiding a chat in the widget leaves the ticket in the admin.