Teams Bot: Send and Collect Data from Adaptive Card in Waterfall Dialog

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 –

  1. Waterfall Dialog Model
  2. 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.

Demo Video: Teams Bot to Send & Collect Data from Adaptive Card

The form below varies with the video. But concept is same.

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.

Form is submitted and the bot replies back with necessary details.

Get the Source Code

The source code is available here.


Up ↑

%d bloggers like this: