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 Platform Community / Forums / Power Automate / How to convert HTML or...
Power Automate
Answered

How to convert HTML or table data from outlook email to csv file

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Guys,

 

Need you help, i want to convert html table which i recevied in email body to CSV file or excel file , then send this csv or excel file via email as attachment. Kindly suggest. Column names would be same like HTML table. 

Vikrant_Yadav__0-1647770399711.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    I've made a test for your reference:

    1\My email:

    vbofengmsft_0-1648007413445.png

    2\My flow:

    vbofengmsft_1-1648007511649.png

    vbofengmsft_2-1648007522734.png

    The Result:

    vbofengmsft_3-1648007543020.png

    Best Regards,

    Bof

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft  Thanks for your response. 

     

    I tried to add following expression , but getting error "The expression is invalid". Am i doing something worng ? Kindly suggest

    split(replace(replace(triggerOutputs()?['body/body'],'</span>',"),'<br>',"),'</td>')
     
    Vikrant_Yadav__0-1648044986050.png

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Cause the trigger is different.

    You can replace triggerOutputs()?['body/body'] with the specified HTML text.

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft Thanks for the solution. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard