Skip to main content

Notifications

Community site session details

Community site session details

Session Id : KY5P/DnuA7y2J0F9AAGd8t
Power Automate - Building Flows
Unanswered

Converting .HTML file to Word Document/Doc/Docx

Like (0) ShareShare
ReportReport
Posted on 21 Sep 2023 17:59:07 by 302

honganhuynh1_0-1695319066662.png

Currently creating a file then attaching it to a Sharepoint Item.
But if i change it to .doc the file is unable to be open and if i do docx the same result.

Does anyone know how I can convert this html to a word document?

  • v-qiaqi@microsoft.com Profile Picture
    on 25 Sep 2023 at 01:34:33
    Re: Converting .HTML file to Word Document/Doc/Docx

    Hi @honganhuynh1,

    Show me your completed flow configuration.

  • honganhuynh1 Profile Picture
    302 on 22 Sep 2023 at 17:26:04
    Re: Converting .HTML file to Word Document/Doc/Docx

    When I open the .doc it's still showing the html tags. 

  • v-qiaqi@microsoft.com Profile Picture
    on 22 Sep 2023 at 02:22:48
    Re: Converting .HTML file to Word Document/Doc/Docx

    Hi @honganhuynh1,

    You will need to make sure to get the file content first, wherever it is coming from. All you need to do is add ".doc" to the end of your file name. 

     

    OneDrive Create file action

    folder path - location where the file will be saved

    file name - <name of file>.doc

    file content - The raw html content

     

    Note, this will create a .doc file. This will not work if you need to create a .docx file. That will require a premium connector as far as I can tell.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 97

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard