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 / Power Automate / How to Trigger a Copil...
Power Automate
Suggested Answer

How to Trigger a Copilot Agent from Power Automate to Process PDFs and Generate CSV Output?

(0) ShareShare
ReportReport
Posted on by
 

Hello everyone,

 

I’m trying to build a workflow in Power Automate and I’d like to know the best way to integrate a Copilot agent into it.

 

My goal is the following:

 

  • when a file is dropped into a folder or a SharePoint library,

  • Power Automate automatically triggers,

  • then launches an AI / Copilot agent that reads and processes a PDF,

  • the agent returns structured text as output,

  • and finally I use Python to transform that text into a CSV file.



  •  
  •  
 

I would like to understand:

 

  1. what is the best way to trigger a Copilot agent from Power Automate after a file is added to SharePoint or a folder,

  2. whether the agent can directly read and extract information from a PDF inside the workflow,

  3. how to pass the agent’s output back into Power Automate in a clean text or JSON format,

  4. and what is the recommended way to connect that output to a Python step for CSV generation.



  5.  
  6.  
 

If anyone has already built something similar, I’d really appreciate:

 

  • an example architecture,

  • the right connectors/actions to use,

  • and any limitations or best practices to be aware of.



  •  
  •  
 

Thanks in advance for your help.

Categories:
I have the same question (0)
  • Suggested answer
    Vish WR Profile Picture
    755 on at
     
    You can achieve this with Power Automate using the SharePoint trigger along with  AI Builder (Document Processing), and built-in data operations, without requiring a separate Copilot agent.
     
    High-Level Flow Approach:
    1. Trigger: When a file is created (SharePoint / OneDrive)
    2. Get file content
    3. AI Builder: Extract information from documents (prebuilt or custom model for PDFs)
    4. Parse output (JSON) using the Parse JSON action
    5. Transform data using Select or Compose
    6. Create a CSV table (built-in action)
    7. Save the CSV back to SharePoint or OneDrive
     
    https://sharepointlessons.wordpress.com/2020/08/27/using-ai-builders-form-processing-model-and-flow-to-extract-data-from-pdf-files/
     
    Vishnu WR
     
    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like 

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 > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard