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

Answer Slack knowledge questions with Notion, Google Drive, Pinecone, and OpenAI

Needs changes

by Redowan Ahmed Farhan ✓ · 4 views · created 2026-08-01 · 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 25 nodes and runs on a schedule (every day at 02:00) (plus 2 other triggers). Along the way it connects Notion, Google Drive, Pinecone Vector Store and Embeddings OpenAI and 2 more.

How it runs

Trigger: On a schedule (every day at 02:00) (plus 2 other triggers).

  1. Search Notion Pages (Notion): search
  2. Search Drive Files (Google Drive): work with file folder
  3. Strip Mention (Code): runs custom JavaScript code
  4. Notify Ops (Slack): uses Slack
  5. Combine Doc Sources (Merge): merges the data from its input branches
  6. Answer Question (AI Agent) (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Knowledge Base (RAG Tool))
  7. Normalize Doc List (Code): runs custom JavaScript code
  8. Reply in Thread (Slack): uses Slack
  9. Process Each Doc (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Is Notion Doc? (If): checks a condition and branches into true / false

…plus 6 more steps. See the full node list below.

Services it uses

NotionGoogle DrivePinecone Vector StoreEmbeddings OpenAISlackOpenAI Chat Model

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 Answer Question (AI Agent) (v1.7): 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)
Answer Question (AI Agent) (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (17)

From the author

Quick overview This workflow syncs Notion pages and Google Drive files into a Pinecone vector index nightly, then answers Slack @mentions using an OpenAI chat model with retrieval from that Pinecone knowledge base and replies with a source URL. How it works…

Excerpt from Redowan Ahmed Farhan'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.