Back to All

Extracting User Name Only

Hi SnatchBot team,

My bot currently asks for users' name, "What is your name?" and using Prior Response function, the bot repeats all parts of the users' reply rather than repeating users' name only.

For instance, if a user replies back, "I am Emily," the bot replies "Nice to meet you I am Emily."

Is there a way to only extract user's name while ignoring variants like "I am" or "My name is?" so that the bot can reply back "Nice to meet you Emily" and not "Nice to meet you I am Emily?"

Thank you.