How to get a block in Notion Database Page?

Describe the question

Is there a way to take from database page block(-s) under the properties?

Please share the workflow

Example

Heading 2 and bottom are blocks

Information on your n8n setup

  • n8n version: 0.186.1
  • Database you’re using: Notion
  • Running n8n with the execution process: own
  • Running n8n via: Docker

Hi @shimaper, you can use the Block > Get Child Blocks operation of the Notion node for this and specify the ID of your database page in the Block ID or Link field:

Thank you, that works

Nice, thx for confirming!

@mutedjam How can you “combine” all the “plain_text” values from the returned Notion JSON?

That returns all the block but how can you combine all the text there?

Hey @pooria,

It is probably better to create a new topic than to bump a topic that has been solved for a year :slightly_smiling_face:

I noticed you have also asked the same thing on Discord and it would be worth putting the question in one place and linking so that it doesn’t split the attention.

For now as the original topic was solved I am going to close this one.