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/

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

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more