Skip to main content

Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets

Workflow preview

Workflow preview
100%
Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets preview
Open on n8n.io

1. Workflow Overview

AI Handwritten Memo Organizer – Overview This workflow receives handwritten memo images sent via LINE and automatically extracts, summarizes, and organizes the content using AI. Step by step proces...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Hiroshi Hashimoto.

Original n8n.io source

1.1 Workflow description

Title
Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets
Workflow name
Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets

AI Handwritten Memo Organizer – Overview

This workflow receives handwritten memo images sent via LINE and automatically extracts, summarizes, and organizes the content using AI.

Step-by-step process:

  1. User sends a handwritten memo image via LINE
  2. Webhook receives the image
  3. Immediate reply is sent: “Processing...”
  4. Image is saved to Google Drive
  5. AI performs OCR and generates structured data (title, category, summary, tags)
  6. The JSON response is safely parsed with error handling
  7. OCR failure is detected if text cannot be properly extracted If OCR fails: → User is notified with guidance for retaking the image If OCR succeeds: → Check if the category sheet exists in Google Sheets → If not, create a new sheet → Save the data (title, summary, tags, date, image URL)
  8. Completion message is sent to the user via LINE

Setup Steps

  1. Create a LINE Messaging API channel and obtain the Channel Access Token
  2. Create a Google Spreadsheet for storing memo data
  3. Create a Google Drive folder to store uploaded images
  4. Set the following values in the Config node: o LINE_ACCESS_TOKEN o GOOGLE_SHEETS_ID
  5. Set the Webhook URL in the LINE Developers Console

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - LINE_Receive_Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - LINE_Check_MessageType

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 3 - LINE_Download_ImageContent

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Binary_Restore_From_LINE

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Drive_Upload_Image

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 6 - AI_OCR_Analyze_Image

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 7 - AI_Model_Gemini

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 8 - Data_Parse_OCR_JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - AI_Check_OCR_Failure

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 10 - LINE_Reply_NoImage

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 11 - Sheets_Get_Metadata

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 12 - Sheets_Check_Category_Exists

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Sheets_Branch_Category

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 14 - Sheets_Create_Category

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 15 - Sheets_Append_Row

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 16 - LINE_Push_Completion_Message

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - Data_Prepare_Sheet_Row

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Config_Set_Environment

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - LINE_Reply_Processing

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 20 - LINE_Push_NoSummary

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets
Complexity advanced
Nodes 29
Categories Document Extraction, AI Summarization
Author Hiroshi Hashimoto
Published 18 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14148/14148.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets do?

AI Handwritten Memo Organizer – Overview This workflow receives handwritten memo images sent via LINE and automatically extracts, summarizes, and organizes the content using AI. Step by step proces...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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.