AI Agents

Automated workflow

22 nodes 195 117 Automatic trigger
Download

Workflow Description

An intelligent workflow that integrates OpenAI language models with Milvus vector database to create a semantic search and question-answering system. Automatically processes documents, splits them into meaningful chunks, and retrieves information based on stored embeddings.

How it works

  1. 1.Trigger the workflow manually or through chat interface
  2. 2.Load and process documents using the default document loader
  3. 3.Split text into chunks using recursive character segmentation
  4. 4.Generate embeddings for each chunk via OpenAI API
  5. 5.Store embeddings in Milvus vector database
  6. 6.Retrieve relevant information and generate answers using LLM Chain

Use cases

  • Build an intelligent document search engine that understands semantic meaning
  • Create an automated customer support system answering questions from knowledge base
  • Process large document collections and extract information on demand

Requirements

  • Active OpenAI API key with sufficient quota
  • Configured Milvus vector database instance
  • Documents in supported text formats (PDF, TXT, DOCX)

Service Value

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

Apps Used

OpenAI Chat Trigger Vector Store Document Default Data Loader Text Splitter LLM Chain

Details

Trigger Automatic trigger
Nodes 22
Apps 6
Views 195
Downloads 117

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

/

OpenAI Chat Model

OpenAI

#1

When clicking "Execute Workflow"

Manual Trigger

#2

Fetch Essay List

HTTP Request

#3

Extract essay names

HTML Page

#4

Split out into items

Split Out

#5

Fetch essay texts

HTTP Request

#6

Limit to first 3

Limit

#7

Extract Text Only

HTML Page

#8

Sticky Note3

Sticky Note

#9

Sticky Note5

Sticky Note

#10

When chat message received

Chat Trigger

#11

Sticky Note

Sticky Note

#12

Milvus Vector Store

Vector Store Milvus

#13

Default Data Loader

Document Default Data Loader

#14

Embeddings OpenAI

OpenAI

#15

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#16

Sticky Note1

Sticky Note

#17

Embeddings OpenAI1

OpenAI

#18

Milvus Vector Store1

Vector Store Milvus

#19

Sticky Note2

Sticky Note

#20

Q&A Chain to Retrieve from Milvus and Answer Question

Chain Retrieval Qa

#21

Milvus Vector Store Retriever

Retriever Vector Store

#22