Carousel post Instagram - OneDrive and Array Aggregator


Hi, we want to create a scenario that will download e.g. 5 photos from a specific folder on OneDrive, and then pass them as a photo package to the description by ChatGPT Analyzer, which will create a title, description and hashtags for us, and then publish them as a carousel post on Instagram.

Unfortunately, we spent a lot of time testing and we can see that Array Aggregator does not want to generate a correct link to download the photo, which is why ChatGTP Analyzer reports an error:

Validation failed for 1 parameter(s).
Missing value of required parameter ‘images’.

The screenshots show how we have Array and ChatGPT configured.

Outpoot bundles from Array Aggregator:

ChatGPT Analyzer:

If anyone can help, we would be grateful, how to solve this and what exactly to enter in the Images field in ChatGPT Analyzer and why Array does not return the correct photo address.

Welcome to the Make community!

You need to map the whole array into the Images field, not just the URL parameter.

Array Aggregator – mapping multiple bundles into a complex field

The Array Aggregator module is very powerful because it allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.

This is done using the “Target structure type” of an Array Aggregator module.

Here is an example:

As you can see, the “Map” toggle on complex fields are used when you have an array. You can easily build an array variable to map to a future module’s field, by using an Array Aggregator module and select the “Target Structure Type” as the future module’s field you have mapped the array into.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.