Microsoft 365

Application, Package, and Platform Documentation, Knowledgebase, and Articles related to Microsoft 365

Power Automate

Application, Package, and Platform Documentation, Knowledgebase, and Articles related to Microsoft 365's Power Automate

Power Automate

Power Automate - Email Trigger Demo

Capture Email Body from a New Email Trigger

This tutorial will create a new Power Automate Flow triggered by a new email in the account ib-notification@8mlw67.onmicrosoft.com. The email body will be captured converted to plain text and stored in a Compose object

Create a new Power Automate Flow

Add the Variable action

Add the HTML to text action

Add the Compose action

Save and Test the Flow

Click the Save button to save the Flow. Click the <- Back arrow on the top left corner of the screen. The following pop-up appears:

microsoft-365-notification-flow-ready.jpg

Click the Got it button. This is a trigger that is Automatically activated. So manually running it with the Test option will not work. The Automatic attribute can be viewed by clicking the My flows from the left navigation pane

microsoft-365-notification-flow-status.jpg

Send an Email

We send an email

To: ib-notification@8mlw67.onmicrosoft.com From: salam@dcl-online.com Subject: Test Email Body: Test Email from salam@dcl-online.com

Check Flow history

On the Power Automate home page, from My flows we click on the newly created New-Email flow. In the 28-day run history section, we see a new entry:

microsoft-365-notification-flow-msg.jpg

We click on the Date/Time entry below the Start column. We get the following page with a successful run notification

microsoft-365-notification-flow-msg-2.jpg

We click the Compose action to check its detail

microsoft-365-notification-flow-msg-3.jpg

The Email message body has been converted to plain text and stored here.