I'm trying to create a water fall model with the help of Adaptive cards in C# version 4.0. My scenario is like following:
On loading bot following cards will be shown: 1. SharePoint 2. Azure 3. O365
Once I click on any of them then new set of cards will be shown like: On selecting "SharePoint" following cards will be shown: 1. Create a Site 2. Create a sub site.
and on selecting any of the above choices a form is called with set of questions like: 1. what is site title 2. site owner and so on..
UI as shown below:
I tried creating the structure on https://adaptivecards.io/, but couldnt find any relevant code related to this type of scenario.
If any one has done it before please share the documentation or code snippet.
Thanks

Here's a basic card with Input.ChoiceSet:
Then, in your bot, follow these answers for dealing with User Input:
Using Adaptive Cards in Waterfall Dialogs
(optional) Dynamically Changing The Card Before Sending
Basically, you'll want to:
Send the card
Capture the card's input by sending a blank text prompt right after sending the card (as explained in the first link)
Use if or switch statements in the next step to determine which card to display next based off of the user's input. You could optionally create the card more dynamically using the second link
The AdaptiveCards Designer is pretty good, but it lacks the ability to set the
actionsproperty. You can do so manually, by adding (like I did above):Using Images
If you'd like to use images instead of a
ChoiceSet, you can do something like this:The important part is making sure that the
Action.Submit:datathat you would use to capture which choice the user selected