Looping over an API method call and using the results in a second method call

Is it possible call an API method (say, GetAllChangedRecords) and then use the result set to call a second method in a loop of the original result set (say, GetAllRecentOrders/{id} where {id} is from the loop over the first method call?


Hey Michael! Yes you can. Use the API Import step to pull in the data first, and then use an API Enrichment step to make the second call. It will go row-by-row and make API calls, and you can merge the value of any column into the URL by referencing the exact name of the URL inside {curly braces}.

1 Like