Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CJzBZA39SIYR48f9rkwkRf
Power Apps - Building Power Apps
Answered

Returning tables from power automate through power apps response action

Like (0) ShareShare
ReportReport
Posted on 26 Jun 2024 09:27:29 by 5

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:

jusataspera_0-1719393902805.png

In Variable inspector:

jusataspera_1-1719393991045.png

 

  • jusataspera Profile Picture
    5 on 27 Jun 2024 at 11:14:32
    Re: Returning tables from power automate through power apps response action

    Thanks @anandm08 .  Actually I was able to pull it off with "Respond to Power Apps" by stringifying the response.   Your Tip 2 saved me.

  • DBO_DV Profile Picture
    4,625 Super User 2025 Season 1 on 26 Jun 2024 at 10:13:16
    Re: Returning tables from power automate through power apps response action

    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 .

     

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on 26 Jun 2024 at 10:06:54
    Re: Returning tables from power automate through power apps response action

    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()

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 298 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 174

#3
stampcoin Profile Picture

stampcoin 132

Overall leaderboard
Loading started