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

Community site session details

Session Id : lq5iNiSN+I1ISWT8FxOyHH
Power Automate - General Discussion
Answered

How to send adaptive card in Outlook email

Like (0) ShareShare
ReportReport
Posted on 30 Sep 2020 12:02:05 by 825

Hi All

 

I'm trying to create a flow and send an email to outlook with some values, but the result i see is no preview in my email.. its just the blank email. 

Tapesh_0-1601467105375.png

 

 

and here the preview of the flow after a successful run 

 

Tapesh_1-1601467209721.png

 

 

Can anyone please let me know what is the missing part? 

 

Please see that I have referred to this blog post: https://www.bythedevs.com/post/multi-line-approvals-with-adaptive-cards-outlook-and-power-automate 

 

Thanks in advance experts. 

 

  • Resolution435 Profile Picture
    9 on 18 Jul 2023 at 13:21:49
  • Resolution435 Profile Picture
    9 on 18 Jul 2023 at 13:21:32
  • Resolution435 Profile Picture
    9 on 18 Jul 2023 at 13:11:57
    Re: How to send adaptive card in Outlook email

    You need to register your automation at this site: https://outlook.office.com/connectors/oam/publish 

     

    page 1page 1page 2page 2

     

    GO TO THIS

    How to use Actionable Messages in Outlook with Power Automate

  • SnowFlake Profile Picture
    88 on 05 Jul 2023 at 13:21:07
    Re: How to send adaptive card in Outlook email

    also only works when I send to myself, sending internally or externally to somebody else it does not work. 

  • varmanleeq Profile Picture
    12 on 06 Dec 2022 at 09:55:34
    Re: How to send adaptive card in Outlook email

    Excuse me, how did you solve it later? I also encountered the same problem.

  • josjohns Profile Picture
    Microsoft Employee on 24 Jun 2022 at 10:53:39
    Re: How to send adaptive card in Outlook email

    I have also attempted this action. Using the solution provided I can get the adaptive card to render in an email sent to myself. However, when sending to others the email arrives but the body is left blank. Any thoughts as to why this would be happening? 

  • Verified answer
    Tapesh Profile Picture
    825 on 01 Oct 2020 at 14:51:46
    Re: How to send adaptive card in Outlook email

    hi @CFernandes 

     

    I you need the solution try this one it will  work now as this worked for me. Thanks Please accept and give kudos if you find it useful thanks 

    <script type="application/adaptivecard+json">
    {
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "type": "AdaptiveCard",
     "version": "1.0",
     "speak": "<s>Flight KL0605 to San Fransisco has been delayed.</s><s>It will not leave until 10:10 AM.</s>",
     "body": [
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "Image",
     "size": "Small",
     "url": "add user image here ",
     "id": "userImage_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Petty Cash Application Status",
     "horizontalAlignment": "Right",
     "isSubtle": true,
     "id": "titlestatus_id"
     },
     {
     "type": "TextBlock",
     "text": "Approved",
     "horizontalAlignment": "Right",
     "spacing": "None",
     "size": "Large",
     "color": "Good",
     "id": "status_id"
     },
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Employee Name ",
     "id": "empname_id",
     "color": "Dark",
     "weight": "Bolder"
     },
     {
     "type": "TextBlock",
     "text": "Tapesh patel",
     "id": "empvalue_id",
     "color": "Dark"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Application ID ",
     "id": "Application_id",
     "color": "Dark",
     "weight": "Bolder"
     },
     {
     "type": "TextBlock",
     "text": "1",
     "id": "appvlaue_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Unit Name",
     "color": "Dark",
     "weight": "Bolder",
     "id": "Unitname_id"
     },
     {
     "type": "TextBlock",
     "text": "Kare",
     "id": "unitvalue_id"
     }
     ]
     }
     ]
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "separator": true,
     "spacing": "Medium",
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Description",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "Descdetails_id"
     },
     {
     "type": "TextBlock",
     "text": "Description 1",
     "spacing": "Small",
     "id": "description1_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "TextBlock",
     "text": "Amount",
     "horizontalAlignment": "Right",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "amount_id"
     },
     {
     "type": "TextBlock",
     "text": "Aamount 1",
     "horizontalAlignment": "Right",
     "spacing": "Small",
     "id": "amount1_id"
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "spacing": "Medium",
     "separator": true,
     "columns": [
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved By ",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "approver_id"
     },
     {
     "type": "TextBlock",
     "text": "approver name ",
     "spacing": "Small",
     "id": "approvername_id",
     "color": "Warning"
     }
     ]
     },
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved on",
     "isSubtle": true,
     "horizontalAlignment": "Center",
     "weight": "Bolder",
     "id": "approvedon_id"
     },
     {
     "type": "TextBlock",
     "text": "approved time",
     "color": "Warning",
     "weight": "Bolder",
     "horizontalAlignment": "Center",
     "spacing": "Small",
     "id": "approvedtime_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Submitted On ",
     "isSubtle": true,
     "horizontalAlignment": "Right",
     "weight": "Bolder",
     "id": "Submittedon_id"
     },
     {
     "type": "TextBlock",
     "text": "Submit Time",
     "color": "Warning",
     "horizontalAlignment": "Right",
     "weight": "Bolder",
     "spacing": "Small",
     "id": "submittime_id"
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "spacing": "Medium",
     "separator": true,
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Send",
     "size": "Medium",
     "weight": "Bolder",
     "color": "Accent"
     },
     {
     "type": "Image",
     "url": "https://img.icons8.com/fluent/2x/send-mass-email.png",
     "size": "Medium"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Verified",
     "size": "Medium",
     "weight": "Bolder",
     "color": "Warning",
     "horizontalAlignment": "Center"
     },
     {
     "type": "Image",
     "size": "Medium",
     "url": "https://img.icons8.com/dusk/2x/unverified-account.png",
     "horizontalAlignment": "Center"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved",
     "weight": "Bolder",
     "size": "Medium",
     "color": "Good",
     "horizontalAlignment": "Right"
     },
     {
     "type": "Image",
     "url": "https://img.icons8.com/flat_round/2x/checkmark.png",
     "size": "Medium",
     "horizontalAlignment": "Right"
     }
     ]
     }
     ],
     "horizontalAlignment": "Center",
     "style": "emphasis"
     }
     ]
    }
    
    </script>
  • CFernandes Profile Picture
    8,303 Most Valuable Professional on 01 Oct 2020 at 07:20:13
    Re: How to send adaptive card in Outlook email

    @Tapesh You are right mate...

     

    I gave it a try and its not working. You might want to check the blog  https://poszytek.eu/en/microsoft-en/office-365-en/powerautomate-en/adaptive-cards-in-outlook-ultimate-guide/  and try the debugging mentioned (I have not tried) or just ask Microsoft support if they have changed anything. 

  • Tapesh Profile Picture
    825 on 30 Sep 2020 at 14:15:00
    Re: How to send adaptive card in Outlook email

    Hi @CFernandes 

     

    Please that i already have the created the HTML formate with script tag 

     

     

    Please let me know if you can help me out. The below code is given as INPUT in compose action. and then the out put is just added as dynamic content in the email body. 

    Thanks 

     

    <html>
    <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script type="application/adaptivecard+json">
    
    
    {
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "type": "AdaptiveCard",
     "version": "1.0",
     "speak": "<s>Flight KL0605 to San Fransisco has been delayed.</s><s>It will not leave until 10:10 AM.</s>",
    "hideOriginalBody": true,
     "originator": "8202aab9-78554-aa5892a-7852",
     "body": [
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "Image",
     "size": "Small",
     "url": "add user image here ",
     "id": "userImage_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Petty Cash Application Status",
     "horizontalAlignment": "Right",
     "isSubtle": true,
     "id": "titlestatus_id"
     },
     {
     "type": "TextBlock",
     "text": "Approved",
     "horizontalAlignment": "Right",
     "spacing": "None",
     "size": "Large",
     "color": "Good",
     "id": "status_id"
     },
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Employee Name ",
     "id": "empname_id",
     "color": "Dark",
     "weight": "Bolder"
     },
     {
     "type": "TextBlock",
     "text": "Tapesh patel",
     "id": "empvalue_id",
     "color": "Dark"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Application ID ",
     "id": "Application_id",
     "color": "Dark",
     "weight": "Bolder"
     },
     {
     "type": "TextBlock",
     "text": "1",
     "id": "appvlaue_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Unit Name",
     "color": "Dark",
     "weight": "Bolder",
     "id": "Unitname_id"
     },
     {
     "type": "TextBlock",
     "text": "Kare",
     "id": "unitvalue_id"
     }
     ]
     }
     ]
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "separator": true,
     "spacing": "Medium",
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Description",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "Descdetails_id"
     },
     {
     "type": "TextBlock",
     "text": "Description 1",
     "spacing": "Small",
     "id": "description1_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "TextBlock",
     "text": "Amount",
     "horizontalAlignment": "Right",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "amount_id"
     },
     {
     "type": "TextBlock",
     "text": "Aamount 1",
     "horizontalAlignment": "Right",
     "spacing": "Small",
     "id": "amount1_id"
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "spacing": "Medium",
     "separator": true,
     "columns": [
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved By ",
     "isSubtle": true,
     "weight": "Bolder",
     "id": "approver_id"
     },
     {
     "type": "TextBlock",
     "text": "approver name ",
     "spacing": "Small",
     "id": "approvername_id",
     "color": "Warning"
     }
     ]
     },
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved on",
     "isSubtle": true,
     "horizontalAlignment": "Center",
     "weight": "Bolder",
     "id": "approvedon_id"
     },
     {
     "type": "TextBlock",
     "text": "approved time",
     "color": "Warning",
     "weight": "Bolder",
     "horizontalAlignment": "Center",
     "spacing": "Small",
     "id": "approvedtime_id"
     }
     ]
     },
     {
     "type": "Column",
     "width": 1,
     "items": [
     {
     "type": "TextBlock",
     "text": "Submitted On ",
     "isSubtle": true,
     "horizontalAlignment": "Right",
     "weight": "Bolder",
     "id": "Submittedon_id"
     },
     {
     "type": "TextBlock",
     "text": "Submit Time",
     "color": "Warning",
     "horizontalAlignment": "Right",
     "weight": "Bolder",
     "spacing": "Small",
     "id": "submittime_id"
     }
     ]
     }
     ]
     },
     {
     "type": "ColumnSet",
     "spacing": "Medium",
     "separator": true,
     "columns": [
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Send",
     "size": "Medium",
     "weight": "Bolder",
     "color": "Accent"
     },
     {
     "type": "Image",
     "url": "https://img.icons8.com/fluent/2x/send-mass-email.png",
     "size": "Medium"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Verified",
     "size": "Medium",
     "weight": "Bolder",
     "color": "Warning",
     "horizontalAlignment": "Center"
     },
     {
     "type": "Image",
     "size": "Medium",
     "url": "https://img.icons8.com/dusk/2x/unverified-account.png",
     "horizontalAlignment": "Center"
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Approved",
     "weight": "Bolder",
     "size": "Medium",
     "color": "Good",
     "horizontalAlignment": "Right"
     },
     {
     "type": "Image",
     "url": "https://img.icons8.com/flat_round/2x/checkmark.png",
     "size": "Medium",
     "horizontalAlignment": "Right"
     }
     ]
     }
     ],
     "horizontalAlignment": "Center",
     "style": "emphasis"
     }
     ]
    }
    
    </script>
    </head>
    <body>
    Visit the <a href="https://docs.microsoft.com/outlook/actionable-messages">Outlook Dev Portal</a> to learn more about Actionable Messages.
    </body>
    </html>

     

  • CFernandes Profile Picture
    8,303 Most Valuable Professional on 30 Sep 2020 at 13:34:41
    Re: How to send adaptive card in Outlook email

    @Tapesh 

     

    Hey Mate,

     

    The adaptive card should wrap by <script> tag, and it should be input in the HTML format, for example, see screenshot below:

     

    Untitled.png

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

     

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete