Use this powerful n8n workflow to automatically process documents from LINE or Gmail, perform OCR using GPT-4o, summarize the content, and archive results in Google Sheets and Gmail drafts.
Download this n8n workflow template and start using it instantly.
Professionals who frequently receive critical documents as image attachments (from LINE or email).
Users seeking automated transcription (OCR) and intelligent summarization using advanced AI models like GPT-4o.
Technical users looking for robust n8n templates that seamlessly integrate multiple services (LINE, Gmail, Google Drive, Google Sheets, OpenAI).
Anyone needing a centralized, searchable archive of document summaries created by an efficient n8n workflow.
Managing documents received through disparate channels like email and messaging apps can be time-consuming. This intelligent document processing system, built as a high-utility n8n workflow, solves this by providing a unified automation pipeline. The core value of this n8n template lies in its ability to standardize input from two distinct n8n trigger points—LINE and Gmail—and subject them to powerful AI analysis. It leverages the Vision capabilities of GPT-4o to accurately perform OCR on images or PDFs, and then generates a concise summary. The result is a fully archived, searchable record in Google Sheets and a detailed reference draft in Gmail, significantly enhancing efficiency and data management within your existing n8n setup.
This comprehensive n8n workflow starts with one of two distinct n8n trigger nodes: the LINE Webhook or the Gmail IMAP Trigger.
To deploy this powerful n8n workflow, follow these steps:
YOURLINECHANNELACCESSTOKEN, YOURGOOGLEDRIVEFOLDERID). LINE Webhook (n8n trigger): Initiates the workflow upon receiving a POST request from the LINE service. Configured with a specific path (line-webhook).
Gmail IMAP Trigger (n8n trigger): Starts the n8n workflow whenever a new email with an attachment arrives in the INBOX. Configured to automatically download attachments.
Upload to Google Drive (n8n node): Takes the incoming binary file and stores it in the specified Google Drive folder, providing a unique file ID for subsequent AI processing.
Analyze image (OpenAI LangChain n8n node): Crucial for the OCR function. Configured to use the gpt-4o-mini model with vision capabilities. The input is provided in base64 format.
Message a model (OpenAI LangChain n8n node): Performs the summarization step. This n8n node uses the transcribed text output from the OCR node to generate a concise summary using gpt-4o-mini.
Append row in sheet (Google Sheets n8n node): Used for logging. It adds a new row containing the AI-generated summary to a designated Google Sheet, creating a permanent log for the n8n workflow execution.
Use this n8n workflow to automatically find crucial OAuth2 settings, including Authorization URIs and Token URIs, for any service using advanced AI models via OpenRouter. This n8n templates solution guarantees structured, confidence-scored output.

Create a secure OAuth-like token generation system using this powerful n8n workflow template. Validate client credentials against Airtable and issue bearer tokens instantly.

Use this powerful n8n workflow to create a private AI nutrition assistant in Telegram. Log meals instantly via text, voice, or image, analyze macros using Gemini, and store data in Google Sheets.

Automate comprehensive website security audits using this powerful n8n workflow. It combines real-time HTTP analysis, AlienVault threat intelligence, and OpenAI agents to generate detailed vulnerability reports.

Learn how to use this versatile n8n workflow template to automatically convert Obsidian notes into ready-to-listen MP3 audio using OpenAI TTS, dynamically host the file, and serve it via a standard RSS podcast feed.

Use this powerful n8n workflow to instantly summarize daily or weekly Gmail newsletters using GPT-4.1-mini and deliver a concise, chunked digest directly to your Telegram chat. Perfect for on-demand information management.









































