Skip to content
AI Agents

Insert and retrieve documents with AI-powered search

12 nodes 511 202 Automatic trigger
Download

Loading workflow…

Workflow Description

Automation that accepts documents via manual trigger or HTTP request, splits them into text chunks, converts them to OpenAI embeddings, stores them in Milvus vector database, then retrieves relevant sections for accurate AI-powered answers using language models.

How it works

  1. 1.Receive documents through manual trigger or HTTP endpoint
  2. 2.Split documents into smaller text chunks using recursive character splitting
  3. 3.Convert each chunk into numerical vectors via OpenAI embeddings
  4. 4.Store vectors and original text in Milvus vector database
  5. 5.Retrieve most relevant chunks when a question is submitted
  6. 6.Generate answers using OpenAI language model based on retrieved context

Use cases

  • Build an intelligent search engine for internal company documents
  • Create a question-answering system based on organizational knowledge base
  • Analyze PDF files or HTML content and extract specific information on demand
  • Develop an AI assistant that answers employee queries from stored documents

Requirements

  • Valid OpenAI API key
  • Access to Milvus vector database server or local instance
  • Manual trigger or HTTP endpoint configured to receive documents
  • Full access permissions in n8n platform

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Manual Trigger HTTP Request HTML Split Out Limit Text Splitter Chat Trigger Vector Store OpenAI Document Default Data Loader

Details

Trigger Automatic trigger
Nodes 12
Apps 10
Views 511
Downloads 202

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 (12)

/

When clicking "Execute Workflow"

Manual Trigger

#1

Fetch Essay List

HTTP Request

#2

Extract essay names

HTML Page

#3

Split out into items

Split Out

#4

Fetch essay texts

HTTP Request

#5

Limit to first 3

Limit

#6

Extract Text Only

HTML Page

#7

Sticky Note3

Sticky Note

#8

Sticky Note5

Sticky Note

#9

Recursive Character Text Splitter1

Text Splitter Recursive Character Text Splitter

#10

When chat message received

Chat Trigger

#11

Sticky Note1

Sticky Note

#12

Milvus Vector Store

Vector Store Milvus

#13

Sticky Note

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Embeddings OpenAI

OpenAI

#16

Default Data Loader

Document Default Data Loader

#17
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime