Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Teams connection - how to get post/message ID from the post that just posted by flow?

How do i get a message/post ID from the team connection.


Screenshot 1: I create an adaptive card

I want flow to answer on this card


How to get the ID to the post that just posted?

Screenshot 2:

Super User
Super User

1) A flow can not respond to an adaptive card.

2) You will have a parameter for message ID or in the Body in dynamics content if the above action of posting supports a reply from Flow


At this moment if you post a Adaptive Card as Bot you wont get the message id.

teams post.PNG


Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.



Frequent Visitor

Hey @Oskarkuus, this can be done, regardless if there's an action for it or not. Here's the simple way I figured out how to do this:



If you run the "Get messages" Teams action right after your Adaptive card, you can do a compose right after it to get the first message ID. Here's the function for "LatestMessageID". 



This has helped me after I post an adaptive card to be able to utilize the "Post a reply" action after it. 

Hope this helps! 

Frequent Visitor

It won't be in dynamic content. You'll need to create an expression for it.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,884)