Two Array, one iterator

Hi,

I’m working on a scenario and i’m struggling with iterator.

Here the entire scenario :


blueprint (1).json (87.6 KB)

The problem comes just after the woocommerce module. Let me explain.

In the product information, i want to retreive two informations : Images and a specific Meta data with a key named caracteritiques.
They are at the same level on the woocommerce module.

Images Array

Meta data Array

I want to retrieve each array information at the same time.
I thought to put one in front of the other, but it doesn’t work.
I tried to put the two values on the same iterator but not working.

I have already thought about put another woocommerce module like that :

I’m not sure about it because I am trying to find the best way to do it.
I just started building scenario a couple days ago, quite sure i’m making basic mistakes.

Any help on this would be much appreciated!

Hi,

Welcome to the Make Community!

The approach mostly depends on what you need to do with the “Meta Data” content.

You can use the simplest approach by adding a second iterator and a text aggregator before the images iterator or a JSON aggregator. As I said, it depends on what you need from the Meta Data later on.

Below is a blueprint of a scenario that allows you to learn more about iterators and aggregators with sample data:
blueprint (iterators).json (24.9 KB)

Hi,

Thanks for the reply !

I need to retrieve the value (text) from the Meta Data Key : caracteristiques.

The idea of the scenario is : looking for a product, retreive all images and informations on meta data “caracteristiques”, make an image analysis and then create a quick description using the image analysis and the information from the meta data “caracteristiques” for facebook/instagram.