Extrat values from array aggregator to uodate notion properties

:bullseye: What is your goal?

I want to extract metrics/statistics from Instagram posts and put those values inside a specific Notion page related to this post. All the metrics values such as views, likes and so on are Notion page properties.

:thinking: What is the problem & what have you tried?

When i tried to map the values that i get from an array aggregator, see image reference 1, it always returns that the values is empty so it give me a default 0. I’m sure all the values are here and the problem is the formula i should use in the field of the Notion module setup, see image reference 2.

Do you have an idea of what i should put in this field to extract its related value

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hi @Bolimdesign , Welcome to the community!

I think you should add an Iterator module after the Array Aggregator module, then map values from the iterator to your destination module, which I assume is the Notion module.

Let us know how it goes.

All the best,
-John

Hello,

Could you please show us your array aggregator configuration?

Simplest config for likes and comments:

Adding an iterator with before my last module to extract the value and then map them work perfectly. Thanks guys you are real legends!!!