Manychat has this feature when someone comes back to chat to the bot after sime time it greets them with their name. It already has their prior info
r
rich-oxygen-43707
07/20/2023, 1:15 PM
You can do that now. Save the name as a user variable, then you can check it for a value and greet by name if you have one.
q
quaint-cat-69193
07/22/2023, 11:31 AM
How do you achieve that? do you store it in a table along side with conversation ID or something similar or what?
f
full-lifeguard-52310
07/22/2023, 1:06 PM
yeah, how does this work?
r
rich-oxygen-43707
07/22/2023, 5:19 PM
Create a user variable called Name.
When you prompt for name, Execute code to copy the name from the workflow variable to the user variable.
user.Name = workflow.userName
Near the beginning of your flow, execute the reverse of that code, to copy from user variable to workflow variable.
Then there are a couple of ways to proceed with that. I am showing one approach here.