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 Automate / Using API response dat...
Power Automate
Unanswered

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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard