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 / Copilot Studio / Unable to Create Word ...
Copilot Studio
Unanswered

Unable to Create Word Documents for Upload to SharePoint

(2) ShareShare
ReportReport
Posted on by 4
Here is what I am trying to do:
 
Using the Instructions for the agent, I use GenAI to create a piece of text (e.g. a press release) and then invoke the "Create a file" action for SharePoint document libraries. At that point what I want to do is use the text created by the agent to create a Word document in the SharePoint library.  However, no matter what I try to do (and I have tried dozens of iterations) I cannot get the agent to successfully create the file. It seems to get stuck and not generate or populate any viable content for {File Content} in the tool, or just keeps prompting me to upload a file, which isn't what I want.
 
Has anyone been able to find a path here where you can dynamically create content for a Word document and then place it on a SharePoint site?
I have the same question (0)
  • chiaraalina Profile Picture
    1,882 Super User 2026 Season 1 on at
    Hi
     

    Right now the SharePoint “Create file” action expects proper binary file content, but when you’re just passing text from your GenAI agent it doesn’t become a valid Word file. That’s why the action keeps asking you to upload something.

    You need to create a Power Automate flow.

    • Your agent produces text (or HTML).

    • Power Automate receives that text as input.

    • In the flow, you either: Convert the text/HTML into a real .docx (e.g., with the OneDrive “Convert file” step) or use the Word Online (Business) connector with a template that has content controls, then populate it.

    • Finally, use SharePoint - Create file action to place the finished .docx into your document library.

    The practical way to do what you want is: GenAI → Power Automate flow → SharePoint.

    Let me know if you have already tried this and let me know if you are new to Power Automate and need help.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 631

#2
Haque Profile Picture

Haque 181

#3
Vish WR Profile Picture

Vish WR 174

Last 30 days Overall leaderboard