How to extract the first element of multiple arrays within nested array?

Out of the attached module output, I would like to create a list of only the first title for every “news item”. I am stuck for hours now.

Output.json (92.0 KB)

The result should look like this:

“Tropical Storm Debby Tracking Toward Florida”, “Noah Lyles Wins Men’s 100M Final in Photo Finish”, “Ukraine’s Zelenskyy Unveils New Arrival of F-16 Fighter Jets to Confront Russian Air Threat”, …

If someone could please recommend a source to learn about the underlying concepts, I would appreciate it.

1 Like

I think I solved it myself using a set multiple values module with the value: {{map(map(1.data.top_news; “news.1”); “title”)}}

3 Likes