Analyze documents & web content with GPT-4o Q&A assistant
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Read Binary File. 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| Read Binary File Read Document File | Read/Write Files from Disk |
Nodes used (8)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Read Binary File
n8n-nodes-base.readBinaryFile - HTTP Request
n8n-nodes-base.httpRequest - Extract from File
n8n-nodes-base.extractFromFile - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent
What it does
Document Analyzer and Q&A Workflow AI-powered document and web page analysis using n8n and GPT model. Ask questions about any local file or web URL and get intelligent, formatted answers. Who's it for Perfect for researchers, developers, content analysts, students, and anyone who needs quick insights from documents or web pages without uploading files to external services. What it does - Analyzes local files: PDF, Markdown, Text, JSON, YAML, Word docs - Fetches web content: Documentation sites, blogs, articles - Answers questions: Using GPT model with structured, well-formatted responses Input format: pathorurl | yourquestion Examples: /Users/docs/readme.md | What are the installation steps? https://n8n.io | What is n8n? Setup 1. Import workflow into n8n 2. Add your OpenAI API key to credentials 3. Link the credential to the "OpenAI Document Analyzer" node 4. Activate the workflow 5. Start chatting! Customize Change AI model → Edit "OpenAI Document Analyzer" node (switch to gpt-4o-mini for cost savings) Adjust content length → Modify maxLength in "Process Document Content" node (default: 15000 chars) Add file types → Update supportedTypes array in "Parse Document & Question" node Increase timeout → Change timeout value in "Fetch Web Content" node (default: 30s) ---