Description
Automatically extract and summarize content from files stored in Google Drive β powered by GPT-4o-mini
π₯ Skip the manual file reading β this AI-powered workflow loads documents from Google Drive, processes the content using LangChain, splits tokens, and generates smart summaries in seconds
π§ What Problem Does It Solve?
Manually reading and summarizing documents (PDFs, Word files, etc.) is time-consuming, repetitive, and error-prone
This workflow turns unstructured text into concise summaries using OpenAI's GPT models, saving time and improving productivity
πΉ Ideal for:
π Report Summaries
π Research Notes
π Legal or Policy Docs
π Meeting Transcripts
π Academic Materials
βοΈ How It Works
π Downloads a document from a specified Google Drive file
π§Ό Pre-processes and tokenizes text using LangChainβs TokenSplitter
π Converts binary files into readable format with LangChain Loader
π§ Summarizes the document using the GPT-4o-mini model
π€ Sends the final summarized text via structured node chain
β¨ Key Features
π Works with any document stored in Google Drive
π§ Uses GPT-4o-mini for accurate and concise summaries
π§© Token-splitting handles large documents
βοΈ LangChain-powered modular design
π§ͺ Built-in testing with Manual Trigger
π Ready to scale with more file types and outputs (Slack, Email, Notion, etc.)
π§° What You Need
β
A Google Drive file with readable content
β
Google OAuth2 credentials in n8n
β
OpenAI API key with GPT-4o access
β
LangChain nodes installed in n8n
π οΈ Setup Instructions
π Connect the workflow trigger manually
π Specify the Google Drive file ID to download
π Add credentials for Google Drive and OpenAI
π€ Test the workflow with a PDF or DOCX file
π§ View the final summary directly inside n8n or send to external apps
π Integrations
Google Drive
OpenAI GPT-4o-mini
LangChain (Summarization, TokenSplitter, Data Loader)