Log LINE invoice photos to Google Sheets with OCR.space and Gemini AI — n8n ワークフロー
概要
Who is this for
Freelancers, small business owners, and accounting teams in Japan who receive invoices and want to eliminate manual data entry into spreadsheets.
What this workflow does
Send an invoice photo to your LINE bot and the rest is automatic. The workflow fetches the image via LINE Messaging API, runs it through OCR.space to extract raw text, then passes that text to a Gemini AI Agent to parse the key fields — invoice number, date, due date, vendor name, subtotal, tax, and total. The
使用ノード
ワークフロープレビュー
仕組み
- 1
トリガー
このワークフローは webhook トリガーで開始します。
- 2
処理
データは 15 個のノードを流れます, connecting agent, code, googlesheets。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (15)
Google Sheets
googleSheets
HTTP Request
httpRequest
Code
code
AI Agent
n8n-nodes-langchain.agent
Google Gemini Chat Model
n8n-nodes-langchain.lmChatGoogleGemini
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
log-line-invoice-photos-to-google-sheets-with-ocrspace-and-gemini-aiファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
インテグレーション
作成者
Ryo Sayama
@sayama