I'm working a on proof of concept that integrates with a 3rd party system using a Power Automate Custom Connector to retrieve a json array of objects that I want to push as a list/table to a Teams Channel.
I'm attempting to accomplish this using Adaptive Card Templating triggered by a Recurring Cloud Flow. The json response from the Custom Connector is:
{"tasks":[{
"name":"Review Draft",
"receivedate":"04/29/2022",
"duedate":"05/02/2022"
},
{
"name":"Create Draft",
"receivedate":"05/02/2022",
"duedate":"05/04/2022"
}]}
My Adaptive Card Template is:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "stretch",
"items":[
{"type": "TextBlock",
"text": "${name}"
}
]
},
{
"type": "Column",
"width": "stretch",
"items":[
{"type": "TextBlock",
"text": "${duedate}"
}
]
}
],
"$data": "${body.tasks}"
}
]
}
Using the Adaptive Cards Designer and the example json I get the desired behavior:
However when testing this Flow:
The Teams channel output is:
For debugging I created another Channel Msg that wrote the Response Json object from the GetInboxTasks custom connector returns which is the same as the example Json above. This link about Adaptive Card Support may indicate that what I'm trying to do is not supported. Any ideas?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
73 | |
26 | |
20 | |
15 | |
15 |
User | Count |
---|---|
144 | |
44 | |
44 | |
34 | |
31 |