Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets — n8n 工作流

复杂度🔗 Webhook20 个节点👩‍💻 IT Ops作者:Hiroshi Hashimoto

概览

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: User sends a handwritten memo image via LINE Webhook receives the image Immediate reply is sent: “Processing…” Image is saved to Google Drive AI performs OCR and generates structured data (title, category, summary, tags) The JSON response is safely parsed with error handling OCR failure is detected

使用的节点

Google SheetsHTTP RequestGoogle DriveCodeBasic LLM ChainGoogle Gemini Chat Model

工作流预览

Image Handling
Processes the incoming image:
• Downloads image from LINE API
• Uploads image to Google Drive
• Restores binary data
Ensures persistent storage for later use.
AI Handwritten Memo Organizer – Overview
This workflow receives handwritten memo images sent via
Step-by-step pr
LINE Input & Validation
Receives messages via LINE Webhook.
• Validates that the input is an image
• Non-image messages are rejected with guidance
• Ensures only valid data enters the workflow
OCR & AI Processing
Extracts and structures data from the image:
• Performs OCR on handwritten content
• Generates structured JSON:
- title
- category
JSON Parsing
Safely parses AI output:
• Removes invalid wrappers (e.g. ```json)
• Extracts JSON content
• Handles malformed responses with fallback
Prevents workflow crashes from AI inconsisten
OCR Failure Detection
Validates OCR result quality:
• Detects missing or invalid summary
• Stops workflow if text is not recognized
Prevents saving incorrect data.
Sheet Management
Manages Google Sheets structure:
• Checks if category sheet exists
• Creates new sheet if needed
Enables scalable data organization.
Data Storage
Stores structured data:
• Title
• Summary
• Tags
• Date
Completion Response
Sends results back to user:
• Confirms successful processing
• Provides organized output
Closes the workflow clearly.
model
L
LINE_Receive_Webhook
L
LINE_Check_MessageType
LINE_Download_ImageContent
Binary_Restore_From_LINE
Drive_Upload_Image
AI_OCR_Analyze_Image
AI_Model_Gemini
Data_Parse_OCR_JSON
A
AI_Check_OCR_Failure
LINE_Reply_NoImage
Sheets_Get_Metadata
Sheets_Check_Category_Ex…
S
Sheets_Branch_Category
Sheets_Create_Category
Sheets_Append_Row
LINE_Push_Completion_Mes…
D
Data_Prepare_Sheet_Row
C
Config_Set_Environment
LINE_Reply_Processing
LINE_Push_NoSummary
20 nodes20 edges

工作原理

  1. 1

    触发器

    工作流由 webhook 触发器启动。

  2. 2

    处理

    数据流经 20 个节点, connecting chainllm, code, googledrive。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (20)

GO

Google Sheets

googleSheets

#1
HT

HTTP Request

httpRequest

#2
GO

Google Drive

googleDrive

#3
CO

Code

code

#4
BA

Basic LLM Chain

n8n-nodes-langchain.chainLlm

#5
GO

Google Gemini Chat Model

n8n-nodes-langchain.lmChatGoogleGemini

#6

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 organize-handwritten-memos-from-line-using-gemini-ocr-drive-and-sheets 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Organize handwritten memos from LINE using Gemini OCR, Drive and Sheets", "nodes": [...], ...}

集成

chainllmcodegoogledrivegooglesheetshttprequestiflmchatgooglegeminisetwebhook

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点20
复杂度high
触发器webhook
分类IT Ops

创建者

Hiroshi Hashimoto

Hiroshi Hashimoto

@hashimoto

标签

chainllmcodegoogledrivegooglesheetshttprequestiflmchatgooglegeminisetwebhook

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related IT Ops Workflows

GMGOIFOP+2
medium

AI Third-Party Risk Assessment & Vendor Onboarding in n8n

Manual vendor risk assessments are a bottleneck for modern compliance teams. This automated workflow streamlines the entire Third-Party Risk Management (TPRM) lifecycle by integrating AI intelligence with your existing tech stack. The process triggers via a Webhook (such as a form submission), where OpenAI analyzes vendor documentation, data access levels, and security certifications to determine an objective risk tier. By applying logic-based filtering, the flow automatically categorizes vendors into Low, Standard, or Critical risk profiles. It then logs all due diligence data into Google Sheets for a permanent audit trail and sends personalized status notifications via Gmail to procurement stakeholders. This eliminates manual data entry and ensures that every vendor undergoes the same rigorous scrutiny. Whether you are preparing for a SOC2 audit or managing a growing supply chain, this automation provides a scalable, traceable, and AI-enhanced framework for governance, risk, and compliance (GRC) without the overhead of expensive enterprise software. **Common Use Cases:** - Automated SOC2/ISO 27001 evidence gathering for vendor audits - High-speed security screening for SaaS procurement requests - Continuous supply chain monitoring and risk tiering database

🔗 Webhook·6 nodes
GMGOOPSW+1
medium

AI Lead Nurturing & Routing for FinTech (n8n & OpenAI)

Transform your financial services firm into a high-conversion machine with this automated lead management framework. This n8n workflow eliminates the friction of manual data entry and generic follow-ups by leveraging OpenAI to generate hyper-personalized email responses based on specific prospect intent. Whether you are managing credit repair inquiries or insurance applications, the system acts as an intelligent virtual assistant that categorizes incoming webhooks in real-time. The process begins when a lead is captured via your frontend (such as Lovable or a custom landing page). The workflow utilizes an advanced Switch logic to segment prospects into specialized funnels—Business Funding, Life Insurance, or Recruitment. OpenAI then analyzes the lead's unique profile to draft a context-aware email that addresses their specific pain points, which is automatically dispatched via Gmail. Simultaneously, all lead data and AI-generated insights are logged into Google Sheets, providing your sales team with a centralized, up-to-date CRM. This automation ensures a zero-latency response time, significantly increasing your chances of conversion while freeing your team from repetitive administrative tasks. **Common Use Cases:** - Automated qualification and personalized outreach for commercial loan applicants. - Dynamic recruitment funnels for scaling independent insurance agencies. - High-touch lead nurturing for credit restoration and financial consulting services.

🔗 Webhook·14 nodes
@ACOGOGO+4
medium

Automate Amazon Review Sentiment Analysis with Gemini AI

Transform raw customer feedback into actionable product intelligence with this advanced n8n automation. This workflow eliminates the manual drudgery of sorting through thousands of Amazon reviews by leveraging the Apify scraper to extract high-intent data. Once retrieved, the data is processed through Google Gemini AI, which performs deep sentiment analysis to pinpoint recurring pain points and product defects. Unlike basic scrapers, this system categorizes negative feedback into root causes and generates strategic improvement suggestions to help brands regain their competitive edge. The final insights are systematically logged into Google Sheets and pushed to Slack, ensuring your product development and customer success teams receive real-time alerts on critical issues. By automating this loop, businesses can drastically reduce response times to market trends and improve their Amazon Best Seller Rank (BSR) through data-driven product iterations. This is an essential tool for e-commerce managers and private label sellers looking to operationalize consumer insights without manual data entry. **Common Use Cases:** - Automated Product R&D for Private Label Sellers - Competitor Vulnerability Mapping and Market Research - Customer Experience Monitoring and Slack Alert System

Trigger·8 nodes
medium

AI-Driven School Allergy Safety & Menu Auditing via n8n

This advanced n8n workflow revolutionizes student safety by automating the critical task of dietary cross-referencing. By integrating Google Sheets with AI-powered analysis, the system eliminates human error in high-stakes cafeteria environments. The workflow functions as a proactive safety net: it ingests daily menu data and cross-references it against a centralized database of student allergy profiles and classroom rosters. Using LLM logic, it identifies hidden ingredients or cross-contamination risks that standard keyword searches might miss. When a conflict is detected—such as a gluten-sensitive student being scheduled for a meal containing wheat—the system triggers an instant Slack notification to nutritionists and teachers. Beyond immediate alerts, the flow generates AI-suggested menu alternatives to ensure every student has a safe, nutritious meal option. This automation not only ensures strict compliance with health regulations but also saves administrative staff hours of manual spreadsheet auditing, allowing them to focus on meal quality rather than data entry. **Common Use Cases:** - Real-time dietary conflict alerting for school cafeterias - Automated ingredient cross-referencing for institutional catering - AI-powered meal substitution planning for healthcare facilities

▶️ Manual·6 nodes
FUGOIFME+2
medium

Automate Inventory Tracking: Google Sheets & Slack (n8n)

Stop manual stock monitoring and prevent lost revenue with this automated Order Management System (OMS) template. This high-efficiency n8n workflow bridges the gap between your sales channels and warehouse operations. When a new order triggers the API webhook, the system instantly cross-references SKU data against your Google Sheets master inventory. By utilizing advanced logic and merge nodes, the workflow calculates availability in real-time. If stock levels are sufficient, it updates your records; if a shortage is detected, it sends an immediate, actionable alert to your team via Slack. This automation is designed for growing e-commerce businesses that need to eliminate human error in fulfillment. Instead of reactive firefighting when items sell out, your operations team can proactively manage supply chains. The flow handles complex data parsing through custom function nodes, ensuring that even multi-item orders are processed with precision, ultimately reducing operational overhead and improving the customer experience by preventing backorder frustrations. **Common Use Cases:** - E-commerce fulfillment automation for Shopify or WooCommerce stores using Google Sheets as a lightweight ERP. - Real-time low-stock alerting for high-volume hardware or electronics distributors to prevent supply chain bottlenecks. - Automated internal requisition tracking for large corporate offices managing hardware assets and office supplies.

🔗 Webhook·13 nodes
COGOMAME+5
high

Automate GitHub Talent Sourcing to Google Sheets via n8n

Stop manual profile hunting and transform your technical recruitment with this high-performance n8n automation. This workflow leverages BrowserAct to perform deep-tissue scraping of GitHub user profiles, extracting mission-critical data points—including repository history, tech stacks, and recent coding activity—directly into structured Google Sheets reports. By automating the data enrichment phase, technical recruiters and HR teams can bypass hours of manual copy-pasting, ensuring a real-time database of pre-qualified developer talent. The flow operates by triggering a batch process that iterates through a list of GitHub handles, utilizing BrowserAct’s stealth scraping capabilities to bypass complex web barriers. Once the data is captured, a custom Code node cleans and formats the JSON output before merging it into a multi-tab Google Sheet for granular reporting. Finally, the workflow sends a summary notification via Slack to alert your team of new candidate insights. This is an essential blueprint for data-driven talent acquisition and competitive business intelligence, providing a seamless bridge between raw GitHub data and actionable recruitment pipelines. **Common Use Cases:** - Automated Technical Talent Mapping for Recruitment Agencies - Developer Outreach Enrichment for Open Source Project Growth - Competitive Intelligence and Tech Stack Analysis for BI Teams

Trigger·19 nodes