AI Agents

Automated workflow

16 nodes 213 120 Automatic trigger
Download

Workflow Description

An automated workflow leveraging OpenAI models to process, split, and summarize documents intelligently. This comprehensive solution extracts key information from lengthy texts with minimal manual effort, delivering structured outputs ready for immediate use.

How it works

  1. 1.Trigger the workflow manually using a custom activation mechanism
  2. 2.Load and decode documents through the default data loader
  3. 3.Split text content into manageable chunks using recursive character splitting
  4. 4.Send chunks to OpenAI LLM chain for intelligent analysis and processing
  5. 5.Merge results and apply output size limits to control response volume
  6. 6.Format final output as HTML for display and integration

Use cases

  • Automated summarization of lengthy reports and documentation
  • Extract critical data from contracts and legal documents
  • Process large document batches without manual intervention
  • Generate production-ready summaries on demand

Requirements

  • Valid OpenAI API key with full permissions enabled
  • Documents in standard formats (PDF, Word, plain text)
  • Stable internet connection for reliable API communication

Service Value

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

Apps Used

OpenAI LLM Chain Document Default Data Loader Text Splitter

Details

Trigger Automatic trigger
Nodes 16
Apps 4
Views 213
Downloads 120

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

/

When clicking "Execute Workflow"

Manual Trigger

#1

Sticky Note

Sticky Note

#2

Sticky Note1

Sticky Note

#3

Fetch Essay List

HTTP Request

#4

OpenAI Chat Model

OpenAI

#5

Extract essay names

HTML Page

#6

Split out into items

Split Out

#7

Fetch essay texts

HTTP Request

#8

Extract title

HTML Page

#9

Summarization Chain

Chain Summarization

#10

Clean up

Set

#11

Merge

Merge

#12

Default Data Loader

Document Default Data Loader

#13

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#14

Limit to first 3

Limit

#15

Extract Text Only

HTML Page

#16