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 / unable to open word do...
Power Automate
Unanswered

unable to open word doc sent from power automate and created in SharePoint.

(0) ShareShare
ReportReport
Posted on by 2

I have a power automate flow that starts with the trigger "when an item is created" and the site address is "templates" and the list name is "contract details". I then have a condition that if the column "create now" is set to "true" it runs my next condition. If false, the flow ends. The second condition that runs when the first condition is "true" is if the column "document choice" is set to "simple than it is true. If it is true, an action "populate a Microsoft word template" with the location as "templates" and the document library "templates (painting)", and the file "/Painting contract template.docx". I then have an action for SharePoint, "create file". The site address is "templates". the folder path is "/Completed contracts". The file name is "company name.docx" and the file content is the "Microsoft word document" which is the created file turned in to a word doc. Another action, "get file content using path". The site address is "templates". The file path is chosen from dynamic content "create file" and is "body/Path". Finally, a "send an email" action is added. The "to" "subject" and "body" are all populated. The attachment name is "Company name.docx" and the attachment is the function, "body ('Get file content using path')? ['$content]. If the second condition is false, it follows the same schema, just a different document. The flow is succeeding, but I when I try and open the word document from my email, it says it can't open in browser. It then tries to prompt you to open in the desktop app, and when I do that, it says content is unreadable and asks if I trust the sender. Even after clicking yes, it still doesn't open. What is wrong and how do I fix this?

Categories:
  • Ssommer22 Profile Picture
    2 on at

    This is what the flow looks like: 

     

    Ssommer22_0-1704468711566.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard