cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Robbert-Jan
New Member

How to customise Adaptive cards update message layout

Is there a way to format or design the 'update message' layout of an Adaptive card in Teams?

After you've sent an adaptive card and waited for the response, you can send an update message.

Right now I get this big "Adaptive cards | Power Automate" logo and I can only seem to add plain text in the response.

 

Does the update message support Adaptive card JSON as well or is there an other way to respond nicely formatted feedback to the user? Basically I'd wish to get rid of the Adaptive cards logo, but how?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@RobbertJan  I see and test your json squema and it's ok see

test.PNG

 

See try looking your message in teams web, with some navigators like edge or chrome, even firefox, It you see your message well please try to clear the teams desktop app cache.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

13 REPLIES 13
ChristianAbata
Community Champion
Community Champion

hi @Robbert-Jan  yes a way exist. See everything in Power Automate is Json languaje so adaptive cards too. Please visit this page to see how can you create your own adaptive card. https://adaptivecards.io/



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi @ChristianAbata

 

This is what I get when I put Adaptive cards JSON in the "update message" field when Posting an adaptive card to a teams user and await response... teams-adaptive-reponse.jpg 

 

What am I missing or doing wrong?

oh @Robbert-Jan  it looks like some braket is missing, please could you paste here your json squema?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

This is the JSON code that I'm using in the "update message" field.

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.2",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "Thank you",
                    "size": "ExtraLarge",
                    "weight": "Bolder",
                    "color": "Good"
                }
            ]
        }
    ]
}

@RobbertJan  I see and test your json squema and it's ok see

test.PNG

 

See try looking your message in teams web, with some navigators like edge or chrome, even firefox, It you see your message well please try to clear the teams desktop app cache.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Anonymous
Not applicable

Having the same issue as the original poster. Can't make a custom update card. 

@Anonymous could you share an screanshot?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hi @ChristianAbata I'm having the same issue. I'm not sure you used the JSON code supplied by @Robbert-Jan in the Update Message field of the Post an Adaptive Card to a Teams user and wait for a response as it would show a Responded by... note at the bottom as in @Robbert-Jan's sample image.

 

So is the conclusion that the Update Message field of the Power Automate action cannot actually contain a JSON adaptive card - it would be very disappointing if this is the case ?

 

2020-09-04_12-14-55.png

This is still the case and a serious missing feature.  

Hi Christian. It looks like unlike others on this post, you have managed to get this to work. Are you suggesting in your message that the bug causing JSON format given in "update message" to not be interpreted as JSON can be fixed by clearing your MSTeams Cache?

BradyMason
Frequent Visitor

That would be an interesting fix given that it seems a consistent issue across devices. It's also been a couple months since I last tried and I would be curious to see if it is fixed.  The last time I tried I am not even sure if Dynamic content worked in the updates.

 

I have this exact same behavior and have not figured it out. Shows the same in Desktop Client and web client.

BradyMason
Frequent Visitor

This is still a missing feature which seems strange to me.  The update field cannot contain a card.  At the very least this simply means the response text cannot be wrapped.  Has anyone found a solution?

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,818)