Webchat or AI to send email or webhook once discovery is complete

In the IT department I would like to have a webchat do the initial discovery of a problem. Once it gets to a point where it thinks it has all the relevant information from a user then the program (either webchat, AI, or a button pops up on the chat that the user clicks) sends the information it gathered to an email that creates the ticket in the system.
Any ideas if this is even possible?