Hi, I'm looking to return a SharePoint list from a flow to an app using the power apps response action. I managed to send the response as stringified json but `Set(list, Table(ParseJSON(TestGetListItems.Run().json)));` won't unpack the string into a valid table: the columns aren't recognized. Anyone has an alternative to transmitting table data to power apps via power automate? Thanks!
In Power Automate runs:
In Variable inspector:
Thanks @anandm08 . Actually I was able to pull it off with "Respond to Power Apps" by stringifying the response. Your Tip 2 saved me.
Hey @jusataspera ,
Have you tried using the ParseJSON function?
In your Flow you can see that you're sending a JSON string back. So using the ParseJSON function should do the trick. You can either change to a collection or sill use the variable, that doesn't really matter. since a variable is a container for whatever you are putting in there even if it's a table.
Let me know if it helped you .
hi @jusataspera ,
There are two issues with the way you are doing it.
1) Respond to Power Apps action can't send back an array. It can only send back a string. To send back an array you need to use the HTTP Response action and provide an appropriate Schema in the advanced settings.
2) If you are sending back an array then you want to capture the array as a collection using ClearCollect() instead of Set()
MS.Ragavendar
32
Michael E. Gernaey
24
Super User 2025 Season 1
WarrenBelz
18
Most Valuable Professional