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

8 REPLIES 8
ChristianAbata
Super User II
Super User II

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

View solution in original post

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

@Rid021 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

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (45,452)