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 :)