From ed7e40afcbadb5be85207f57e6efce177f1d0ba4 Mon Sep 17 00:00:00 2001 From: mabu-ibm <140605575+mabu-ibm@users.noreply.github.com> Date: Wed, 26 Jul 2023 12:35:13 +0200 Subject: [PATCH] Create rocketchat.json Example to send Messages to Rocketchat over Webhook, key for RocketChat here is define Content-Type. Tested with RocketChat --- webhooks/rocketchat.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 webhooks/rocketchat.json diff --git a/webhooks/rocketchat.json b/webhooks/rocketchat.json new file mode 100644 index 0000000..bb05853 --- /dev/null +++ b/webhooks/rocketchat.json @@ -0,0 +1,27 @@ +{ + "displayName": "Send to RocketChat POST", + "className": "Workflow", + "description": "RocketChat Test", + "discoveredBy": { + "readonly": false + }, + "type": "WEBHOOK", + "typeSpecificDetails": { + "url": "webhook-url-from-RocketChat-Integrations-incomming-webhook", + "method": "POST", + "template": "{ \"text\":\"Turbonomic -- DATA: Action Details: $action.details\" }", + "authenticationMethod": "NONE", + "trustSelfSignedCertificates": false, + "headers": [ + { + "name": "Accept", + "value": "application/json" + }, + { + "name": "Content-Type", + "value": "application/json" + } + ], + "type": "WebhookApiDTO" + } + }