web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Outlook to Excel

(0) ShareShare
ReportReport
Posted on by

Trying to create a flow that reads emails and adds certain data into an Excel spreadsheet. 

 

E.g. Colleague sends an email with the subject of "OUTCOME" to the company.

 

"Dear Colleagues,

Please find the below outcomes:

 

Heading 1Heading 2Heading 3Heading 4Heading 5
Var 1Var 2Var 3Var 4Var 5

 

Kind regards, etc."

 

I want to copy the data from the above table (Var 1, Var 2, Var 3, Var 4, Var 5) into a new row on an Excel table that has the same headings. 

 

Any assistance would be greatly appreciated. 

 

Thank you. 

 

Categories:
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Jaymz 

     

    Pls check out my blog that extracts data from html table in the email:

    Extract data from html table from email body in Power Automate - Power Platform (technetty.com)

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Jaymz Profile Picture
    on at

    Hey Manish,

     

    Would your solution also work if a colleague has more than 1x row in the Outlook email's table? I.e. if there were multiple 'outcomes' in their email?

     

  • Jaymz Profile Picture
    on at

    Also, I tried the first couple steps to run the 'compose' function. Should it look like my picture??

     

    There's nothing more that it does. I can't see if it's picking up the table in the email or not...

    Flow 1.PNG
  • Jaymz Profile Picture
    on at

    Might need some further clarification of what things mean and why I'm supposed to be doing them. Doesn't seem to be working for me...

    Flow 2.PNG
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Jaymz 

     

    Pls enter the expression in the expression window. It should not be entered directly in the compose textbox.

     

    Thanks

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Pls create a table with the required columns where data need to be stored finally.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Jaymz Profile Picture
    on at

    @ManishSolanki 

     

    There is an excel spreadsheet ready. I can see that another row gets added, but the row is blank. I might need some further clarification on how to input the specific fields from the email to the specific columns in the Excel...

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @Jaymz 

     

    Could you pls share the html code of the email body from which you want to extract the data? You could run the flow and get the html code of email body. I will try if I could help you in extracting the data from html table.

     

    Thanks

  • Jaymz Profile Picture
    on at

    I'm not sure where I'm going wrong. But here's a few pics that I hope will assist. 

    Flow 2.2.PNG
    Flow 2.1.PNG
    Flow 2.3.PNG
  • Jaymz Profile Picture
    on at

    And...

    flow 2.4.PNG
    Flow 2.6.PNG
    Flow 2.5.PNG

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard