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:
- what is the best way to trigger a Copilot agent from Power Automate after a file is added to SharePoint or a folder,
- whether the agent can directly read and extract information from a PDF inside the workflow,
- how to pass the agent’s output back into Power Automate in a clean text or JSON format,
- and what is the recommended way to connect that output to a Python step for CSV generation.
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.

Report
All responses (
Answers (