Notifications
Announcements
My file uploads in Copilot Studio broke after recent updates. I upload files but get a type error when passing them to my Power Automate flows. Error: "Input variable 'InputFile' is of incorrect type: Record(Content:File,ContentType:String,Name:String,Value:File)"
Context: The old method `System.Activity.ChannelData` worked fine but was recently deprecated as what I've read. I'm trying out `First(System.Activity.Attachments)` (naned it as FileContent variable) and it returns a Record type but my Power Automate flow expects File type.
Still, the confusing part is that in Flows I set the InputFile parameter to 'File' type, but when I go back to my Copilot Studio agent, it shows up as 'Record' type instead. When I try to change FileContent to match this InputFile type, it doesn't work!!!
I need a way to pass uploaded files from (UI via MSTeams) Copilot Studio to Flows for further OCR processing. Can anyone help?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 270 Super User 2025 Season 2
Romain The Low-Code... 181 Super User 2025 Season 2
S-Venkadesh 93 Moderator