Intelligent document processing with AI-powered question answering
Workflow Description
Advanced workflow that ingests local files, splits them intelligently, generates embeddings, stores them in a vector database, and answers queries using Mistral's language model for document-based information retrieval.
How it works
- 1.Trigger on new local file and load document content automatically
- 2.Split long texts into chunks and convert to vector embeddings
- 3.Store embeddings in Qdrant vector store for fast retrieval
- 4.Process user queries through retrieval QA chain powered by Mistral
Use cases
- Answer questions about company documents, policies, and internal knowledge bases
- Analyze contracts and proposals to generate automated summaries
- Build intelligent customer support systems based on company documentation
Requirements
- Local files in text formats (PDF, TXT, DOCX)
- Mistral Cloud account for embeddings and language model access
- Qdrant vector database for storing and retrieving embeddings
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (42)
Local File Trigger
Local File Trigger
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Embeddings Mistral Cloud
Embeddings Mistral Cloud
Mistral Cloud Chat Model
Lm Chat Mistral Cloud
Mistral Cloud Chat Model1
Lm Chat Mistral Cloud
Prep Incoming Doc
Set
Settings
Set
Merge
Merge
Get Doc Types
Set
Split Out Doc Types
Split Out
For Each Doc Type...
Split In Batches
Item List Output Parser
Output Parser Item List
Vector Store Retriever
Retriever Vector Store
Embeddings Mistral Cloud1
Embeddings Mistral Cloud
Qdrant Vector Store1
Vector Store Qdrant
Mistral Cloud Chat Model2
Lm Chat Mistral Cloud
Split Out
Split Out
Aggregate
Aggregate
Mistral Cloud Chat Model3
Lm Chat Mistral Cloud
Discover
Chain Retrieval Qa
2secs
Wait
Get Generated Documents
Set
Generate
LLM Chain
Prep For AI
Set
To Binary
Convert To File
Export to Folder
Read Write File
Get FileType
Switch
Import File
Read Write File
Extract from PDF
Extract From File
Extract from DOCX
Extract From File
Extract from TEXT
Extract From File
Summarization Chain
Chain Summarization
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Qdrant Vector Store
Vector Store Qdrant
Sticky Note5
Sticky Note
Interview
LLM Chain
Sticky Note6
Sticky Note