How to Make AI Agent Search Notion Pages and Their Content in a Database?

Describe the problem/error/question

Hi,

I set up the Notion Q&A AI Agent follow the quick start video (https://www.youtube.com/watch?v=ynLZwS2Nhnc), and it works fine.

I write content inside Notion pages and then add these pages to a database in Notion, where they appear as titles in the database table connected to n8n.

However, I found that the chatbot only returns related URLs instead of the details inside my pages.

I need the AI to read the actual content inside these pages when answering questions. How can I make the AI search and retrieve content from the pages inside my Notion database, not just the titles/descriptions?

Thanks!

1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hi!
To do this, you would need to also retrieve the content of each Notion page (using the “Get Child Blocks” node or an HTTP request following the documentation: Retrieve block children).

Then incorporate the output (blocks on each page) into your chatbot input

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.