Ability to ask for email during a chatbot conversation

Ability to ask for email during a chatbot conversation. You could either set it so that when the user says a certain keyword or a phrase close to that keyword. Or that chatbot would ask for the email after there has been a conversation for 3-5 minutes.