Intelligent document processing and conversational retrieval
Workflow Description
An advanced automation that monitors local files, loads them, chunks them into segments, embeds them into a vector database, and answers user questions through a conversational AI interface powered by Mistral's language models.
How it works
- 1.Monitor and automatically read local files when they update
- 2.Split documents into manageable chunks and convert them to vector embeddings
- 3.Store embeddings in Qdrant vector database for rapid retrieval
- 4.Receive user questions through an interactive chat interface
- 5.Retrieve relevant information and generate intelligent responses from Mistral LLM
Use cases
- Automatically process company documents and answer employee inquiries without manual intervention
- Analyze reports and policies while providing instant responses to frequent questions
Requirements
- Access to a local folder containing the documents to be processed
- Valid API key for Mistral Cloud service
- Configured Qdrant vector database instance ready for data storage
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 (29)
Local File Trigger
Local File Trigger
When clicking "Test workflow"
Manual Trigger
Set Variables
Set
Sticky Note
Sticky Note
Sticky Note4
Sticky Note
Read File
Read Write File
Embeddings Mistral Cloud
Embeddings Mistral Cloud
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Prepare Embedding Document
Set
Chat Trigger
Chat Trigger
Question and Answer Chain
Chain Retrieval Qa
Mistral Cloud Chat Model
Lm Chat Mistral Cloud
Vector Store Retriever
Retriever Vector Store
Embeddings Mistral Cloud1
Embeddings Mistral Cloud
Remap for File_Added Flow
Set
Search For Existing Point
HTTP Request
Has Existing Point?
If
Delete Existing Point
HTTP Request
Search For Existing Point1
HTTP Request
Has Existing Point?1
If
Delete Existing Point1
HTTP Request
Handle File Event
Switch
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note5
Sticky Note
Qdrant Vector Store
Vector Store Qdrant
Qdrant Vector Store1
Vector Store Qdrant