cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shazebasad
New Member

Getting Contents of an outlook email and saving them in excel

I get this email every month which has a table pasted in the body of the email and i want to extract that table and put it in an excel spreadsheet everytime that email comes in with new data. Can someone please help me with this. 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Getting Contents of an outlook email and saving them in excel

Hi, 

 

You can do this with the "When an Outlook email arrives trigger" provided you have a unique sender and a unique subject that will be common on each of these emails and not any others. (or rather you could create a new folder in outlook and aut route these emails to that folder and then use this folder as default in flow)

 

Next step would be create a compose action with the body of the email and then create a HTML table from the compose action. You could then perform some excel operations on it. 

 

Note: The assumption is that the email consists of only a table and nothing else. Also, to keep updating the spreadsheet based on the new content of the email every time ou might have to use more operators to filter the content of the table from the email. 

emailarrives.png

 

 

Thanks, 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Getting Contents of an outlook email and saving them in excel

Hi, 

 

You can do this with the "When an Outlook email arrives trigger" provided you have a unique sender and a unique subject that will be common on each of these emails and not any others. (or rather you could create a new folder in outlook and aut route these emails to that folder and then use this folder as default in flow)

 

Next step would be create a compose action with the body of the email and then create a HTML table from the compose action. You could then perform some excel operations on it. 

 

Note: The assumption is that the email consists of only a table and nothing else. Also, to keep updating the spreadsheet based on the new content of the email every time ou might have to use more operators to filter the content of the table from the email. 

emailarrives.png

 

 

Thanks, 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,250)