Templates / Answer Slack knowledge base questions with Notion, Pinecone, and OpenAI

Answer Slack knowledge base questions with Notion, Pinecone, and OpenAI

Needs changes

by DigitalCube.AI · 26 views · created 2026-07-15 · Internal Wiki, AI RAG

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

What this workflow does

This AI workflow has 15 nodes and runs on a schedule (every 24 hours) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Notion, Pinecone Vector Store and Embeddings OpenAI and 1 more.

How it runs

Trigger: On a schedule (every 24 hours) (plus 1 other trigger).

  1. Fetch Notion KB Pages (Notion): get many (database page)
  2. Filter Out Bots and System Messages (If): checks a condition and branches into true / false
  3. Retrieve Notion Blocks (Notion): get many (block)
  4. CubeBot AI Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Chat Model; 1 tool (Pinecone KB Search)
  5. Prepare Document Metadata (Code): runs custom JavaScript code
  6. Post Reply in Slack Thread (Slack): uses Slack
  7. Insert Vectors into Pinecone (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: OpenAI Embeddings Ingestion; document loader: Load Data for Vectors

Services it uses

OpenAI Chat ModelNotionPinecone Vector StoreEmbeddings OpenAISlack

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in CubeBot AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Slack Trigger requires a signing secret on the Slack API credential.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
CubeBot AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

Quick overview This workflow syncs an internal Notion knowledge base to Pinecone on a daily schedule, then runs a Slack bot that answers questions in a specific channel using Pinecone retrieval and an OpenAI chat model, replying in a thread with citations…

Excerpt from DigitalCube.AI'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.