Send dynamic message to whatsap using Green API (parse array to a list of items)

Hello,
I have this scenario as you can see in the image below. I got a list of items from PostgreSQL


h
Later on I used Array aggregator and Tools (set variable)
as you can see I got an array of items

In the module of Green API where I tried to send the message I don’t know hot to create a customize message with a list of items
This is the module:

I need that results in the Whatsapp:

- I need row by row and a dot for every row.

Please, how can I do it guys? some help :innocent: :anguished:

Hi Barak,

so what you have is an array of items and you need yo send the entire array as a text message right?

You will need to use an Iterator module on the array and then a Text Aggregator module to change it to a single text item. Or alternatively rework your automation to use the Text Aggregator module instead of the Array Aggregator to directly get that and save on operations.

Can you give me an example how yo do it?
I am really frustrated :slight_smile:
I need to group by name and phone number
and then list of all items.