function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Parteek Goyal 3Parteek Goyal 3 

Einstein Bot: How to get user response from dynamic menus

Hi All,

I am working on Einstein bot and trying to implement dynamic menu in it. I have displayed the dynamic menu but i am not sure that how to capture the user response from dynamic menu once user selected one of the menu.

Please help.

Thanks,
Parteek
SwethaSwetha (Salesforce Developers) 

HI Parteek,

When you create a dynamic menu an option will be given to set the variable you want to store the value in. You can create a custom bot variable type of object to store the value that the user selected.

See code snippet  https://salesforce.stackexchange.com/questions/261821/einstein-bot-get-value-from-dynamic-menu

If this information helps, please mark the answer as best. Thank you