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 / Applying Copilot Sugge...
Copilot Studio
Suggested Answer

Applying Copilot Suggestions to Specific Document Section

(1) ShareShare
ReportReport
Posted on by 2
Hi,
 
I have a Copilot Studio Agent / M365 Agent that uses instructions and a knowledge base as a playbook. Copilot provides suggestions based on this. I want to apply those suggestions by automatically updating and replacing content in the relevant sections of a document. What are the available approaches to achieve this?
 
Thanks in advance
I have the same question (0)
  • MichaelFP Profile Picture
    1,999 Moderator on at
    For that you need to create a process that user sent the feedback of this suggestions, and update the document to update the information. But for that i would recommend that you use readme files.
  • Suggested answer
    Valantis Profile Picture
    6,651 on at
     
    Good question and there are a few confirmed approaches depending on what "automatically applying" means in your context.

    Option 1: Power Automate + Word template content controls (most reliable for structured docs)
    If your document has consistent sections, use Word content controls to mark each section. In Power Automate, the Word Online connector's "Populate a Microsoft Word template" action can replace specific content control placeholders. Your Copilot Studio agent collects the suggestion, passes it to a Power Automate flow as a parameter, and the flow populates the right content control in the document.
    This works well when sections are predictable (e.g. always a Summary section, always a Recommendations section).
     
    Option 2: Power Automate + Microsoft Graph Word API
    For finer-grained control over specific sections without content controls, the Microsoft Graph API supports reading and updating Word document content via the /me/drive/items/{id}/workbook or the /drive/items/{id}/content endpoint. You can also use the Office Scripts action in Power Automate to open the Word file, find a section by heading text, and replace its content programmatically. This requires Microsoft 365 Business Standard or higher for Office Scripts.
     
    Option 3: M365 Copilot Agent Mode in Word (if you have M365 Copilot license)
    As of April 2026, Agent Mode in Word is generally available. This lets an agent take multi-step actions directly inside a Word document, including finding specific sections and replacing content. You can configure your Copilot Studio agent to pass suggestions to Word's Agent Mode via a prompt. This is the most natural approach but requires each user to have a Microsoft 365 Copilot license.

    Which approach fits best depends on whether the updates are fully automated (no human confirmation) or human-in-the-loop where a user confirms before the document is changed. Can you share more about your document structure and whether users approve suggestions before they're applied?
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 309

#2
11manish Profile Picture

11manish 187

#3
chiaraalina Profile Picture

chiaraalina 101 Super User 2026 Season 1

Last 30 days Overall leaderboard