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 / 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,969 Moderator 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

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

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard