How to pass user context when initiating the chat

We have a use case where we are integrating the chat bot (WEB) in logged in user dashboard.
On dashboard we use bearer tokens to validate the api call.
Wanted to know is there a way to pass this header before we initiate the chat bot.

For example if a user asks get me last 5 transactions(my downstream application), i want a way to validated the user and get the user context before serving his request.

1 Like


You can pass the values of your choice through the bot payload and fetch these values in the bot flows for any use-case.

Reference doc on how to implement