Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Storing data into user or bot session

edited Dec 29, 2018 5:07AM in Digital Assistant & Mobile 1 comment

Summary

Store some session specific data

Content

we have a usecase where bot wants to process a customer order. It is running on FB channel. So, once customer provides the email address we make an API call and check if the customer already exists and fetch his profile data. Most of this data we need it until we reach to the final step of order completion step. 

The current way we are persisting this data is using 

conversation.setVariable in the CC and having those variables defined in BotML. 

The above approach works but not very nice as we had to created a lot of attributes in the BotML to store those profile attributes and we dont really use them in dialog flow. 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!