cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gottijay2000
Advocate II
Advocate II

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
v-yutliu-msft
Community Support
Community Support

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
v-yutliu-msft
Community Support
Community Support

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

many thanks, this was really helpful

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,602)