Breakdown Documents into Study Notes using Templating MistralAI and Qdrant

Step 1. Watch Folder and Import New Documents [Read more about Local File Trigger](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.localfiletrigger) With n8n's local file trigger, we're able to trigger the workflow when files are created in our target folder. We still have to import them however as the trigger will only give the file's path. The "Extract From" node is used to get at the file's contents.

Workflow Structure (35 nodes)
100%
Local File Trigger
Local File Trigger
Set
Settings
Read Write File
Import File
Switch
Get FileType
Extract From File
Extract from PDF
Extract From File
Extract from DOCX
Extract From File
Extract from TEXT
Set
Prep Incoming Doc
Langchain.lm Chat Mistral Cloud
Mistral Cloud Chat Model1
Langchain.chain Summarization
Summarization Chain
Langchain.vector Store Qdrant
Qdrant Vector Store
Merge
Merge
Set
Prep For AI
Set
Get Doc Types
Split Out
Split Out Doc Types
Split In Batches
For Each Doc Type...
Set
Get Generated Documents
Convert To File
To Binary
Read Write File
Export to Folder
Langchain.embeddings Mistral Cloud
Embeddings Mistral Cloud
Langchain.document Default Data Loader
Default Data Loader
Langchain.text Splitter Recursive Character Text Splitter
Recursive Character Text Splitter
Langchain.lm Chat Mistral Cloud
Mistral Cloud Chat Model
Langchain.chain Llm
Interview
Langchain.output Parser Item List
Item List Output Parser
Split Out
Split Out
Langchain.lm Chat Mistral Cloud
Mistral Cloud Chat Model2
Langchain.chain Retrieval Qa
Discover
Langchain.retriever Vector Store
Vector Store Retriever
Langchain.embeddings Mistral Cloud
Embeddings Mistral Cloud1
Langchain.vector Store Qdrant
Qdrant Vector Store1
Aggregate
Aggregate
Langchain.lm Chat Mistral Cloud
Mistral Cloud Chat Model3
Langchain.chain Llm
Generate
Wait
2secs
Node Types:
trigger
default
logic
transform
Requires credentials

Prerequisites

Required Credentials (2)

Mistral Cloud

Used by: Embeddings Mistral Cloud, Mistral Cloud Chat Model +4 more

Docs

Qdrant

Used by: Qdrant Vector Store1, Qdrant Vector Store

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~45 min
Score: 70/100
Conditional Logic
Loops
5 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "26ba763460b97c249b82942b23b6384876dfeb9327513332e743c5f6219c2b8e"
  },
  "nodes": [
    {
      "id": "a3af309b-d24c-42fe-8bcd-f330927c7a3c",
      "name": "Local File Trigger",
      "type": "n8n-nodes-base.localFileTrigger",
      "position": [
        140,
        260
      ],
      "parameters": {
        "path": "/home/node/storynotes/context",
        "events": [
          "add"
        ],
        "options": {
          "usePolling": true,
...

Workflow Details

Nodes
42
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Build a Financial Documents Assistant using Qdrant and Mistral.ai

Step 1. Select the target folder [Read more about local file trigger](https://docs.n8n.io/integrations/builtin/core-node...

Localfile
Readwritefile
Embeddingsmistralcloud
Documentdefaultdataloader
29 nodesEvent
Curated

Supabase Insertion & Upsertion & Retrieval

INSERTING - it's important to use the same embedding model when for any interaction with your vector database (inserting...

Google-drive
Documentdefaultdataloader
Chainretrievalqa
Lmchatopenai
21 nodesEvent
Curated

Ask questions about a PDF using AI

Load data into database Fetch file from Google Drive, split it into chunks and insert into Pinecone index

Google-drive
Textsplitterrecursivecharactertextsplitter
Embeddingsopenai
Documentdefaultdataloader
16 nodesEvent
Curated

Recipe Recommendations with Qdrant and Mistral

Step 1. Fetch Available Courses For the Current Week To populate our vectorstore, we'll scrape the weekly menu off the H...

Http-request
Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
33 nodesEvent
Curated

Chat with PDF docs using AI (quoting sources)

1. Setup: Fetch file from Google Drive, split it into chunks and insert into a vector database Note that running this pa...

Embeddingsopenai
Documentdefaultdataloader
Google-drive
Chat
22 nodesEvent
Curated

Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI

Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...

Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Http-request
38 nodesEvent
Curated