Amazon LEX - Access Session Attributes

Hi,

I am developing a Lex bot that is integrated with Purecloud using the Lex integration. The Lex bot is being called from within a message flow.

The bot uses Session attributes to store additional information that can be used later in a session. These session attributes are passed back to the caller in Lex's response.

In the flow you can access the slot values that were populated by the bot but I can't see to see a way to access the value of the session attributes. I would like to use the values of the session attributes to do some addition work in the flow.

Is there a way you can access the session attributes after Calling the Lex bot in a message flow (or any flow for that matter)?

Thank you.

Session attributes cannot be returned, but you could use a Fulfillment Lambda to write them into an extra optional slot value that is unused by the bot.

Please also feel free to post an Idea in the PureCloud Ideas portal for returning session attributes in the Call Lex Box action: https://purecloud.ideas.aha.io/ideas

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.