From 67d1075e82f42415872cd6e4e06bd4a58e708700 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Tue, 17 Feb 2026 15:34:26 +0100 Subject: [PATCH] webhooks doku Signed-off-by: Basil Bruhn --- docs/user-guide/MS_Teams_Webhooks.md | 19 +++++++++++++++++++ docs/user-guide/MS_Teams_Webhooks/card.png | 3 +++ docs/user-guide/MS_Teams_Webhooks/cleanup.png | 3 +++ docs/user-guide/MS_Teams_Webhooks/done.png | 3 +++ 4 files changed, 28 insertions(+) create mode 100644 docs/user-guide/MS_Teams_Webhooks.md create mode 100644 docs/user-guide/MS_Teams_Webhooks/card.png create mode 100644 docs/user-guide/MS_Teams_Webhooks/cleanup.png create mode 100644 docs/user-guide/MS_Teams_Webhooks/done.png diff --git a/docs/user-guide/MS_Teams_Webhooks.md b/docs/user-guide/MS_Teams_Webhooks.md new file mode 100644 index 00000000..74237b97 --- /dev/null +++ b/docs/user-guide/MS_Teams_Webhooks.md @@ -0,0 +1,19 @@ +# Webhooks to Microsoft Teams +!Important The Environment used here will likely change in the future and break the configured flows. + +## Configuring +Login to https://make.powerautomate.com/ with your AD Account used at PSI. +1. In the top right corner change the "Environments" to SandBoxHB79 +2. Click Templates on the left and search for "Webhook", choose "Send webhook alerts to a channel" or "Send webhook alerts to a chat" +3. The flow will connect to Microsoft Teams -> Continue -> Create (Its a known bug that in non default Environments the chat / channel dialog is skipped. We configure it later) +4. Click Edit in the top left and delete all charts except the "When a Teams webhook request is recieved" +![Should look like this](MS_Teams_Webhooks/cleanup.png) +5. Click the "+" and search for "Card" and choose either "Post adaptive card in chat or channel" or "Post card in chat or channel" it depends if the application sends the new AdaptiveCard or the old MessageCard format. +![Visual Helper](MS_Teams_Webhooks/card.png) +6. Post in, chose Chat or Channel, chose Team and or Channel / Chat where to post the message +7. In the message field press "/" and chose "Insert dynamic content" and from the bottom chose "Attachments Adaptive Cards" +8. Remove advanced parameters like "response" if they were added. +9. Collabse the configuration tab and press save in the top right. +![Done!](MS_Teams_Webhooks/done.png) +10. When you click on the top flow you can copy the HTTP URL where to send the webhook to, that you can use in your application. + diff --git a/docs/user-guide/MS_Teams_Webhooks/card.png b/docs/user-guide/MS_Teams_Webhooks/card.png new file mode 100644 index 00000000..6310137e --- /dev/null +++ b/docs/user-guide/MS_Teams_Webhooks/card.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:440e760e724ceaa482a8970d8e1c3d8396cdaaa0dd12afd8c072ee9c3b30cbfb +size 148278 diff --git a/docs/user-guide/MS_Teams_Webhooks/cleanup.png b/docs/user-guide/MS_Teams_Webhooks/cleanup.png new file mode 100644 index 00000000..f19fda9b --- /dev/null +++ b/docs/user-guide/MS_Teams_Webhooks/cleanup.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e29fba504316954e40def663913bee210bfe8231f08ccf1b5d630f4123a2894e +size 84890 diff --git a/docs/user-guide/MS_Teams_Webhooks/done.png b/docs/user-guide/MS_Teams_Webhooks/done.png new file mode 100644 index 00000000..f6e56734 --- /dev/null +++ b/docs/user-guide/MS_Teams_Webhooks/done.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d00769dc6c6e2f39541b89d34e591626e659a851d231e4b0f63916e6a9c4225c +size 97641