Run your flow and then look at the data returned from the Post adaptive card and wait for a response action. Here is an example from one of my flows (sensitive data x'd out):
{
"responseTime": "2023-07-11T15:46:27.6802846Z",
"responder": {
"objectId": "xxxxxxxxxxxxxxxxxxxx",
"tenantId": "xxxxxxxxxxxxxxxxxxxx",
"email": "xxxxxxxxx@xxxxxxxx.com",
"userPrincipalName": "xxxxxxxxxx@xxxxxxxxxxx.com",
"displayName": "xxxxxxxxxxx"
},
"submitActionId": "btnSubmit",
"messageId": "1689090215069",
"messageLink": "https://teams.microsoft.com/l/message/19:xxxxxxxxxxxxxxx/1689090215069",
"data": {
"txtFeedback": "20230711"
}
}
You will notice in the JSON response, this is where your response data is returned. You can use an expression to get the value from data. In my flow, the value is returned from txtFeedback:
outputs('Post_adaptive_card_and_wait_for_a_response')?['body/data/txtFeedback']
Just replace txtFeedback with the name from your output. If you renamed the Post adaptive card action, you will need to update that portion of the expression as well to equal the action name.