AI Agents

Automated workflow

15 nodes 209 131 Automatic trigger
Download

Workflow Description

An automated workflow that processes documents intelligently using AI. It segments text content, sends it to advanced OpenAI models, and merges results into comprehensive, ready-to-use summaries for immediate business decisions.

How it works

  1. 1.Trigger the workflow manually or via HTTP request to initiate processing
  2. 2.Load and automatically clean documents using the default data loader
  3. 3.Segment text content into logical chunks using recursive character splitting
  4. 4.Send segments to OpenAI with chained instructions for intelligent analysis
  5. 5.Merge processed results and apply performance optimization limits
  6. 6.Generate final summaries and export for immediate use

Use cases

  • Process dozens of documents daily and generate professional summaries without manual intervention
  • Extract key insights from lengthy reports and complex contracts automatically
  • Automate content review and categorization workflows for your team

Requirements

  • Active OpenAI API key with consumption limits configured and monitored
  • HTTP endpoint or manual trigger entry point, plus documents in supported formats (PDF, Word, text)
  • Stable network connection and caching mechanism to handle large files without interruption

Service Value

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

Apps Used

Document Default Data Loader Text Splitter OpenAI LLM Chain

Details

Trigger Automatic trigger
Nodes 15
Apps 4
Views 209
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 (15)

/

When clicking "Execute Workflow"

Manual Trigger

#1

Fetch essay list

HTTP Request

#2

Extract essay names

HTML Page

#3

Fetch essay texts

HTTP Request

#4

Extract title

HTML Page

#5

Clean up

Set

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Split out into items

Split Out

#9

Limit to first 3

Limit

#10

Default Data Loader

Document Default Data Loader

#11

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#12

OpenAI Chat Model1

OpenAI

#13

Merge

Merge

#14

Summarization Chain

Chain Summarization

#15