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 / Binding Incorrect Type...
Copilot Studio
Suggested Answer

Binding Incorrect Type Error When Transferring File from Copilot Studio to Power Automate

(2) ShareShare
ReportReport
Posted on by

I am encountering an issue when attempting to transfer a file from Microsoft Copilot Studio to Power Automate using the Power Automate plugin. When passing the file as an input field in Copilot Studio, Power Automate expects the input type to be a file. However, in Copilot Studio, it appears that Power Automate requires the input as a record. This mismatch results in a "Binding Incorrect Type" error.

I have attached relevant screenshots for reference. Kindly assist in resolving this issue.

Categories:
I have the same question (0)
  • MO-12020810-0 Profile Picture
    5 on at
    I'm facing the same issue.... Power Automate is expecting a "Record" type, but Copilot gives a "file" type...
  • Suggested answer
    DuaS. Profile Picture
    187 Super User 2025 Season 2 on at
    Hey, 
    1. Convert the file to a Base64 string in Copilot Studio before passing it to Power Automate. Power Automate can then decode the Base64 string back into a file.
    2.  In Power Automate, set the input field to accept a string (for Base64) instead of a file, and use the “Base64 to File” conversion step.
    3. Confirm that the input schema in Power Automate matches the data being passed from Copilot Studio.

    Try these steps and see if the error resolves. If you need more help, let me know!

  • MO-12020810-0 Profile Picture
    5 on at
    @DS-09100503-0 any example & screenshots how to convert the "file" type to "string base64" type in copilot studio, and how to convert the "string base64" back to "file" type in power automate? i can't seem to find any information on this. thanks.
  • DougM_Barhead Profile Picture
    25 on at
    I have a similar issue.
    When a file is attached to the chat I can create a variable of type "File" from System.Activity.Attachments.Value
    But, I can't send this File to Power Automate.
     
    PA allows the creation of an input variable of type File but I get a type mismatch when I try to pass File from CPS to PA.
     
    I'd be interested to know how to convert to Base64 as suggested by @DS-09100503-0 - I don't think you can do that in PowerFX for Copilotstudio (which is an undocumented subset of PowerFX for some unknown reason)
  • Lujain Profile Picture
    2 on at
    Im facing the same issue
  • Suggested answer
    DAnny3211 Profile Picture
    134 on at
    hi 
     
    see my video
     
     
    DAniele

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard