How to collect visitor's name and email address in chatbot?

Hi !
Have you checked our online course, in particular the one about extracting lead data ?

https://www.udemy.com/course/no-code-ai-chatbot-mastery-build-your-own-in-one-hour/

It’s called function calling. In the target bubble, you can connect to Pabbly via an API bubble :