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 / 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,590 Super User 2025 Season 2 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,590 Super User 2025 Season 2 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

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