cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

Highlighted
Helper III
Helper III

Re: Pass Array from flow to PowerApps

many thanks, this was really helpful

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,596)