Block 1 - LINE Webhook
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 2.1
This workflow is provided as-is. Please review and test before using in production.
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 stor...
n8n-nodes-base.webhook, n8n-nodes-base.gmailtrigger, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.googledrive, n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.if
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SOLOVIEVA ANNA.
Original n8n.io sourceWho 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
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | OCR document processing from LINE/Gmail using GPT-4o to Google Workspace |
|---|---|
| Complexity | advanced |
| Nodes | 22 |
| Categories | Document Extraction, AI Summarization |
| Author | SOLOVIEVA ANNA |
| Published | 02 Dec 2025 |
Use the JSON export at /data/workflows/11413/11413.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your 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 stor...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.