AI Agents

Automated workflow

21 nodes 199 131 Automatic trigger
Download

Workflow Description

An intelligent workflow combining an AI agent and vector search engine to process and analyze documents automatically. It splits texts into indexed chunks, then uses OpenAI models to answer queries based on document content.

How it works

  1. 1.Load document and convert its content into processable format
  2. 2.Split text into overlapping chunks using recursive character splitter
  3. 3.Convert chunks to vectors and store them in Milvus database
  4. 4.Route queries to AI agent for semantic search and response generation
  5. 5.Deliver results through chat interface to end user

Use cases

  • Instant answers to questions about company policies, documentation, and procedures
  • Automated analysis of reports and contracts to extract key information

Requirements

  • Valid OpenAI API key with sufficient usage quota
  • Active Milvus server and configured vector database instance

Service Value

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

Apps Used

Text Splitter Vector Store AI Agent Chat Trigger Document Default Data Loader OpenAI

Details

Trigger Automatic trigger
Nodes 21
Apps 6
Views 199
Downloads 131

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

/

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

Milvus Vector Store

Vector Store Milvus

#11

AI Agent

Agent

#12

When chat message received

Chat Trigger

#13

Sticky Note

Sticky Note

#14

Default Data Loader

Document Default Data Loader

#15

Milvus Vector Store as tool

Vector Store Milvus

#16

Sticky Note1

Sticky Note

#17

Embeddings OpenAI

OpenAI

#18

OpenAI Chat Model

OpenAI

#19

Embeddings OpenAI1

OpenAI

#20

Sticky Note2

Sticky Note

#21