Number of items in collection

Hi -

I’m trying to process each item in a collection separately. To do this I’m trying to convert my collection to an array and use a repeater to loop for each item in the collection. I’m then trying to filter based on the data type of each item in the collection.

Unfortunately, the whole collection is just stored as one item in the array, so when I use length(Array) in the repeater I just get the value 1.

Does anyone know how I can access the number of items in a collections, and access each item in the collection separately (ideally based on an index)?

Welcome to the Make community!

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, save the bundle contents in your text editor as a bundle.json file, and upload it here into this discussion thread.

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!