# Summarize Drive Documents

Source: https://openflow.run/zh-tw/templates/summarize-drive-documents/
Content language: en
Template revision: 5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984

效率

Summarize a supported document stored in Google Drive.

[在 Open Flow 中使用](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984%2Fworkflows%2Fsummarize-drive-documents%2Ftemplates%2Fsummarize-drive-documents.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984/workflows/summarize-drive-documents/templates/summarize-drive-documents.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984/workflows/summarize-drive-documents/templates/summarize-drive-documents.n8n.json)

![Summarize Drive Documents 在 Open Flow 中的工作流程截圖](https://openflow.run/_astro/preview-light.BMog8v0m_Z1BbLrm.webp)

Summarize a supported document stored in Google Drive.

## Setup

Connect Google Drive in **Download the document**, and set the same file ID there and in **Check document type**. Enable Drive file transit and set the transit and CloudConvert download HTTPS hostnames in the **Read and split document text** HTTP allowlist. Connect CloudConvert in **Convert document to text** and select available models for **Summarize each chunk** and **Combine chunk summaries**. In n8n set the file ID in **Google Drive** and connect Google Drive and OpenAI. Run either format manually.

## Behavior

The workflow reads one Drive document and returns a summary. Open Flow handles PDF, DOCX and EPUB via CloudConvert text conversion and reads TXT, Markdown, CSV and JSON as text. It accepts source files up to 10 MB and extracted text up to 500,000 UTF-8 bytes. A blank or oversized document fails. It divides text into sequential chunks of at most 3,000 UTF-8 bytes, summarizes every chunk and combines the summaries. Long documents can take many model calls; service and execution limits can stop a run.

The original n8n chain uses its own binary document loader, 3,000-token splitter and map-reduce. Byte boundaries, parsing and generated summaries can differ across formats. CSV and JSON are summarized as raw text in Open Flow. Review the result. The document may be sent to CloudConvert and its text to the selected model. Restrict access to execution data and temporary transit URLs. Conversion, download and model failures stop the run.

Inspiration & credits

## Changes to the source

*   Replace the original file ID with user configuration. Open Flow converts PDF, DOCX and EPUB to text using CloudConvert, then performs bounded per-chunk and combined summaries with AI Agents. n8n retains its original loader, token splitter and chain.
*   Open Flow splits on UTF-8 byte boundaries rather than cl100k token boundaries, and has explicit file, text and chunk limits. Parsing and model results can differ.

Adapted from [Load and summarize Google Drive files with AI](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Manual/0328_Manual_GoogleDrive_Automate_Triggered.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The matching [n8n listing](https://n8n.io/workflows/1962-load-and-summarize-google-drive-files-with-ai/) credits n8n Team. The source does not state a separate template license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## 使用的應用

*   [**CloudConvert**`cloudconvert`](https://console.openflow.run/connections/cloudconvert)
*   [**Google Drive**`googledrive`](https://console.openflow.run/connections/googledrive)

## 設定需求

*   Google Drive connection
*   CloudConvert connection for PDF, DOCX and EPUB conversion
*   An available AI model

*   google drive
*   pdf
*   ai
*   summarization

[在 GitHub 查看](https://github.com/oomol-lab/awesome-workflow-templates/blob/5b4ebb0d2fbb329baf98dfe4b5d5ae6331e19984/workflows/summarize-drive-documents/README.md)
