How to store user's name

Is there a better way to store the user’s name, other than storing it on a slot? Because I don’t wanna ask the user’s name every time he/she opens the session?

1 Like

you could for example store the name somewhere (e.g. in a key-value store with the conversation_id as the key ) and fetch it in a custom action_session_start

1 Like

Alternatively to what @amn41 said, you can pass user name as session attribute/ metadata using custom connector and retrieve the same in actions.py file. It will provide you with much more flexibility imo.

Documentation for custom connector

Similar Use case

1 Like

I was also looking for the same thing, Thank you @amn41 and @gaushh.