How to collect json results in Flow?

I need to make repeated calls to GCP API that returns pages results. The first call returns 100 items and a link to the next page. I have configured a Flow to follow the next and previous links to make repeated calls. However, how do I collect the returned results to create an uber list will data from all the pages? The flow will be terminated when no more next links are encountered.

I tried using the collect block but it only has 100 items from the first page.