web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,174 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 270 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 181 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard