Build AI-ready knowledge base from Outlook & Notion using Pinecone & GPT-4
Ready for 3.0What 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).
- Get many child blocks (Notion): get many (block)
- Get many messages (Microsoft Outlook): get many
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Pinecone Vector Store, Pinecone Vector Store); memory: Simple Memory
- If: checks a condition and branches into true / false
- Remove Duplicates: removes duplicate items
- Get many child blocks (Notion): get many (block)
- Merge: merges the data from its input branches
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader
- Split Out: splits a list into separate items
- Remove Duplicates: removes duplicate items
…plus 1 more step. See the full node list below.
Services it uses
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)
- Microsoft Outlook Trigger
n8n-nodes-base.microsoftOutlookTrigger - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings Cohere
@n8n/n8n-nodes-langchain.embeddingsCohere - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Notion Trigger
n8n-nodes-base.notionTrigger - Remove Duplicates
n8n-nodes-base.removeDuplicates - Split Out
n8n-nodes-base.splitOut - Notion
n8n-nodes-base.notion - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
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…