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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Post Email to Teams Ch...
Power Automate
Unanswered

Post Email to Teams Channel

(0) ShareShare
ReportReport
Posted on by 2

Hey Everyone, 

 

I'm having trouble posting the full content of emails to a teams channel. It only posts part of the email. How do I go about correcting this?

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Jim7 

     

    Are you trying to add complete email body into the teams message ? Could you share flow design - that would be helpful 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Jim7 Profile Picture
    2 on at

    Sure, I attached screen shots to this replay. Here's the code view for the adaptive card as well: 

     

    {
    "type": "OpenApiConnection",
    "inputs": {
    "parameters": {
    "poster": "Flow bot",
    "location": "Channel",
    "body/recipient/groupId": "24c16d89-d4e9-4f90-a6a3-da50c5740615",
    "body/recipient/channelId": "19:a695eb88b6584445aeda6dd4fbcb1890@thread.tacv2",
    "body/messageBody": "{\n \"$schema\": \"http://adaptivecards.io/schemas/adaptive-card.json\",\n \"type\": \"AdaptiveCard\",\n \"version\": \"1.2\",\n \"body\": [\n {\n \"type\": \"TextBlock\",\n \"text\": \"You have a new email from @{triggerOutputs()?['body/toRecipients']}\",\n \"wrap\": true,\n \"size\": \"Medium\",\n \"weight\": \"Bolder\"\n },\n {\n \"type\": \"TextBlock\",\n \"text\": \"@{replace(triggerOutputs()?['body/subject'], '\"', '\\\"')}\",\n \"weight\": \"Bolder\",\n \"size\": \"Medium\"\n },\n {\n \"type\": \"TextBlock\",\n \"text\": \"From: @{triggerOutputs()?['body/from']}\",\n \"wrap\": true,\n \"weight\": \"Lighter\",\n },\n {\n \"type\": \"TextBlock\",\n \"text\": \"@{replace(triggerOutputs()?['body/bodyPreview'],'\"', '\\\"')}\",\n \"isSubtle\": true,\n \"wrap\": true\n }\n ]\n}"
    },
    "host": {
    "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
    "connection": "shared_teams",
    "operationId": "PostCardToConversation"
    }
    },
    "runAfter": {},
    "metadata": {
    "operationMetadataId": "304c7aee-6770-4904-83ef-57fccf9d5e47"
    }
    }
    Screenshot 2024-05-20 at 9.45.43 AM.png
    Screenshot 2024-05-20 at 9.43.58 AM.png
    Screenshot 2024-05-20 at 9.47.00 AM.png
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Jim7 

     

    Could you share how a sample email looks like and also when u post the same to teams as adaptive card format.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard