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 Response to Powerapps
Power Apps
Answered

API Response to Powerapps

(0) ShareShare
ReportReport
Posted on by 204

Currently have a power-app that triggers a power automate flow that retrieves multiple tables via an API.

 

All tables/Values are embedded within the API response and it stores the values in a collection. Issue I'm facing is that only the first table values are populated in the collection. From the below example I will only have data for Table A the other tables will have collection heading names although no data.

 

TableData                    Table Name

Nested collection              A

Nested collection              B

Nested collection              C

 

Any help is greatly appreciated.

 

Thanks

 

 

Categories:
I have the same question (0)
  • scalca Profile Picture
    on at

    pls share how you're getting the table values from power automate and how it is responding 
    do you have the expected result in power automate ? 
    how are you responding to power apps and how are you populating the collection ?

  • christian12 Profile Picture
    204 on at

    ClearCollect(TempTypes,'Forms_Test'.Run(GUID,UserName,PW,DateSent,APIURL,APIUserName,APIPW).response.payload.LookupTables)

     

    Sorry its actually not returning the correct collection headings. It's using the same headings from the first table.

     

    christian12_0-1717667156612.png

    Responding to Power Apps using the Response action

     

    christian12_1-1717667254822.png

     

    This is my API response

    christian12_0-1717672971452.png

     

     

  • Verified answer
    christian12 Profile Picture
    204 on at

    Got it working. It was the schema in the response. Had to use a online JSON to schema tool as the power automate generate from sample was not working correctly.

     

    Collection is returned to power-apps and in Power Apps I save these into separate collections.

     

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
Kalathiya Profile Picture

Kalathiya 419

#2
WarrenBelz Profile Picture

WarrenBelz 397 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 345 Super User 2025 Season 2

Last 30 days Overall leaderboard