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 / Read Attached Files Wo...
Copilot Studio
Answered

Read Attached Files Workaround?

(2) ShareShare
ReportReport
Posted on by 15
I've been tasked with building an agent to analyze contracts with a company specific checklist. Currently, Copilot Studio does not have the ability to read attached files in the chat, thus I have been looking for work arounds. I have considered creating a new folder on sharepoint and having users upload contracts to that folder. That way, the files can be part of the knowledge source. However, if there are any better workarounds to this problem that people have found I would love to hear it!
Categories:
I have the same question (4)
  • Verified answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,641 Super User 2026 Season 1 on at
    Hello,
     
    Good news, copilot studio have this ability, Use Activity.Attachments. It's a table.
     
    So you have two way of getting it : 

    First if you are in normal environnement, you probably don't have the "loop" action (will be sonn in global available,it s only in preview environnement) so, easy to go : Attachments is a table so use it with power FX and get the first element of your table
     
    First(System.Activity.Attachments).Value
     
    *it's a fake food ticket generated by AI, so don't worry :)
     
    Then you could send it to any action waiting for a document, in my sample it's a custom prompt engin from power platform (it accept document since last month)
     
    The second option is about going in preview environnement and use "loop" like in the screen share belew (anybody could create a preview env : when you create an environnement, choose USA and then you will have a "preview" checkbox. only possible when creating env)
     
     
    Last , if you don't manage to make it work, ultimatly  you could ask people to put document in a sharepoint document library or by mail and use an agent flow / power automate to analyse document. But previous capture are from my environnement so it's totally possible 
     
    today i was asked to analyse contract too, they are upload in a sharepoint library, so i used the trigger from modify in a sharepoint site and send content of the file to my copilot studio. Then i use the new feature "deep reasoning" to analyse the contract, i describe the prompt in the prompt part of copilot studio.
     
    So you have a lot of possibility to resolve your use case :) 

    If you find the answer usefull, accept it as good answer, it's very important :)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 813

#2
Vish WR Profile Picture

Vish WR 313

#3
Haque Profile Picture

Haque 271

Last 30 days Overall leaderboard