What This Workflow Does
This intelligent automation creates a unified knowledge assistant that combines Claude AI's conversational abilities with real-time web research from Perplexity and your organization's documents in Google Drive. It implements Retrieval-Augmented Generation (RAG) to provide accurate, source-backed answers while maintaining natural conversation flow.
The system solves the common problem of information silos - where teams waste time switching between search engines, document repositories, and AI tools. Instead, it delivers comprehensive answers that draw from both your internal knowledge base and current web information in a single interface.
How It Works
1. Query Processing
The workflow receives natural language questions through your preferred interface (chat, email, form, etc.). Claude AI analyzes the intent and context to determine whether to search internal documents, web sources, or both.
2. Knowledge Retrieval
For document searches, the system queries your Google Drive using semantic search techniques to find relevant passages. Simultaneously, Perplexity searches the web for current information. Both processes happen in parallel for fastest response times.
3. Response Generation
Claude synthesizes the retrieved information into coherent answers while maintaining source attribution. The system can highlight which documents or web pages contributed to the answer, providing transparency for fact-checking.
Pro tip: Organize your Google Drive with clear folder structures and descriptive filenames to improve retrieval accuracy. The system performs best when documents follow consistent naming conventions.
Who This Is For
This workflow benefits any knowledge-intensive organization:
- Customer support teams needing instant access to both product docs and current information
- Research departments conducting literature reviews or competitive analysis
- Legal and compliance teams tracking regulatory changes across documents
- Education institutions creating AI-powered research assistants
- Consulting firms building institutional knowledge bases
What You'll Need
- An n8n instance (self-hosted or cloud)
- Claude AI API access
- Perplexity API credentials
- Google Drive with documents to index
- Basic familiarity with n8n workflow editing
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure API connections for Claude, Perplexity, and Google Drive
- Set document folder paths in the Google Drive nodes
- Test with sample queries and refine retrieval parameters
- Connect to your preferred interface (Slack, email, etc.)
Key Benefits
Reduce research time by 60-80% by automating the collection and synthesis of information from multiple sources simultaneously.
Improve answer accuracy with RAG - responses are grounded in actual documents and current web data rather than relying solely on the AI's training.
Maintain knowledge continuity as team members change by institutionalizing access to documents through the AI interface.
Scale expert knowledge across your organization by making specialized documents accessible through natural language queries.
Audit information sources with built-in attribution showing which documents or web pages contributed to each answer.