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 / Is there a way to pass...
Copilot Studio
Suggested Answer

Is there a way to pass a "record" variable to a Power Automate Flow?

(0) ShareShare
ReportReport
Posted on by 11
How can I get around this error?
 
 
"record" is just a JSON string...this should not throw a Binding error.
 
Any ideas?
Categories:
I have the same question (0)
  • Vinoth Selvam Profile Picture
    1,592 Super User 2025 Season 1 on at
    Hi ,
     
    This error occurs when there’s a mismatch between the input data type expected by Power Automate and the data type actually being passed in. In your case, it seems that Power Automate is expecting a simple string as input, but you’re passing a JSON object (record).
     
    If you’re generating the JSON in Power Automate, use the json() or string() function to convert the JSON object to a string format before passing it as input. Something like this
    string(variables('YourJSONRecord'))
     
    Please check the flow input field inside the Power automate on what record type is used.
     
    Thanks.
     
  • EricW Profile Picture
    11 on at
    I'm trying to pass the record FROM Copilot Studio INTO Power Automate. The string() function does not exist and the json() function appears to be bugged.
     
     
    It literally says in the tip that it generates a string from a record and then throws an error saying it "cannot serialize objects of type 'Record'."
     
    Explain that one to me.
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,592 Super User 2025 Season 1 on at
    Hi ,
     
    In that case, Instead of trying to pass a full record, pass individual fields as separate variables or create a simplified JSON structure manually.
     
    Like this:
    "{ \"field1\": \"" + Record.Field1 + "\", \"field2\": \"" + Record.Field2 + "\" }"
     
    Thanks.
  • EricW Profile Picture
    11 on at
    I appreciate the suggestions, but it doesn't seem like we're using the same software:
     
     
    I've tried all these things before, nothing works as expected.

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 704

#2
Vish WR Profile Picture

Vish WR 249

#3
Haque Profile Picture

Haque 244

Last 30 days Overall leaderboard