DEV Community

Rabia Williams for Microsoft 365

Posted on

2

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/

Postgres on Neon - Get the Free Plan

No credit card required. The database you love, on a serverless platform designed to help you build faster.

Get Postgres on Neon

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay