DEV Community

Rabia Williams for Microsoft 365

Posted on

Fun Q&A bot for Microsoft Teams Node.js

Are you looking for a fun project for your next assignment πŸ—’?
Did you want to develop a chat bot πŸ’»?

Then you'll like this little project I am sharing here with you, whether you want to deep dive into the details or not πŸ˜‰.

Use case

  • I can use a BOT to put a question or a thought in the Microsoft Teams channel/group chat conversation.
  • My team mates can respond to the question with a form to put free text in.
  • I can check how many team mates responded in the same card with their responses, real time.

πŸš€πŸš€πŸš€ End result?

uam

πŸ’»πŸ’»πŸ’» Source
Check out the full source code here https://github.com/rabwill/cardBot-TS

πŸ“™πŸ“™πŸ“™ Read the article
If you wanna deep dive into how it is developed checkout my original blog post here πŸ‘‰πŸ½https://rabiawilliams.com/teams/uam-bot/

Top comments (2)

Collapse
 
vegetapt profile image
vegetap

Hi Rabia! Thanks for your bot! It helped me a lot building a bot that manages debates in Oxford style.
Do you think it possible to start this bot with a Teams task module (messaging extensions)? That's my next step, and, finally, transform it in a Meeting Sidepanel (meeting extension).
Thanks again!! :)

Collapse
 
vegetapt profile image
vegetap

I've got news! In the process of creating a messaging extension, things got messy with the override of the onInvokeActivity... the handleTeamsMessagingExtensionSubmitAction wasn't able of catching the actions. Now I don't know where to put all the thing that were in onInvokeActivity, or tranform it to beeing able to not mess with actions! Thanks once more