OCR Document Processing from LINE/Gmail using GPT-4o to Google Workspace
Who this is for
Users who frequently receive images or documents via LINE or email
Teams needing automatic OCR + AI summarization
Anyone who wants hands-free document processing and structured storage
How it works
Triggers: LINE Webhook and Gmail IMAP Trigger capture incoming messages or emails.
Source Tagging: Inputs are tagged as LINE or EMAIL for later branching.
File Handling: Files are uploaded to Google Drive and converted for analysis.
OCR: An AI vision model extracts all readable text from the document image.
AI Summarization: A text model produces a concise summary.
Logging: The summary is appended to Google Sheets for record-keeping.
Email Drafting: A Gmail Draft is generated containing the OCR text and summary.
How to set up
Connect your LINE, Gmail, OpenAI, and Google Drive/Sheets credentials.
Update folder IDs, sheet names, and authentication fields as needed.
Optional: customize summarization instructions.
Customization ideas
Add translation or classification steps
Modify output format for Slack/Notion
Store files in date-based Drive folders
Related Templates
Track Demo Bookings with Google Calendar to Meta Conversions API Integration
Who is this workflow for? If you're using Meta Ads to generate new leads to your sales pipeline, this workflow is for yo...
Transcribe & Summarize Audio with Whisper and GPT, from Google Drive to Notion
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Overview This work...
Build an MCP Server which answers questions with Retrieval Augmented Generation
Build an MCP Server which has access to a semantic database to perform Retrieval Augmented Generation (RAG) Tutorial C...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments