Automated workflow
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.Trigger the workflow manually using a custom activation mechanism
- 2.Load and decode documents through the default data loader
- 3.Split text content into manageable chunks using recursive character splitting
- 4.Send chunks to OpenAI LLM chain for intelligent analysis and processing
- 5.Merge results and apply output size limits to control response volume
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (16)
When clicking "Execute Workflow"
Manual Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Fetch Essay List
HTTP Request
OpenAI Chat Model
OpenAI
Extract essay names
HTML Page
Split out into items
Split Out
Fetch essay texts
HTTP Request
Extract title
HTML Page
Summarization Chain
Chain Summarization
Clean up
Set
Merge
Merge
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Limit to first 3
Limit
Extract Text Only
HTML Page