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

Pass Array from flow to PowerApps

is it possible to pass an Array object derived from a "http" request to PowerApps without having to convert to a string?
i',m basically using the Request action on Flow to request available addresses using using this endpoint
https://api.getAddress.io/find/{post-code} 

And then i use the Response action, with the aim of passing the output to flow

 

in PowerApps i use the clear collect to attempt to collect all the addresses for the specified postcode. i don't get any results back. 
ClearCollect(Col_addresses, LookupPostCodes.Run("ab244de")

 

Anyone know what i maybe doing wrong or is this even possible. i also really want to avoid the route where i have to use Apply each action on flow as that could slow down the app.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Pass Array from flow to PowerApps

Hi @Gottijay2000 ,

Could you show me more details about your flow?

Here's a similar issue that may help you:

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Passing-Parameters-from-a-Flow-to-a...

What's more, you could consider returning a JSON array to PowerApps using a Request Response action. 

Then collect this in PowerApps.

Here's a video about this for your reference:(  Replace the Array sent from Flow to PowerApps to learn how to return a JSON.)

https://www.youtube.com/watch?v=MoifwDFKSTo&feature=youtu.be

For convertion HTML to JSON, I can not see any easy mean, I think maybe with a lot of Data manipulations. You can find some tips here JSON cheatsheet for Flow.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Pass Array from flow to PowerApps

Hi @Gottijay2000 ,

Could you show me more details about your flow?

Here's a similar issue that may help you:

https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/Passing-Parameters-from-a-Flow-to-a...

What's more, you could consider returning a JSON array to PowerApps using a Request Response action. 

Then collect this in PowerApps.

Here's a video about this for your reference:(  Replace the Array sent from Flow to PowerApps to learn how to return a JSON.)

https://www.youtube.com/watch?v=MoifwDFKSTo&feature=youtu.be

For convertion HTML to JSON, I can not see any easy mean, I think maybe with a lot of Data manipulations. You can find some tips here JSON cheatsheet for Flow.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Gottijay2000
Level: Powered On

Re: Pass Array from flow to PowerApps

many thanks, this was really helpful

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,757)