Aggregate Arrays in a Variable

Hi Everyone, I’m not as proficient with Make, and I know this has to be simple so thanks so much for any direction offered!

I have a scenario where I’m trying to aggregate the responses (an array) from a http request inside of a repeater. Here’s how it works:

The Setup

  1. set a variable – I set it to an empty array (this is where I want to aggregate the responses)
  2. setup a repeater with the error-commit pattern (the response is paginated, when it doesn’t contain a next page, stop the repeater)
  3. set a var for the next page URL
  4. make the HTTP request
  5. try and store the response in the variable in [1] above
  6. setup a router → IF there is next page, hit that route ELSE throw error and hit commit

The Issue
I can’t seem to get the responses to aggregate into the variable I setup in [1] above. When I get the variable at the end, it only contains the responses from the first HTTP request.

I’m sure what I’m doing wrong is simple. Perhaps make doesn’t work the same as a programming language? My thought was run this like JS or Python – initial an empty array, on each HTTP request push values into that array – when loop over, return array?

What am I doing wrong you all?? Thanks!