Skip to main content
All CollectionsActAlerts
Notifications via MS Teams (Power Automate)
Notifications via MS Teams (Power Automate)

How to use zenloop's Webhook to forward feedback to MS Teams

L
Written by Lisa Rentrop
Updated over 3 years ago

Enforce customer centricity even further by bringing the voice of your customer into your organisation by forwarding feedback into MS Teams using Power Automate.

Power Automate is an Office 365 product for automating workflows and can be easily added to your existing Office package.

Setting up Power Automate

1. Navigate to Create

2. Select Instant cloud flow:

3. In the pop-up window, give the flow a name and select When an HTTP request is received

4. Select Create:

5. Select When a HTTP request is received to drop down the settings menu:

6. Select Use sample payload to generate schema

7. Insert this code:

{
"type": "object",
"properties": {
"alert": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"answer": {
"type": "object",
"properties": {
"additional_questions": {
"type": "object",
"properties": {}
},
"comment": {
"type": "string"
},
"id": {
"type": "string"
},
"inserted_at": {
"type": "string"
},
"labels": {
"type": "array"
},
"labels_with_keywords": {
"type": "object",
"properties": {}
},
"score": {
"type": "integer"
},
"score_type": {
"type": "string"
},
"sentiment": {
"type": "string"
},
"sentiment_per_label": {
"type": "object",
"properties": {}
},
"translated_comment": {},
"updated_at": {
"type": "string"
}
}
},
"properties": {
"type": "array"
},
"recipient": {},
"survey": {
"type": "object",
"properties": {
"channel_type": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}

8. Select New Step

9. Under Actions select your action โ†’ for example Post message in a chat or channel:

10. Select the relevant Team and Channel and create your Message

11. To add a dynamic value, select Add dynamic content and select on of the values created in Step 7

12. Select Save and copy the HTTP POST URL

Setting up zenloop

1. Navigate to Act < Forward < Webhook and Select Add:

2. Set-up the Alert (e.g. give it a Name)

3. Paste the HTTP POST URL into the Webhook URL field

4. Select Create

Did this answer your question?