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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using API response dat...
Power Automate
Answered

Using API response data for additional API Calls

(0) ShareShare
ReportReport
Posted on by 18

Hello - 

 

I am making a call to a REST API that returns objects with one of the fields being an ID. I need to then take these IDs and make an additional api call, 1 per id, passing these ids as a parameter. 

 

For example, the initial API Call returns 10 ids. I need to take each id and make the same API call 10x, passing a different id each time. 

 

How would i set this up?

Categories:
I have the same question (0)
  • Verified answer
    krootz Profile Picture
    458 on at

    @thampton  You will need a parent/child flow configuration.  The parent flow will have the action to call the REST API that returns the IDs.  You can pass a single ID by looping or all the IDs to a child flow using HTTP POST where the URI/URL is the child flows URL. 

    post.png

    Above example, I'm passing 3 parameters to a child flow.  The child flow is triggered by an HTTP Request with a json schema to receive the 3 parameters being passed from the parent.

    get.png

     

    When you create a flow triggered by an HTTP request the URL will be generated after you save. This is the one you will need to use in the parent as a reference to call the child.

    Also depending on how you want the IDs to be processed, you can either pass one ID from the parent to the child, or pass all IDs all at once and have the child loop through the IDs instead rather than the parent looping.  It really depends on what you're trying to do and where it makes sense.

     

    In my case, I have a child that sends an adaptive card to different users waiting for a response so I have to pass one record to the child each time so each is it's own workflow.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 881

#2
Valantis Profile Picture

Valantis 823

#3
Haque Profile Picture

Haque 485

Last 30 days Overall leaderboard