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 / Convert HTML file to t...
Power Automate
Unanswered

Convert HTML file to txt or csv

(0) ShareShare
ReportReport
Posted on by 16

Hi Everyone,

 

Could you please help me with how to convert the HTML file created by SAP SM36 to a TXT or CSV file?

 

Erhan

Categories:
I have the same question (0)
  • nmk Profile Picture
    193 on at

    Hi,
    I am not sure how your html looks like but did you try HtmlToText action ??

     

    https://docs.microsoft.com/en-us/connectors/conversionservice/

     

     

  • bekkaye99 Profile Picture
    16 on at

    Hi NMK

    Thank you for your information. After your comment I tried it but convert output again HTML. You can find the HTML file example below. Could I have done something wrong?

     

    test2.pngtest.png

  • nmk Profile Picture
    193 on at

    Hi @bekkaye99 

    I couldn't get it completely. I can see the output from 'Html to text' has <p> tag removed.

  • Jay-Encodian Profile Picture
    2,920 on at

    @nmk @bekkaye99 

    A HTML file is essentially already a text file... if you're saving the file somewhere just change the extension to TXT.

    To go from HTML to CSV... you need to extract data from the HTML file and the format the data... this could be complex depending on what you are trying to extract and format.

    HTH

    Jay

  • bekkaye99 Profile Picture
    16 on at

    Hi @Jay-Encodian,

     

    Could you please inform us how to change and save the extension to TXT using MS Flow?

     

    Erhan

  • Jay-Encodian Profile Picture
    2,920 on at

    @bekkaye99 

    You just need to provide a filename ending with .txt....  for example:

    1.jpg

     

  • bekkaye99 Profile Picture
    16 on at

    Hi @Jay-Encodian 

    I think I am doing something wrong. Please find my flow and results. 

    Could you please show us a proper MS flow?

    flow.pngtxtfile.png

  • Jay-Encodian Profile Picture
    2,920 on at

    Hi @bekkaye99 

    That is correct... the HTML is opening as a text file.

    What were you expecting to happen?

  • nmk Profile Picture
    193 on at

    As per my understanding, he's trying to save the rendered output as a text file. 

    Can you please share a sample file with us?

  • bekkaye99 Profile Picture
    16 on at

    Hi @Jay-Encodian 

     

    See the same usable format as below

     

    Raw html datat2.png

    After MS flow data

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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard