Templates / Build AI-ready knowledge base from Outlook & Notion using Pinecone & GPT-4

Build AI-ready knowledge base from Outlook & Notion using Pinecone & GPT-4

Ready for 3.0

by Yasser Sami ✓ · 580 views · created 2025-10-14 · Internal Wiki, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 25 nodes and runs on Notion events (plus 2 other triggers). Along the way it connects Microsoft Outlook, Pinecone Vector Store, Embeddings Cohere and Notion and 1 more.

How it runs

Trigger: On Notion events (plus 2 other triggers).

  1. Get many child blocks (Notion): get many (block)
  2. Get many messages (Microsoft Outlook): get many
  3. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Pinecone Vector Store, Pinecone Vector Store); memory: Simple Memory
  4. If: checks a condition and branches into true / false
  5. Remove Duplicates: removes duplicate items
  6. Get many child blocks (Notion): get many (block)
  7. Merge: merges the data from its input branches
  8. Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader
  9. Split Out: splits a list into separate items
  10. Remove Duplicates: removes duplicate items

…plus 1 more step. See the full node list below.

Services it uses

Microsoft OutlookPinecone Vector StoreEmbeddings CohereNotionOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (16)

From the author

Outlook & Notion Knowledge Base Builder for AI Agents This n8n template lets you automatically build and maintain an AI-ready knowledge base from Outlook emails and Notion pages. It stores both sources in a Pinecone vector database so your AI agent can…

Excerpt from Yasser Sami'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.