To send Teams Notifications when a Ticket or Feedback is submitted, you can use a Power Automate Workflow to show an Adaptive Card that displays the Ticket Information to a specific Team and Channel.
Note: For Workflows to work with Teams, you'll need a Premium Power Automate License.
Creating the Power Automate Workflow
-
Login to Power Automate and select Create
- Search for post a card and select the template Post to a channel when a webhook request is received
- Click Continue and then Create
-
Note: You may be prompted to select the Team & Channel you want the Card to be directed to at the Continue prompt
-
Note: You may be prompted to select the Team & Channel you want the Card to be directed to at the Continue prompt
- Click Edit to edit the workflow
- Select the action Select each adaptive card
-
Click the 3 dots on the pop-out and select Delete
- Click OK at Delete workflow graph
- Select + to insert a new action
- Search for post a card and select Post a card in a chat or channel
- Set the Post As option to Flow bot, the Post In option to Channel
- Set the Team and Channel you want to post the card to and paste the Adaptive Card JSON example from below into the appropriate field
Sample JSON Schema:
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "Ticket Information",
"weight": "Bolder",
"size": "Large"
},
{
"type": "FactSet",
"facts": [
{
"title": "Ticket Number:",
"value": "11375" // Placeholder for the value you want to map
},
{
"title": "Subject:",
"value": "12345" // Placeholder for the value you want to map
},
{
"title": "Comments:",
"value": "12345" // Placeholder for the value you want to map
}
]
},
{
"type": "TextBlock",
"text": "Description:",
"weight": "Bolder",
"spacing": "Medium"
},
{
"type": "TextBlock",
"text": "This is the description of the ticket.", // Placeholder for the ticket description
"wrap": true
},
{
"type": "TextBlock",
"text": "Submitted By",
"weight": "Bolder",
"size": "Medium",
"spacing": "Medium"
},
{
"type": "FactSet",
"facts": [
{
"title": "Company:",
"value": "Westgate Tech Services" // Placeholder for the value you want to map
},
{
"title": "Role:",
"value": "Company Admin" // Placeholder for the value you want to map
},
{
"title": "Email:",
"value": "admin@companyadmin.com" // Placeholder for the value you want to map
}
]
}
]
} -
Save your workflow
- Select the action When a Teams webhook request is received and copy the HTTP URL
- The HTTP URL is the webhook you will use in CloudRadial.
- See below for where to add the webhook.
Adding the Webhook in CloudRadial
In the Ticket Areas:
- Edit or create a new form (Problem Reports or Service Requests)
- Select the Routing tab
- Paste the URL in the Teams Webhook URL field
- Select Submit
In the Feedback Area:
- Go to, Partner > Feedback
- Select Settings > Edit at the top right of the page
- Paste the URL in the Teams Webhook URL field
- Select Submit
Comments
0 comments
Please sign in to leave a comment.