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.
1 Like