page_type | products | languages | extensions | ||||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
|
This project is an implementation of a very simple Outgoing Webhook for Microsoft Teams. All it does is verify that what's sending messages matches the Outgoing Webhook that was created in Teams, and it echoes back whatever is sent to it.
-
Install Git for windows: https://git-for-windows.github.io/
-
Clone this repo:
git clone https://github.com/MTCMarkFranco/msteams-samples-outgoing-webhook-nodejs.git
-
Install Node: https://nodejs.org/en/download/
-
Create and install your own Certificate files required for SSL communication with Teams, located within the Certs folder
-
Paste the security token generated by Teams as the value of
TeamsSharedSecret
in.ENV
. -
In the directory in which you installed this project, type
npm start
-
In Microsoft Teams, in any channel in the team in which you created the Outgoing Webhook, you can type
@<botname> hello
(or anything else you like) and it will echo back its name and what you typed.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.