I have created a Power Automate flow where the adaptive card will trigger the flow when the user selects for a message in Microsoft Teams.
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "@{triggerBody()?['cardOutputs']?['actaskTitle']}",
"wrap": true
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Open To Do",
"url": "https://to-do.office.com/tasks/id/@{outputs('Add_a_to-do_(V3)')?['body/id']}/details"
}
]
}
When I select the task from the message:

No comments:
Post a Comment