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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to convert HTML or...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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
    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
    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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard