Files & Documents

Summarize Google Drive Documents Automatically with AI

6 nodes 109 79 Automatic trigger
Download

Workflow Description

Automation template that retrieves files from Google Drive, analyzes their content, splits text into manageable chunks, and sends them to OpenAI to generate accurate summaries and extract key information automatically.

How it works

  1. 1.Trigger automation manually or when new files arrive in Google Drive
  2. 2.Load document and extract its full text content using the data loader
  3. 3.Split text into balanced chunks based on token count for processing
  4. 4.Send each chunk to OpenAI model with summarization instructions
  5. 5.Process and link partial summaries into coherent results
  6. 6.Save final summary or forward to downstream applications

Use cases

  • Automatically summarize long reports and presentations before reading
  • Extract key information from legal documents and contracts
  • Create quick summaries of research papers and knowledge articles

Requirements

  • Google Drive account with file access permissions
  • Valid OpenAI API key configured in n8n
  • Specify supported file formats for processing (PDF, DOCX, TXT)

Service Value

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

Apps Used

OpenAI Document Default Data Loader Text Splitter Google Drive LLM Chain

Details

Trigger Automatic trigger
Nodes 6
Apps 5
Views 109
Downloads 79

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

When clicking "Execute Workflow"

Manual Trigger

#1

OpenAI Chat Model

OpenAI

#2

Default Data Loader

Document Default Data Loader

#3

Token Splitter1

Text Splitter Token Splitter

#4

Google Drive

Google Drive

#5

Summarization Chain

Chain Summarization

#6