Save data from each iteration of a loop

I’m running a loop over a number of requests and would like to store the id from each iteration, once this has been completed I want these id’s to be passed into a different loop.

I’ve tried a few different approaches but can only get the output of one iteration. Below is where I’m at currently, thanks in advance for any help with this!!

Hey @craigdavieslumin

Welcome to the forums!

It looks like the issue is your variables in your Sed Request block aren’t pinned. Press the pin icon on both of them and your loop should work.

By default, variables only trigger once but for loops, pinning them allows them to trigger each iteration.

Hey @flows-daniel!

That’s perfect, thanks for the assist :+1:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.