How to pass context.session in environment variable

Hi Team ,

I am using bot variables for my API endpoints. In one of my API i need to pass the value in the URL iteself and that value is my context.session.UserContext.emailI . Will i be able to keep this URL in environment variable.Please assist

@dushyantk2, Bot variables (Both Global and Language) are read-only variables which can only be set from the settings tab of the bot builder. These variables cannot be created/ modified / deleted dynamically.

Alternatively, as the value is already present at ‘context.session.UserContext.email’, use the syntax {{context.session.UserContext.email}} to pass the value in the URL/ headers/ body while hitting the service endpoint. (The value for the key will be resolved during run time)