Ticket creation from chat

I would love to have the ability to create a ticket directly from a specific chat. Typically, we can help the customer right in the chat but occasionally we need to create a ticket to follow up and/or if it’s a more involved fix. Ideally, under the “more” option there would be an option to create ticket from this chat and it would auto fill some of the info or at least attach to the chat somehow.