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 / Update existing adapti...
Power Automate
Unanswered

Update existing adaptive card in teams

(0) ShareShare
ReportReport
Posted on by 15

I'm trying to create a process that posts an adaptive card to a teams channel based off of inserts/updates of a record in a Dataverse table. I want the insert to create a new adaptive card and any updates done to that record I want them to update that existing card, not create a new one. These adaptive cards are just displaying info, not asking for any input. Is this possible?

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

    Hi @cicconej582 ,

     

    If you want to update the existing card, please try this action.

    vxiaochenmsft_0-1702432927546.png

     

    Best Regards,

    Wearsky

  • cicconej582 Profile Picture
    15 on at

    For the Message ID on this card, do you know if there is a way that when a message was first posted by an insert into my dataverse table I would be able to get the Message ID back and put it into a field on the table so I can use it with this action? The whole point of the process I'm trying to create is that they will be able to use a model driven app to create a record which will post a Teams message, and if they edit the record in the app it will update the existing message.

  • v-xiaochen-msft Profile Picture
    on at

    Hi @cicconej582 ,

     

    Please show your flow.

     

    Best Regards,

    Wearsky

  • cicconej582 Profile Picture
    15 on at

    Because I don't know how to do what I'm trying to do I don't have much, if I had a way to get a message ID and put it on the Dataverse record there would be a condition here that would check if the message exists and there would be a path for updating an existing message and one for posting a new one.

  • Verified answer
    cicconej582 Profile Picture
    15 on at

    Figured I would just update this with my own comment because I was able to figure out how to do what I wanted. It turns out that when posting a new adaptive card one of the outputs that it generates is the message ID. I was able to put this into a field on the record, that way when the flow first needs to post a message this field is blank and it goes down the path of creating a new adaptive card. After this field is already filled in, it goes down the path of updating an existing adaptive card and uses the value in the field.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard