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

Extract elements from HTML table from email

Hi, I'm trying to populate an Excel spreadsheet with data that I receive in HTML email. The email contains a HTML table and I would like to pull the data from this table each time this automated email comes in and add lines into the Excel file. The HTML table in the emails appear like this:

<table style="width:500px; sans-serif;border-collapse: collapse;color:black;background-color:white;" cellspacing="0" cellpadding="0">
   <tbody>
      <tr>
         <td style="text-align: right; padding-right:10px; width: 100px;border: solid 1px #BBBBBB;"><b>Header 1</b></td>
         <td style="border: solid 1px #BBBBBB; padding-left:10px;">Text 1</td>
      </tr>
      <tr>
         <td style="text-align: right; padding-right:10px;border: solid 1px #BBBBBB;"><b>Header 2</b></td>
         <td style="border: solid 1px #BBBBBB; padding-left:10px;">Text 2</td>
      </tr>
      <tr>
         <td style="text-align: right; padding-right:10px;border: solid 1px #BBBBBB;"><b>Header 3</b></td>
         <td style="border: solid 1px #BBBBBB; padding-left:10px;">Text 3</td>
      </tr>
      <tr>
         <td style="text-align: right; padding-right:10px;border: solid 1px #BBBBBB;"><b>Header 4</b></td>
         <td style="border: solid 1px #BBBBBB; padding-left:10px;">Text 4</td>
      </tr>
   </tbody>
</table>

Can anyone help?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @tiagomsiqueira,

 

I am afraid that Flow's existing connectors and actions cannot achieve your needs.

Extract elements from HTML table from email are not supported currently.

It is worth mentioning that if the content of your body is not html table but text, you may use WDL function to extract the data.

If you want to function that extracting elements from HTML table from email to be supported in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best Regards,

Barry

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

1 REPLY 1
v-bacao-msft
Community Support
Community Support

Hi @tiagomsiqueira,

 

I am afraid that Flow's existing connectors and actions cannot achieve your needs.

Extract elements from HTML table from email are not supported currently.

It is worth mentioning that if the content of your body is not html table but text, you may use WDL function to extract the data.

If you want to function that extracting elements from HTML table from email to be supported in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best Regards,

Barry

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,683)