Skip to content

piersc/msteams-outgoing-webhook-bot-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Teams Outgoing Webhook Cloudflare Worker

The Microsoft nodejs example code for a Microsoft Teams outgoing webhook handler in Javascript from https://github.com/OfficeDev/msteams-samples-outgoing-webhook-nodejs modifed for a Cloudflare Worker. index.js is the content of the Workers script.

For dev, set SECRET_TOKEN in wrangler.toml. In production, recommended to use Secrets

See https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-outgoing-webhook for adding an outgoing webhook, and details on the HMAC signature in the request.

Wrangler

To generate using wrangler

wrangler generate projectname https://github.com/piersc/msteams-outgoing-webhook-bot-worker

Serverless

To deploy using serverless add a serverless.yml file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published