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 / Copilot Studio / Creating a Word File D...
Copilot Studio
Unanswered

Creating a Word File Directly from a Copilot Agent (Without Power Automate)

(0) ShareShare
ReportReport
Posted on by

I’m working with Copilot Studio agents (including child agents) and trying to understand whether it’s possible to create or modify a Word file directly from a Copilot agent, without relying on Power Automate or external document APIs.
What I’m trying to do

  • Start from an existing Word document (SOW) stored in SharePoint
  • Update specific values only (pricing and dates)
  • Preserve all original formatting (fonts, styles, tables, headers, layout)
  • Return the updated document to the user as a downloadable file in the Copilot chat
What I’ve observed so far
  • Copilot agents (including child agents) can reason over content and return structured data (JSON, Base64, etc.)
  • However, attempts to:
    • Generate a file directly from an agent, or
    • Recreate a Word file from text/Base64 returned by an agent
      result in formatting changes or corrupted documents
  • The only reliable solution I’ve found is using Power Automate with Word/Graph-based actions, then returning the file via Respond to Copilot (File output)
My question
Is this limitation expected?
Specifically:
  • Are Copilot agents intentionally not designed to create or modify Office files directly?
  • Is there any supported way for a Copilot agent alone (without Power Automate) to:
    • Create or modify a Word document
    • Preserve 100% of formatting
    • And return it as a downloadable file?

Or is Power Automate / Microsoft Graph / Word Online the only supported and recommended approach for file creation and modification in this scenario?
 

Any clarification on the design intent or roadmap would be really helpful.
 

I have the same question (2)
  • CU04022132-0 Profile Picture
    6 on at
    You can add the Word MCP server in the tools section.
    Alternatively you can add the individual tool for Word.
     
    I found uploading a template docx file in its knowledge works best. Even if empty file. Without that it sometimes doesn't fill the text boxes etc correctly.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 561

#2
chiaraalina Profile Picture

chiaraalina 162

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 112 Super User 2025 Season 2

Last 30 days Overall leaderboard