Build an All-Source Knowledge Assistant with Claude, RAG, Perplexity, and Drive
VerifiedAI agent retrieves and answers from Drive documents using Claude and RAG.
What this workflow does
This workflow creates a knowledge assistant that loads documents from Google Drive, embeds them for retrieval, and answers queries with Claude while preserving chat history.
It suits teams or individuals who need reliable, context-aware answers drawn from internal files and structured tool use inside n8n.
Who is this for?
Knowledge workers, researchers, and small teams who need unified answers from company files and external sources without manual searching.
What problem it solves
Information is scattered across Google Drive, chat history, and the web, making it slow and error-prone to get accurate, context-aware answers.
What it automates
Research report drafting
Pull latest data from Drive docs plus web sources to generate cited summaries in one chat.
Onboarding Q&A
Answer new hire questions using internal policies stored in Drive and conversation memory.
Competitive analysis
Combine Perplexity results with company files to compare features without switching tabs.
How the workflow works
The 13 nodes in this automation, in order.
- 1Google DrivegoogleDrive
- 2AI Agent@n8n/n8n-nodes-langchain.agent
- 3Embeddings OpenAI@n8n/n8n-nodes-langchain.embeddingsOpenAi
- 4Anthropic Chat Model@n8n/n8n-nodes-langchain.lmChatAnthropic
- 5Recursive Character Text Splitter@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter
- 6Call n8n Workflow Tool@n8n/n8n-nodes-langchain.toolWorkflow
- 7Supabase Vector Store@n8n/n8n-nodes-langchain.vectorStoreSupabase
- 8Default Data Loader@n8n/n8n-nodes-langchain.documentDefaultDataLoader
- 9OpenAI@n8n/n8n-nodes-langchain.openAi
- 10Postgres Chat Memory@n8n/n8n-nodes-langchain.memoryPostgresChat
- 11Think Tool@n8n/n8n-nodes-langchain.toolThink
- 12MCP Client Tool@n8n/n8n-nodes-langchain.mcpClientTool
- 13Reranker Cohere@n8n/n8n-nodes-langchain.rerankerCohere
Apps & integrations used
How to set up Build an All-Source Knowledge Assistant with Claude, RAG, Perplexity, and Drive
- 1Import the workflow JSON into n8n
- 2Connect Google Drive credentials and select target folders
- 3Add Supabase credentials and create the vector store index
- 4Configure Anthropic API key for Claude Sonnet model
- 5Set Postgres connection for chat memory
- 6Activate the chat trigger and test with a sample message
How to customize this workflow
- →Swap Anthropic model for a different Claude version
- →Replace chat trigger with Slack or email webhook
- →Add extra tools via MCP Client Tool node
- →Change vector store from Supabase to another supported provider
Build an All-Source Knowledge Assistant with Claude, RAG, Perplexity, and Drive: pros & cons
Pros
- +Combines RAG, web search, and memory in one agent
- +Uses strong Claude model for high-quality answers
- +Persistent memory across sessions via Postgres
- +Direct Drive access for private documents
Cons
- –Requires multiple paid API keys (Anthropic, OpenAI, Supabase)
- –Setup involves several external services
- –Advanced workflow may need debugging for tool calls
Frequently asked questions
It creates a chat assistant that answers questions using your Google Drive files, conversation history, and web search via Claude and RAG.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…