How to greet user by name

Hi, Rasa newbie here. I am working on a simple bot which incorporate this logic:

  1. Ask user’s name
  2. Use user’s name in reply (something like “Nice to meet you, [user_name]”).

What is the easiest way to do in Rasa 2.2.X? Thanks!

If a slot is set with the user’s name, then simply define a response like this:

- text: Nice to meet you, {slot_name}.
1 Like