AI Agents

Automatic document summarization using artificial intelligence

15 nodes 302 167 Automatic trigger
Download

Workflow Description

An automated workflow that loads documents, splits them into text chunks, and uses OpenAI's advanced language models to generate concise summaries efficiently. Ideal for processing large volumes of content while maintaining accuracy and relevance of extracted information.

How it works

  1. 1.Trigger the workflow via HTTP request and specify the document to process
  2. 2.Load document data and split it into manageable text segments
  3. 3.Send segments to OpenAI language model for intelligent summarization
  4. 4.Merge individual summaries into a cohesive unified summary

Use cases

  • Quickly summarize lengthy business reports and documentation
  • Automatically process large batches of text files in bulk operations
  • Extract key information from contracts and legal documents

Requirements

  • Valid OpenAI API key with appropriate access permissions
  • Compatible document formats (PDF, plain text, formatted documents)
  • Configured text processing parameters tailored to content type

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 302
Downloads 167

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