How to extract inline database ID from a Notion page?

Hi everyone! :waving_hand:
I’m trying to build a Make scenario where I extract the ID of an inline database that’s embedded inside a Notion page.

So far, I’ve successfully retrieved the main page ID using the “Search Objects” or “Watch Database Items” modules. However, I now want to go one step further and get the ID of the inline database (child database) within that page.

Has anyone done this before?

  • Which module should I use to access the blocks inside the page?
  • Can I extract the child database ID from the block structure?
  • Is it possible to identify it by its type (child_database) using the HTTP or “List Page Content” module?

Any tips, examples, or suggestions would be really appreciated! :folded_hands:

Thanks in advance!

Hi Hyeonho,

  • You can use the “List page contents” module - this will output all the blocks on the page
  • Yes you can - you will find one of the blocks in the output will have a “type” = “child_database”
2 Likes


Hi, I’m trying to extract the child_database block from a Notion page using List Page Contents, then pass it through an Iterator and filter it based on the block type.

Here’s my flow:

  1. Notion - Watch Database Items (trigger)
  2. Notion - List Page Contents (to get internal blocks of a page)
  3. Iterator (to handle each block individually)
  4. Filter → I want to pass only the block.type == child_database items
  5. Update Notion DB with that block’s info

However, in the filter after the Iterator, the only available field is Value, with no subfields like type, object, etc. Even though I know from the List Page Contents output that each block has a type field (e.g. callout, paragraph, child_database), I can’t access it after the iterator.

I’ve tried mapping:

  • Iterator[Value]
  • Iterator[Object]
  • Iterator[Value].type ← Not available
  • Even setting the array input to Page Content ID or Object

But after the iterator, only a flat Value remains in the filter condition. I need to filter only child_database blocks, but can’t access type.


:framed_picture:Screenshots:

(Include the ones you’ve shared here — the filter setup, the iterator output, and the missing type issue)


:backhand_index_pointing_right: What I need to know:

How do I access type in the filter after the iterator?
Or, how do I filter for child_database blocks after listing contents of a Notion page?

“List page contents” already outputs each block as a separate bundle, so there is no need for the Iterator. You can then filter like below (1. Type is mapped from the “List page contents” module directly