Notion Relations only gets the first database item ID

Goal: to follow all the relations from a single database item in one database (Settlements, example is the settlement of Zarza) to the related database items in another database (POIs, example is a list of inns, taverns, etc.) The relation field in the Settlements database is “POIs” and points to the POIs database.

My flow uses search objects to find a single settlement I want to elaborate by using a checkbox. This works, and you can see the array of POIs related to Zarza here:

POI relations from Settlement

I then try to “Get Database Item” by pulling the previous array, but now it shows only a single ID:

I tried putting an iterator in there, but it also sees only a single ID:

I’m not getting any errors - the scenario executes but only on the one relation. How can I access the full array of 7 relations?

Thanks,
Heidi

Hi @Pixel7777 ,

In your iterator, on which array do you iterate?

BR,

PBI

2 Likes