Re: Dynamic adaptive cards
I have a power automate flow that does this with composing a variable, and posting in. the card is formatted like this:
{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "large",
"text": "Worktype Set to Must Change: Please update below",
"weight": "Bolder",
"wrap": true
},
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "@{items('Apply_to_each')?['ticket']?['id']}- @{items('Apply_to_each')?['ticket']?['summary']}",
"maxLines": 0,
"wrap": true
},
{
"type": "TextBlock",
"text": "@{items('Apply_to_each')?['notes']}",
"wrap": true
},
{
"type": "Input.ChoiceSet",
"placeholder": "New Work Type",
"choices": [
@{variables('worktypes')}
{
"title": "Do not use",
"value": "2"
}
],
"id": "typeWord"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"id": "submit"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.4"
}
The variable @{variables('worktypes')} is grabbed and formatted to a string in a previous step:

I'm not sure if this is what you mean exactly, and it may not be formatted perfectly for what you need in PVA. Maybe it's a start though!