From 8b8d79eebe625a6239103edb71446446735f66a0 Mon Sep 17 00:00:00 2001 From: "Tarek N. Elsamni" Date: Wed, 31 Jul 2019 10:57:24 +0100 Subject: [PATCH] Add documentation for Office 365 Connector (Webhook) (#26) --- webhook_configuration.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/webhook_configuration.md b/webhook_configuration.md index 0cef5b2..81f8c7c 100644 --- a/webhook_configuration.md +++ b/webhook_configuration.md @@ -49,3 +49,15 @@ CIAO_WEBHOOK_PAYLOAD_ROCKETCHAT='{"username":"Brot & Games","icon_url":"https:// ### Slack tbd. + +### Office 365 Connector + +``` +# https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using + +# Endpoint +CIAO_WEBHOOK_ENDPOINT_OFFICE_365="https://outlook.office.com/webhook/****/IncomingWebhook/****/****" + +# Payload +CIAO_WEBHOOK_PAYLOAD_OFFICE_365='{ "@context": "https://schema.org/extensions", "@type": "MessageCard", "themeColor": "0072C6", "title": "MySystem (__name__) status change", "text": "Status changed from (__status_before__) to (__status_after__)", "potentialAction": [ { "@type": "OpenUri", "name": "Learn More", "targets": [ { "os": "default", "uri": "__check_url__" } ] } ] }' +```