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 / When new eMail arrive,...
Power Automate
Unanswered

When new eMail arrive, how to use its Body as part of Notification eMail ?

(0) ShareShare
ReportReport
Posted on by 137

How to use its Body when new eMail arrive ?

I need to use arrival of new eMail body in Notification eMail.

 

Thanks Ahead!

221109 When new eMail arrive, how to use its Body as part of Notification eMail.jpg

 

Here is the flow I did 
 "inputs": {
 "host": {
 "connectionName": "shared_office365",
 "operationId": "OnNewEmailV3",
 "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365"
 },
 "parameters": {
 "folderPath": "Inbox",
 "to": "My.Name@MyCompany.com",
 "cc": "sunnyinhk22@gmail.com",
 "from": "My.Name@MyCompany.com",
 "includeAttachments": false,
 "importance": "Any",
 "fetchOnlyWithAttachment": false
 },
 "authentication": "@parameters('$authentication')"
 },
 "metadata": {
 "operationMetadataId": "e9dddf82-6f8f-4194-81d6-a211053a4c9b"
 },
 "splitOn": "@triggerOutputs()?['body/value']"


{
 "inputs": {
 "host": {
 "connectionName": "shared_flowpush",
 "operationId": "SendEmailNotification",
 "apiId": "/providers/Microsoft.PowerApps/apis/shared_flowpush"
 },
 "parameters": {
 "NotificationEmailDefinition/notificationSubject": "@{outputs('Get_Flow')?['body/properties/displayName']}🛫 Subject: @{triggerOutputs()?['body/subject']}",
 "NotificationEmailDefinition/notificationBody": "FROM: @{triggerOutputs()?['body/from']}\n@{triggerOutputs()?['body/receivedDateTime']}\n\neMail Body\n@{triggerOutputs()?['body/body']}\n\nFLOW @{outputs('Get_Flow')?['body/properties/lastModifiedTime']}\n"
 },
 "authentication": "@parameters('$authentication')"
 },
 "metadata": {
 "operationMetadataId": "727375f0-7679-47c1-ad8f-48be0b1cf5b3"
 }
}
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Works fine without an issue in my case. I just provided the Body from my trigger inside the Body of my Send email action.

     

    SudeepGhatakNZ_0-1667971801003.png

     

     

  • SunnySchindler Profile Picture
    137 on at

    Thanks for prompt response.

    Would you also try notification eMail as shown in my screenshot?

     

    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

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