Announcements
Hi all,
I'm trying to build a Copilot Studio agent that processes shipping invoices stored in SharePoint as PDFs, extracts individual shipment line items, matches each one to a rate card stored in an Excel file in SharePoint, and flags any pricing discrepancies.
When I describe the problem to Copilot chat, it seems to understand exactly what needs to happen. But translating that into something that actually works within Copilot Studio agent is where I'm stuck.
I came across this video about Microsoft's Document Processor managed agent, which looks promising but I'm not sure whether it can handle repeating line items within a single document rather than just document-level field extraction. Has anyone used it for something like this?
Has anyone built something similar with Copilot Studio?
Yes, the Document Processor managed agent is a good starting point for this scenario.
That said, repeating line items require structured extraction (for example, arrays in JSON) and downstream looping, typically implemented through Agent Flows or Power Automate.
Most successful implementations combine:
This is a known and common architectural pattern, and your question is not unusual.
Copilot Studio alone does not automatically loop invoice line items unless:
In short, the challenge here is architectural rather than conceptual, the pieces exist, but they need to be composed correctly.
But for PDF document extraction, we need to take extra precaution. Copilot Studio alone is not yet fully reliable for extracting complex repeating line items from PDFs like shipping invoices. In that case I agree what 11manish has mentioned.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 936
11manish 628
Valantis 604