Build an All-Source Knowledge Assistant with Claude, RAG, Perplexity, and Drive
Ready for 3.0What this workflow does
This AI workflow has 30 nodes and runs manually, when you click “Execute workflow” (plus 3 other triggers). Along the way it connects Postgres Chat Memory, Embeddings OpenAI, Reranker Cohere and Anthropic Chat Model and 6 more.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 3 other triggers).
- Download file (Google Drive): download
- Knowledge Agent (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 5 tools (Think, structured data, General knowledge, Message a model in Perplexity…); memory: Postgres Chat Memory
- Operation (Switch): routes items into 1 branches
- Add to Supabase Vector DB (Supabase Vector Store): stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
- Download File (Google Drive): download
- FileType (Switch): routes items into 5 branches
- Extract from PDF (Extract from File): extracts data from a file (pdf)
- Extract from CSV (Extract from File): extracts data from a file
- Analyse Image (OpenAI): analyze (image)
- Transcribe Audio (OpenAI): transcribe (audio)
…plus 2 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Drive templates (628) · Other OpenAI + PostgreSQL templates (191) · Other OpenAI + Supabase templates (149)
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 (23)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Reranker Cohere
@n8n/n8n-nodes-langchain.rerankerCohere - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Postgres Tool
n8n-nodes-base.postgresTool - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Manual Trigger
n8n-nodes-base.manualTrigger - Google Drive
n8n-nodes-base.googleDrive - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Google Drive Tool
n8n-nodes-base.googleDriveTool - OpenAI
@n8n/n8n-nodes-langchain.openAi - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Perplexity Tool
n8n-nodes-base.perplexityTool
From the author
📜 Detailed n8n Workflow Description Main Flow The workflow operates through a three-step process that handles incoming chat messages with intelligent tool orchestration: 1. Message Trigger: The When chat message received node triggers whenever a user message…