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 / Copilot Studio to Powe...
Copilot Studio
Answered

Copilot Studio to Power Automate – file input error (UnspecifiedDataType type mismatch)

(1) ShareShare
ReportReport
Posted on by 17
Hi,
I'm trying to send an uploaded Excel file (`.xlsx`) from Copilot Studio to a Power Automate(Agent) flow. The flow expects a file parameter, but I get the following error:
 
Here is my Error Message
 

The flow ‘My Flow Name’ (Flow ID) failed because the parameter named file was declared with type UnspecifiedDataType. This type is not supported when invoking Power Automate. Currently, only Text, Boolean, and Number types are supported.

Error code: FlowActionBadRequest.

Conversation ID:
ConverSationID

Timestamp (UTC): 7/26/2025 5:41:02 AM

 

I attached Two images 
First image is Copilot Studio's topic and the excel's filetype is "Record".
 
And the second image is Agent flow
the agent flow's excel file type is "File"

How can I Integrate this file type ?

Expected:

 

I want to send a file from Copilot Studio that Power Automate can recognize and process properly — preferably as an attachment or stream.

 

Is there any workaround, or planned support for passing file-type parameters from Copilot Studio to Power Automate(Agent Flow)?

 

 

 

I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
     
    The issue is you are not passing a Record of data to Power Automate. I cannot see and you didn't share the actual expressions, but Copilot does not have a Record property, it has the FileName and the attachment stream
     
     
    Can you please share your expressions
     
    You will need to pass the correct format, by creating it in a Power FX expression
     
    Cheers.


    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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