YouTube search automation: how to avoid duplicates and get a limited number of videos

That’s what happens when Group By is used. You’ll need to use a Set Variable module to extract the first item in the array, if that’s what you want.

Alternatively, you can avoid using Group By, then, you can use this built-in function in a Set Variable module after the aggregator:

Here’s an example of how you can use this function:

{{ distinct(86.data.items; id.videoId) }}
(copy-paste the above into the field, or type it exactly as shown)

Hope this helps! If you are still having trouble, please provide more details.

@samliew