I am using "Post card in a chat or channel" and using "When someone responds to an adaptive card" to receive response in return. The requirement is Post an card in teams separately to multiple users. and receive their response from the button they click (Consider YES/NO present in adaptive card) and saving them in excel.
I am able to post the card with "Post card in a chat or channel" action. But unable to receive response from user - the trigger used is "When someone responds to an adaptive card" i have also mentioned the card type id in both the flows. Following is my json:{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Sent by:",
"wrap": true,
"size": "Small",
"weight": "Lighter"
},
{
"type": "TextBlock",
"text": "@{triggerOutputs()['headers']['x-ms-user-name-encoded']}",
"wrap": true,
"size": "Small",
"weight": "Lighter",
"color": "Good",
"separator": true
},
{
"type": "TextBlock",
"text": "Do you have access?",
"wrap": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Yes",
"id": "response"
},
{
"type": "Action.Submit",
"title": "No",
"id": "noresponse"
}
]
}
]
}
Please help, this is on urgent request