Skip to content

An MS Teams Chatbot PoC example with weather capabilities

Notifications You must be signed in to change notification settings

rnag/ms-teams-weather-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MS Teams Weather Chatbot

A foundational build of a Chat Bot for MS Teams with weather capabilities, built using Typescript.

This leverages the Teams Toolkit extension in VS Code for build and deployment.

Check out the screenshots/ folder for sample interactions with the Weather Bot in MS Teams.

Quickstart

There are tons of Weather APIs out there which are free to sign up and use, but for this PoC in particular I use the OpenWeatherMap API. You can sign up on their site for free and get an API key which the bot can use to make requests to get the weather data.

Once you have a working API key, replace the value for openWeatherAPIKey at the top of the weather.ts file - also copied below.

const openWeatherAPIKey = "TODO-REPLACE-ME";

Helpful Links

Build your first Bot

Bot Command Menus

Send media attachments with Bot Framework SDK

Create your own prompts to gather user input

Create your first bot with Composer

Tutorial: Create a weather bot with Composer

About

An MS Teams Chatbot PoC example with weather capabilities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published