AI Agents

Intelligent document processing and conversational retrieval

29 nodes 239 110 Automatic trigger
Download

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. 1.Monitor and automatically read local files when they update
  2. 2.Split documents into manageable chunks and convert them to vector embeddings
  3. 3.Store embeddings in Qdrant vector database for rapid retrieval
  4. 4.Receive user questions through an interactive chat interface
  5. 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

Local File Trigger Read Write File Embeddings Document Default Data Loader Text Splitter Chat Trigger LLM Chain Lm Chat Mistral Cloud Vector Store

Details

Trigger Automatic trigger
Nodes 29
Apps 9
Views 239
Downloads 110

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (29)

/

Local File Trigger

Local File Trigger

#1

When clicking "Test workflow"

Manual Trigger

#2

Set Variables

Set

#3

Sticky Note

Sticky Note

#4

Sticky Note4

Sticky Note

#5

Read File

Read Write File

#6

Embeddings Mistral Cloud

Embeddings Mistral Cloud

#7

Default Data Loader

Document Default Data Loader

#8

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#9

Prepare Embedding Document

Set

#10

Chat Trigger

Chat Trigger

#11

Question and Answer Chain

Chain Retrieval Qa

#12

Mistral Cloud Chat Model

Lm Chat Mistral Cloud

#13

Vector Store Retriever

Retriever Vector Store

#14

Embeddings Mistral Cloud1

Embeddings Mistral Cloud

#15

Remap for File_Added Flow

Set

#16

Search For Existing Point

HTTP Request

#17

Has Existing Point?

If

#18

Delete Existing Point

HTTP Request

#19

Search For Existing Point1

HTTP Request

#20

Has Existing Point?1

If

#21

Delete Existing Point1

HTTP Request

#22

Handle File Event

Switch

#23

Sticky Note1

Sticky Note

#24

Sticky Note2

Sticky Note

#25

Sticky Note3

Sticky Note

#26

Sticky Note5

Sticky Note

#27

Qdrant Vector Store

Vector Store Qdrant

#28

Qdrant Vector Store1

Vector Store Qdrant

#29