Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow succeeding, but can't open word document

(0) ShareShare
ReportReport
Posted on by

I'm currently coding a flow that grabs an email and uploads the message body into a word document for my team to view, the flow succeeds with the right information being sent to create the file, but the word document is corrupted and can't open. Please help!

pictures attached for context.

  • jiwhite Profile Picture
    498 on at
  • Community Power Platform Member Profile Picture
    on at
    Re: Flow succeeding, but can't open word document

    Thanks for your reply! I am converting HTML to text, since the emails are HTML based. Is there a way to paste the raw text into a word document? Should I create an empty word document first and then write to it? Or is there a separate declaration that needs to be made to the text before assigning it?

  • jiwhite Profile Picture
    498 on at
    Re: Flow succeeding, but can't open word document

    Are your taking text from HTML and putting it into the content of the Word document? Word docs are XML based, not text, so that may be why it's getting corrupted.

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow