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

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 (3)
  • Suggested answer
    CU04022132-0 Profile Picture
    12 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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 813

#2
Vish WR Profile Picture

Vish WR 302

#3
Haque Profile Picture

Haque 268

Last 30 days Overall leaderboard