web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connector for flow to ...
Power Automate
Answered

Connector for flow to send an adaptive card to Teams and wait for response is not working

(0) ShareShare
ReportReport
Posted on by

Greetings,

 

I'm working a flow that at a certain point will hopefully send an adaptive card to a Teams Channel requesting user input.  I want the flow to wait until receiving a response before continuing.  I have found a connector that says it's for that:  "Post adaptive card and wait for a response".  It does NOT say deprecated on Microsoft's site, at least not where I'm looking.  

 

McGeeks1_0-1701811837878.png

 

Microsoft has deprecated a lot of this type of Power Automate to Teams connectors.  I hope not this one.

 

By replacing the message text I had with the adaptive card script I have gotten it such that I can seemingly submit a card to Teams but it says it cannot be shown.  This is the card:

 

McGeeks1_1-1701814582953.png

Via this Script:

 

{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "${title}"
},
{
"placeholder": "Which Report to Run?",
"$data": "${$root['properties[0]']['key']}",
"type": "Input.ChoiceSet",
"id": "ReportType",
"choices": [
{
"title": "Run Analytical Development Report",
"value": "ADR"
},
{
"title": "Run Analytical Method Report",
"value": "AMR"
},
{
"title": "Run Both Reports",
"value": "Run AMR and ADR"
}
]
},
{
"type": "Input.Text",
"placeholder": "Placeholder text",
"isVisible": false,
"$data": "${$root['properties[0]']['value']}",
"inlineAction": {
"type": "Action.Submit"
}
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
]
}

 

Does anyone have a way to make this connector, or another connector doing the same thing, work?  I've tried setting it for different versions of Adaptive card.  I know I've tried 1.6, 1.4, 1.3.  I haven't tried them all yet.

 

Where am I going wrong?  Any assistance would be greatly appreciated.

 

Oh by the way, I wrote this script myself via copy/modify.  I didn't use the drag and drop scenario.  Maybe I'll try that as well.  It might change some used commands.  I know I saw somewhere on my digging for an answer that once all the platforms had been upgraded they would stop using textblock, but I don't recall the newer command in it's stead.

 

My thanks in advance,

McGeeks1

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @McGeeks1 ,

     

    Please try version 1.2.

    {
     "type": "AdaptiveCard",
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "version": "1.2",
     "body": [
     {
     "type": "TextBlock",
     "size": "Medium",
     "weight": "Bolder",
     "text": "${title}"
     },
     {
     "placeholder": "Which Report to Run?",
     "$data": "${$root['properties[0]']['key']}",
     "type": "Input.ChoiceSet",
     "id": "ReportType",
     "choices": [
     {
     "title": "Run Analytical Development Report",
     "value": "ADR"
     },
     {
     "title": "Run Analytical Method Report",
     "value": "AMR"
     },
     {
     "title": "Run Both Reports",
     "value": "Run AMR and ADR"
     }
     ]
     },
     {
     "type": "Input.Text",
     "placeholder": "Placeholder text",
     "isVisible": false,
     "$data": "${$root['properties[0]']['value']}",
     "inlineAction": {
     "type": "Action.Submit"
     },
     "id": "test1"
     },
     {
     "type": "ActionSet",
     "actions": [
     {
     "type": "Action.Submit",
     "title": "Submit",
     "id": "test2"
     }
     ]
     }
     ]
    }

    vxiaochenmsft_0-1701829267755.png

    vxiaochenmsft_1-1701829283813.png

     

    Best Regards,

    Wearsky

  • McGeeks1 Profile Picture
    on at

    Thank you so much @v-xiaochen-msft !  That got me going so I can tackle the next road block!  😁


    If I may ask, was that trial and error that led you to version 1.2?  Or some documentation somewhere?  I googled a lot trying to track down something for guidance.  Any guidance site suggestions would be appreciated if that was your path!  

     

    Thanks again!

  • McGeeks1 Profile Picture
    on at

    In going through your code I'm seeing 

    "id": "test1"
    and 
    "id": "test2"
    in their respective locations. I'll look further, but I'm guessing that's one reason I was failing, I hadn't added those bits.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard