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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Post an Adaptive Card ...
Power Automate
Unanswered

Post an Adaptive Card to a Teams channel and wait for a response - Response Expressions updating randomly

(0) ShareShare
ReportReport
Posted on by 13

Running into an interesting issue working with the response data from "Post an Adaptive Card to a Teams channel and wait for a response." Like others (How-to-reference-Post-an-Adaptive-Card-to-a-Teams-channel-and-wait), I was struggling to find the response from this step in Dynamic content.

 

From that post, as well as a video I found, I ended up referencing the response using an Expression, which worked great for a little while. Power Automate then seemed to recognize this content and update it, which broke my flow. Here's what I mean:

 

Here is my Adaptive Card Post (which waits for a response):

 

Screen Shot 2020-12-21 at 4.13.32 PM.png

 

Later in my flow, I'm referencing the response from this step using Expressions while responding to an Http Request (which triggers the flow initially):

 

Screen Shot 2020-12-21 at 4.12.35 PM.png

The three items above are:

  • outputs('AdaptiveCardPost').body.submitActionId
  • outputs('AdaptiveCardPost').body.responder.displayName
  • outputs('AdaptiveCardPost').bosdy.responder.email

I save the flow, test it, and it works great. It may even work for a number of tests. However, when testing it a few hours later, it was broken. I checked out the error, which read:

 

Unable to process template language expressions in action 'Response' inputs at line '1' and column '14713': 'The template language expression 'body('AdaptiveCardPost')['body']['submitActionId']' cannot be evaluated because property 'body' doesn't exist, available properties are 'responseTime, responder, submitActionId, data'.

 

I went back to look at this step and it had changed to the following:

 

Screen Shot 2020-12-21 at 4.10.48 PM.png

The three items automatically changed to:

  • body('AdaptiveCardPost')['body']['submitActionId']
  • body('AdaptiveCardPost')['body']['responder']['displayName']
  • body('AdaptiveCardPost')['body']['responder']['email']

It seems like it's almost recognizing that it's Dynamic content from the Teams post, but it's not updating it correctly. Since it's still not fully recognized as Dynamic content, I can't edit it, either. I can change it back to what I originally had (using Expressions), but I've gone through this cycle three times now, as it continues to change after a period of time...

 

Any thoughts?

Categories:
I have the same question (0)
  • Verified answer
    kyle-olson Profile Picture
    13 on at

    I ended up referencing this data differently in my Expressions and it seems to be stable as of now. I went with the following, which is closer to what they were automatically being updated to:

     

    • body('AdaptiveCardPost').submitActionId
    • body('AdaptiveCardPost').responder.displayName
    • body('AdaptiveCardPost').responder.email

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard