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 / Including sections in ...
Power Automate
Unanswered

Including sections in HTTP post to send notifications to TEAMS

(0) ShareShare
ReportReport
Posted on by 71

Hi, 

I want to include sections in my HTTP post. This is what my post looks like right now. I want to include more fields and make two different sections. 
I want the breakdown after 'facts'. The activity title and subtitle etc are to remain same. 

Flow3.PNG

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

    Hi @AneeqaPervaiz,

     

    Please refer to this document:

    https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference#example-office-365-connector-card

    How about add additional section under the end of the first section, for example:

    {
     "contentType": "application/vnd.microsoft.teams.card.o365connector",
     "content": {
     "@type": "MessageCard",
     "@context": "http://schema.org/extensions",
     "summary": "John Doe commented on Trello",
     "title": "Project Tango",
     "sections": [
     {
     "activityTitle": "John Doe commented",
     "activitySubtitle": "On Project Tango",
     "activityText": "\"Here are the designs\"",
     "activityImage": "http://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg"
     },
     {
     "title": "Details",
     "facts": [
     {
     "name": "Labels",
     "value": "Designs, redlines"
     },
     {
     "name": "Due date",
     "value": "Dec 7, 2016"
     },
     {
     "name": "Attachments",
     "value": "[final.jpg](http://connectorsdemo.azurewebsites.net/images/WIN14_Jan_04.jpg)"
     }
     ]
     },
     {
     "title": "Images",
     "images": [
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/MicrosoftSurface_024_Cafe_OH-06315_VS_R1c.jpg"
     },
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/WIN12_Scene_01.jpg"
     },
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/WIN12_Anthony_02.jpg"
     }
     ]
     }
     ],
    	"sections": [
     {
     "activityTitle": "John Doe commented",
     "activitySubtitle": "On Project Tango",
     "activityText": "\"Here are the designs\"",
     "activityImage": "http://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg"
     },
     {
     "title": "Details",
     "facts": [
     {
     "name": "Labels",
     "value": "Designs, redlines"
     },
     {
     "name": "Due date",
     "value": "Dec 7, 2016"
     },
     {
     "name": "Attachments",
     "value": "[final.jpg](http://connectorsdemo.azurewebsites.net/images/WIN14_Jan_04.jpg)"
     }
     ]
     },
     {
     "title": "Images",
     "images": [
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/MicrosoftSurface_024_Cafe_OH-06315_VS_R1c.jpg"
     },
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/WIN12_Scene_01.jpg"
     },
     {
     "image":"http://connectorsdemo.azurewebsites.net/images/WIN12_Anthony_02.jpg"
     }
     ]
     }
     ],
     "potentialAction": [
     {
     "@context": "http://schema.org",
     "@type": "ViewAction",
     "name": "View in Trello",
     "target": [
     "https://trello.com/c/1101/"
     ]
     }
     ]
     }
    }

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard