Analyze Documents & Web Content with GPT-4o Q&A Assistant
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: path_or_url | your_question
Examples: /Users/docs/readme.md | What are the installation steps? https://n8n.io | What is n8n?
Setup
Import workflow into n8n Add your OpenAI API key to credentials Link the credential to the "OpenAI Document Analyzer" node Activate the workflow 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)
Related Templates
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
Extract Named Entities from Web Pages with Google Natural Language API
Who is this for? Content strategists analyzing web page semantic content SEO professionals conducting entity-based anal...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments