Insert and retrieve documents

Automated workflow: Insert and retrieve documents. This workflow integrates 16 different services: stickyNote, httpRequest, textSplitterRecursiveCharacterTextSplitter, code, splitOut. It contains 32 nodes and follows best practices for error handling and security.

Integrations Used (1)

Workflow Structure (20 nodes)
100%
Manual Trigger
When clicking "Execute Workflow"
Http Request
Fetch Essay List
Html
Extract essay names
Split Out
Split out into items
Limit
Limit to first 3
Http Request
Fetch essay texts
Html
Extract Text Only
No Op
Embeddings OpenAI
No Op
Milvus Vector Store
No Op
Default Data Loader
No Op
Recursive Character Text Splitter1
No Op
When chat message received
Set
Set max chunks to send to model
No Op
Embeddings OpenAI2
No Op
Milvus Vector Store in retrieval
Code
Prepare chunks
No Op
Answer the query based on chunks
No Op
OpenAI Chat Model
Set
Compose citations
Set
Generate response
Node Types:
trigger
http
default
logic
transform
code
Requires credentials

Prerequisites

Required Credentials (2)

Milvus

Used by: Milvus Vector Store in retrieval, Milvus Vector Store

Docs

OpenAI

Used by: Embeddings OpenAI2, Embeddings OpenAI +1 more

Docs

Complexity

Advanced

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

Setup time: ~45 min
Score: 65/100
Custom Code
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
{
  "id": "Hjyv9FkH5Oh6Yxw4",
  "meta": {
    "instanceId": "workflow-65c5e3ea",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:54.110866",
    "updatedAt": "2025-09-29T07:07:54.110878",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Insert and retrieve documents",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
25
Trigger
Manual
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Analyze Screenshots with AI

Setup For Testing use the Setup node to put in test name & url. If you want to use this workflow in production, you can...

Http-request
Openai
9 nodesManual
Curated

Ahrefs Keyword Research Workflow

Automated workflow: Ahrefs Keyword Research Workflow. This workflow integrates 9 different services: stickyNote, httpReq...

Http-request
15 nodesManual

Production Workflow

Production-ready workflow: Production Workflow. This workflow has been optimized for production use with comprehensive e...

Aws-rekognition
Http-request
Google-sheets
8 nodesManual

[1/3 - anomaly detection] [1/2 - KNN classification] Batch upload dataset to Qdrant (crops dataset)

Automated workflow: [1/3 - anomaly detection] [1/2 - KNN classification] Batch upload dataset to Qdrant (crops dataset)....

Googlecloudstorage
Http-request
25 nodesManual

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 6 different services: stickyNote, httpRequest, code...

Google-sheets
Http-request
8 nodesManual

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 6 different services: stickyNote, httpRequest, code...

Google-sheets
Http-request
8 nodesManual