Extract & Classify Invoices & Receipts with Gmail, OpenAI and Google Drive — n8n ワークフロー
概要
Who is it for? Anyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers.
How it works Creates a folder in Google Drive for uploading invoices and receipts. Responds (Webhook response) with URL to the created folder. Gets all emails with attachments from a Gmail mailbox. (Optional) Filters emails, e.g. exclude emails sent to specific address. Filters only PDF attachments. Classifies all PDF attachment contents with an AI mo
使用ノード
Google DriveGmailCodeOpenAI
ワークフロープレビュー
OpenAI
C
Configure
Iterate over email attac…
N
Not a PDF
I
Is text within token lim…
M
Merge
I
Is matched
Upload file to folder
⚡
W
Webhook
⚡
R
Respond to Webhook
Create folder
Aggregate attachments
S
Send email with invoices?
Send to my accountant
Get emails with attachme…
R
Read PDF email attachments
I
Is attachment a PDF?
O
Optional filter for emails
18 nodes18 edges
仕組み
- 1
トリガー
このワークフローは webhook トリガーで開始します。
- 2
処理
データは 18 個のノードを流れます, connecting code, filter, gmail。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (18)
GO#1
Google Drive
googleDrive
GM#2
Gmail
gmail
CO#3
Code
code
OP#4
OpenAI
n8n-nodes-langchain.openAi
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
extract-classify-invoices-receipts-with-gmail-openai-and-google-driveファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
{ "name": "Extract & Classify Invoices & Receipts with Gmail, OpenAI and Google Drive", "nodes": [...], ...}
インテグレーション
codefiltergmailgoogledriveifmergeopenaireadpdfrespondtowebhooksetwebhook
作成者
Tom
@devpeer-tom
タグ
codefiltergmailgoogledriveifmergeopenaireadpdfrespondtowebhookset