cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jimz88
Level: Powered On

Add to collection from Respond to PowerApps Action returning JSON

I am working with the Respond to PowerApps Action in Flow. I would like to return some data to a PowerApp and store the data in a collection.

If I have a JSON payload such as the following:

 
[
  { "Country": "France", "City": "Paris" },
  { "Country": "England", "City": "London" },
  { "Country": "Italy", "City": "Rome" }
]

I can send this data back to the PowerApp using the Respond to PowerApps action and it will return the data as follows:
 
{ "countrydata": "[{\"Country\":\"France\",\"City\":\"Paris\"},{\"Country\":\"England\",\"City\":\"London\"},{\"Country\":\"Italy\",\"City\":\"Rome\"}]" }

 
Is there an easy way to get this data into a collection? Or would it be best to create a standalone Flow and wrap it in a Custom Connector?
2 REPLIES 2
Community Support Team
Community Support Team

Re: Add to collection from Respond to PowerApps Action returning JSON

Hi @jimz88,

 

Could you please share a screenshot of your flow's configuration?

Do you want to put the JSON data from Microsoft Flow into a collection within PowerApps app?

 

I have made a test on my side, I afraid that there is no way to achieve your needs in PowerApps currently. PowerApps app only support processing string data returned from Microsoft Flow currently.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

More details about returning data to PowerApps from a flow, please check the following article:

https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/

 

Best regards,

Kris

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jimz88
Level: Powered On

Re: Add to collection from Respond to PowerApps Action returning JSON

Just to update this, the Response action within Flow allows you to return a JSON payload back to a PowerApp. This is demonstrated rather well by @mrdang - https://youtu.be/K_H5r0nzwy4

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 314 members 6,111 guests
Recent signins:
Please welcome our newest community members: