Having a users select from a list of items is a relatively common scenario for bots. However, the implementation of this scenario requires a relatively complex chain of Dialogs with data being passed between them both in terms of the user's initial query and the chosen result coming back down the chain.
This repository contains a simple example of such an implementation. It uses a simple IDialog
which initiates the process in response to any message but this could easily be substituted with a LuisDialog
fr handling different intents.
The sample is a simple Bot Application created from the BotBuilder template. The interesting bits start at RootDialog.cs.
This is the basic flow this sample achieves.