Classify Gmail invoice attachments with Google Gemini and forward to freee — n8n ワークフロー
概要
Classify and forward Gmail invoice attachments to freee with Google Gemini
Automatically analyze email attachments with AI and forward invoices/receipts to freee's File Box.
How it works
Polls Gmail for new emails with attachments every minute Extracts text from PDF attachments and sends it to Google Gemini for classification If Gemini identifies the document as an invoice or receipt, re-fetches the attachment and forwards it to freee's File Box email address
Setup steps
Get freee receiving
使用ノード
GmailGoogle Gemini
ワークフロープレビュー
⚡
G
Gmail Trigger
H
Has Attachment
N
No Attachment - End
I
Is Invoice or Receipt
N
Not Target - End
Forward to freee
Classify Invoice/Receipt…
E
Extract Text from PDF
Get Attachment
9 nodes8 edges
仕組み
- 1
トリガー
このワークフローは トリガー トリガーで開始します。
- 2
処理
データは 9 個のノードを流れます, connecting extractfromfile, gmail, gmailtrigger。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (9)
GM#1
Gmail
gmail
GO#2
Google Gemini
n8n-nodes-langchain.googleGemini
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
classify-gmail-invoice-attachments-with-google-gemini-and-forward-to-freeeファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Classify Gmail invoice attachments with Google Gemini and forward to freee", "nodes": [...], ...}
インテグレーション
extractfromfilegmailgmailtriggergooglegeminiif
作成者
daisuke
@daisuke
タグ
extractfromfilegmailgmailtriggergooglegeminiif