Automated workflow
Workflow Description
An intelligent workflow that integrates local file processing with large language models, converting documents into searchable vectors to answer user questions based on uploaded file content.
How it works
- 1.Activate the workflow when a local file is uploaded or manual input is triggered
- 2.Read file content and split it into text chunks
- 3.Convert texts into vectors using Mistral embedding model
- 4.Store vectors in Qdrant database for fast retrieval
- 5.Receive user questions through the chat interface
- 6.Retrieve relevant documents and send them to Mistral reasoning chain
Use cases
- Answer employee questions about company policies and internal documents
- Analyze uploaded reports and data to obtain quick insights
Requirements
- Valid API key for Mistral Cloud service
- Configured Qdrant server for distributed vector storage
- Text files or supported document formats
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