Microsoft Teams bot sample to send and collect data from Adaptive Card in Waterfall Dialog Model using Microsoft Bot Framework v4 .NET C#.
Microsoft Teams Bots are apps that have a conversational interface. The bot can be interacted with via text, interactive cards, and speech. In a one-to-one conversation and a group chat conversation, a bot behaves differently. Bot Framework connects to the Bot Framework to handle conversations.
About this Bot
Teams Bot: This bot is created using Microsoft Bot Framework v4 .NET C#. The bot is created specifically for Microsoft Teams Channel. This bot has the following features –
- Waterfall Dialog Model
- Adaptive Card
An Adaptive card is shown to the user to collect the data, and the bot receives the data and processes it. All functionalities are done on Waterfall Dialog Model using Microsoft Bot Framework.
For step-by-step implementation, watch the below video or check out this blog – Adaptive Card Data Collection in Waterfall Dialog | Passing Dynamic Data to Adaptive Card | Microsoft Bot Framework v4 C#.
Demo Video: Teams Bot to Send & Collect Data from Adaptive Card
How to send and collect data from Adaptive Card in Microsoft Teams Bot?
Greet the bot, the bot will show up an Adaptive Card with input fields. Fill up the form and click on Submit.
The form is submitted, and the bot replies back with the necessary details.
Get the Source Code
The source code is available here.
You must be logged in to post a comment.