Add variable amount of bundles in an Empty Array

Hello,

I need to create an Empty Array where the amount of bundles is not always the same.

The maximum is 7 bundles, but it could be less.

The parts to fill up this Array are coming from a Parse JSON module.

At the moment it looks like this, but this isn’t working correctly for my use case.

If anyone has a simpler solution, please let me know.

Thanks!

Welcome to the Make community!

Please provide the output bundles of the Parse JSON module (or better still, from the modules before the Parse JSON too) by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

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

Uploading them here will look like this:

module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles 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:
    Screenshot_2023-10-02_191027

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

This will allow others to better assist you. Thanks!

If you can provide a screenshot of your scenario, and tell us what you are trying to achieve, we might even find a more optimal way of doing it!

1 Like