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?
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
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