Home > Back-end >  Getting started creating a web form in Microsoft Teams
Getting started creating a web form in Microsoft Teams

Time:02-27

I dont know where to begin. Do I need to create an app? Do I need to use bots? I have tried finding docs online but don't know where to start. Any help with be appreciated.

I am trying to create a small form in a teams channel that my users will fill out.

User enters @projects

Web server responds with

enter image description here

User clicks submit and data gets posted to my web server.

CodePudding user response:

You're correct that there are a few different kinds of applications in Teams, so finding the one that suits your needs can be a little confusing at first. For what you're trying to do, I would recommend a Bot, and when it received a message (which it will do when it receives your @mention), it can respond with an Adaptive Cards. Adaptive Cards, if you've not used them, are like small embedded forms inside the chat. The user can complete the card and click a button, and it will send the payload back to your bot to do whatever it needs.

Bots, incidentally, are basically just web services, so your bot can do whatever it needs once it received the payload, such as calling another API in turn.

You haven't mentioned what language you might want to work in, but here are some good starting point nevertheless:

  • Related