cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
manish84
Regular Visitor

Read Tabular Data from Email Body

I am trying to create a flow to read email body which contains data in tabular form and place it in excel  . I am able to create a flow to read email when new email arrives but not able to read data from column from table. Structure is below, can someone help in creating flow to read data from table . Once read i have to put the same in sharepoint

Column1Column 2Column3
Name1Age2Salary3
Name2Age4Salary4
1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @manish84 ,

 

Could you provide Sample data for the Email body so that we can provide the appropriate expression to extract the data contained in the Table?

The Email body required here is the Body output by When an email arrives.

 

In addition, you could also use HTML to text action to convert the Email body into Text, and then provide us with the body output by Html to text.

Here are some similar threads to help you understand the method I provided above, please check it and see if it helps:

https://powerusers.microsoft.com/t5/Building-Flows/Extracting-text-from-email/td-p/334919

https://powerusers.microsoft.com/t5/Building-Flows/Extract-text-from-body-of-an-email-and-create-new...

 

Best Regards,

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

View solution in original post

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @manish84 ,

 

Could you provide Sample data for the Email body so that we can provide the appropriate expression to extract the data contained in the Table?

The Email body required here is the Body output by When an email arrives.

 

In addition, you could also use HTML to text action to convert the Email body into Text, and then provide us with the body output by Html to text.

Here are some similar threads to help you understand the method I provided above, please check it and see if it helps:

https://powerusers.microsoft.com/t5/Building-Flows/Extracting-text-from-email/td-p/334919

https://powerusers.microsoft.com/t5/Building-Flows/Extract-text-from-body-of-an-email-and-create-new...

 

Best Regards,

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

PLease find below format of email. There can be maximum 20 users not more than in email 

 

HI All,

This is to notify below users are newly created in system.

User Name

User Age

User Country

Remaks

User 1 Name

Age 1

User COuntry

This is new user created today in Country and location using manual form  

User 2 Name

Age 2

User COuntry

This is new user created today in Country and location  using web based form

 

 

Thanks

ABC Firm

 

Once able data is read, I have to put in sharepoint as well.

 

Hi @manish84 ,

 

Please refer to the method mentioned in my previous reply to use HTML to text to convert the format of the email body to text first.

Then we can try to extract the data using an expression.

 

Best Regards,

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

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,582)