web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / API flow results popul...
Power Apps
Unanswered

API flow results populate dropdown in PowerApp

(0) ShareShare
ReportReport
Posted on by 161
Hi. I have developed a flow that authenticates to an API and then runs a simple POST command to return a JSON response of data with 2 fields - id and name. So for example the response would have several results like 
{ "id" : 123,
"name : "abc",
 
"id" : 234,
"name" : "bcd"
 
etc...
}
 
I have a PowerApp and can add the flow to it, my question is what additional steps do I have to take in Flows (i.e. parse json data? append to list?) and in PowerApps (create gallery based on this flow's results somehow?) to populate a dropdown or table or gallery or anything based on the "name" results only from the API flow response?
 
Categories:
I have the same question (0)
  • Suggested answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at
     
    Na additional steps need to be taken in Power Automate, but in Power Apps you do:
     
    In the App.Onstart property, you have to call the Power Automate flow and parse the returned JSON string before storing it in a collection. This collection can then be used to poulate the options in a dropdown control.
     
    For parsing the JSON string, you can use the ParseJSON function in Power Apps: ParseJSON function - Power Platform | Microsoft Learn
     
    Based on the provide schema, the formula may look something like this:
     
    ClearCollect(
        colDropdownOptions,
        ForAll(
            Table(ParseJSON(PowerAutomateFlow.Run().Response)),
            {
                id: Value(ThisRecord.Value.id),
                name: Text(ThisRecord.Value.name)
            }
        )
    )
     
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard