Showing results for 
Search instead for 
Did you mean: 
New Member

Extracting data from Office365 email

Is there a connector out there that will help me extract data from an email?  I only need certain fields, etc., not the entire body of the message.




Community Support
Community Support

Hi @ dmxrob,


Could you please share a bit more details about the email that you would receive?

What is the “certain fields” that you mentioned and want to extract from the body of the email?

Maybe you could use the connector “Data Operations” and workflow definition language to extract “certain fields” from the body of the email.

Please provide more information about your requirement so I could try to help you.

I have made a test on my side, the screenshot of the email’s body as below:

If I want to get the value of start time “20180101” and endtime “20180105” , I could create a flow as below:


  1. Add a trigger “When a new email arrives”.
  2. Add a Compose, choose the “Body dynamic” content of the trigger in the input field.
  3. Add a compose 2, the expression of the compose 2 as below:

         split(outputs('Compose'),'start time:')?[1]

     4.Add a compose 3, the expression of the compose 3 as below:


     5.Add a compose 4, rename the Compose 4 to “start time”, the expression of the “start time” as below:


     6.Add a compose 5, rename the Compose 5 to “end time”, the expression of the “end time” as below:

      split(outputs('Compose_3')?[1],'end time:')?[1]


When a new email arrives, the flow would run successfully as below:



Alice Zhang

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,236)