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 / Building an SOP Genera...
Copilot Studio
Suggested Answer

Building an SOP Generator Using Copilot Studio + Power Automate — Where to Start?

(0) ShareShare
ReportReport
Posted on by 15

Hi all,

I’m trying to achieve the following and would really appreciate some guidance — links to videos, documentation, or examples are perfect.
I’m looking for some direction on the best approach.

We have our internal documentation stored in SharePoint, and our Copilot Studio agent has access to that content.

My goal is to ask the bot to generate an SOP (Standard Operating Procedure) using an existing Word template.

This template contains multiple editable fields — the list below is just an example structure:


  1. Application Overview

  2. Roles & Responsibilities

  3. Standard Support Process

  4. Business Contacts Details

  5. Backups

  6. Disaster Recovery

  7. Other Documents

  8. Network Overview


  9.  

Example use case:

If I ask, “Generate an SOP for the application Papercut”, I want the bot to:


  • search SharePoint for related documentation

  • auto‑populate the template fields based on what it finds

  • but before generating the file, show me a preview of each field with options such as:

    • Accept (keep the content)

    • Change (ask what needs updating)

    • Regenerate (produce a new version)

    • Clear (leave that field empty so it won't appear in the final document) 

    •  

After reviewing and confirming the content, I want a final action like “Generate Document” which creates the Word file which you can then open and save to a chosen location.

 

My question:

What is the best way to approach building this in Copilot Studio + Power Automate?

Are there any tutorials, videos, or articles that walk through a similar review‑and‑generate process with Word templates or adaptive cards?

Thanks in advance for any pointers!

I have the same question (0)
  • Suggested answer
    Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
     Hello  ,

    Recommended Approach: Multi-Step Review & Document Generation

    Architecture: Copilot Studio → SharePoint search → Adaptive Card preview → User review → Power Automate → Word document

    Implementation Steps1. Content Generation

    • Copilot Studio topic prompts for the application
    • Generative Answers node searches SharePoint for relevant materials
    • Information is gathered for all SOP sections (Overview, Roles, Support Process, etc.)

    2. Structure & Preview

    • Power Automate organizes content into structured fields
    • An Adaptive Card displays these fields with:
      • Editable text boxes pre-filled with content
      • Buttons for each field: Accept / Regenerate / Clear
      • A final "Generate Document" button

    3. User Actions

    • Users can edit text directly in the card
    • Accept keeps the content, Regenerate refreshes a specific field, Clear removes content
    • Bot saves all final values in variables

    4. Document Generation

    • Power Automate is triggered by "Generate Document"
    • Word Online connector fills a pre-made template
    • Template uses Content Controls named per section
    • The document is saved to SharePoint or OneDrive
    • A shareable link is created

    5. User Delivery

    • Bot provides a success message with a download link
    • User can review and save the document as needed

    Key Components

    Word Template:

    • Include Content Controls for each field (e.g., ApplicationOverview, RolesResponsibilities)
    • Names correspond to Power Automate inputs

    Copilot Studio:

    • Main topic for content generation
    • Sub-topics for handling card actions
    • Variables to store each field

    Power Automate Flows:

    • Flow 1: Structure content
    • Flow 2: Regenerate fields
    • Flow 3: Populate Word template and return link

    Adaptive Card:

    • Editable text inputs for each section
    • Action buttons for each field
    • Final generate button

    Alternative Option

    If individual field actions are too complex:

    • Display all fields in a single editable card
    • User makes edits directly
    • One "Generate" button creates the document
    • Omits individual Accept/Regenerate/Clear buttons

    Begin with the Word template and Power Automate setup to ensure document generation works before adding the bot layer.

     

     

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 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard