Exit a Repeating Scenario with an Array Aggregator

Hi! I’m trying to work pagination into my scenario, struggling to continue it after the repeater is supposed to complete and stop. Similar issue to this conversation:

However, I need the loop to run until there’s no next page token, not just for X number of repetitions, so the advice given there doesn’t quite help me. Would greatly appreciate input, I’m very close but stuck. Thanks!

I did also try this, but the last bundle with no next page token doesn’t go to the array aggregator, so I miss that data

First option should be correct, you’re missing an error handler on the module that throws the error, or a filter before it to check if a variable exists.

If you read my post you linked, the second option you tried is only if you do not want/care about the output, and just want to continue doing something else.

For further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.


Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)


If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    input/output bundle content goes here

  • Or use the format code button in the editor:

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

Thanks so much @samliew. Grateful for your help on this.
For privacy reasons, I can’t provide bundle output easily, but I have some more detailed screenshots of the flow (with an added filter):

I partially understand how the filter and error handling is supposed to work, but at a loss for how to place it correctly so that I still get all my output bundles to the array. Tried this but it didn’t have the desired result since the array continues in the loop until the repeater runs all it’s repetitions:

Thank you!