Automated workflow
Workflow Description
An automated workflow that listens for local files, segments text intelligently, generates semantic embeddings, stores them in a vector database, and answers queries using Mistral LLM through an advanced retrieval chain.
How it works
- 1.Trigger the workflow when a new file is detected in the local directory
- 2.Load and preprocess documents by splitting text into meaningful chunks
- 3.Generate embeddings using Mistral Cloud and store them in Qdrant vector store
- 4.Retrieve relevant text segments from the vector database based on query similarity
- 5.Generate responses using Mistral Chat model with formatted output
Use cases
- Automate analysis of large documents and answer questions about their content
- Build an intelligent information retrieval system for local file-based knowledge bases
Requirements
- Access to Mistral Cloud API for embeddings and language model inference
- Configured Qdrant vector database instance for semantic search
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