hey people,
first time posting here in the Power Automate forum. Hope you can help me out.
I have created a flow that's triggered via a HTTP request (a form filled in on our WordPress website) where parents of our students request help with their ELS (Electronic Learning System) account.
My idea is to post an adaptive card with the details they fill in on the webform and add a reply button to the adaptive card that allows us to send an email to the person in question with the resolution of their problem (most cases a new password).
I'm as far as getting the adaptive card to show up in our Teams channel but have no idea how to start to get that "Reply" button in there as well.
Hope this is even possible so looking forward to the replies!
So far, this is my JSON to get the adaptive card in Teams:
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "@{triggerBody()?['5']}",
"id": "Title",
"spacing": "Medium",
"horizontalAlignment": "Center",
"size": "ExtraLarge",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['1.3']} @{triggerBody()?['1.6']} heeft een probleem met de Smartschool-co-account van @{triggerBody()?['7.3']} @{triggerBody()?['7.6']} uit klas @{triggerBody()?['8']}: @{triggerBody()?['9']}",
"id": "acInstructions",
"wrap": true
}
]
}
(All the triggerbody entries are the fields I capture from the webform)