Take dynamic values as slot values

Hi, I want to take user name as slot value like below.

User: Hi Bot! My name is XYZ Bot: Hello XYZ, how can I help you?

Here name can be any thing and how can I capture that name in slot?

You can use spaCy entity extractor to extract the names. Keep a slot with the same name as the entity and it will be auto-filled by rasa. You can use domain variables to give the dynamic response.

Thank you Saurabh.