Templates / Notion knowledge base AI assistant

Notion knowledge base AI assistant

Needs changes

by Max Tkacz ✓ · 51,051 views · created 2024-09-13 · Internal Wiki, AI RAG

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, HTTP Request and Notion. It also calls api.notion.com over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Get database details (Notion): work with database
  2. Format schema (Edit Fields (Set)): sets 6 fields: sessionId, action, chatInput…
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Search notion database, Search inside database record); memory: Window Buffer Memory

Services it uses

OpenAI Chat ModelHTTP RequestNotion

HTTP calls to: api.notion.com

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • HTTP Request Tool (legacy) in Search notion database, Search inside database record: replace with HTTP Request node connected to the AI Agent's Tool input.
  • AI Agent v1 (old agent modes) in AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
HTTP Request Tool (legacy)
Search notion database, Search inside database record
HTTP Request node connected to the AI Agent's Tool input
AI Agent v1 (old agent modes)
AI Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

Who is this for This workflow is perfect for teams and individuals who manage extensive data in Notion and need a quick, AI-powered way to interact with their databases. If you're looking to streamline your knowledge management, automate searches, and get…

Excerpt from Max Tkacz's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.