Invoices from Gmail to Drive and Google Sheets — n8n ワークフロー
概要
Attachments Gmail to Drive and Google Sheets
Description Automatically process invoice emails by saving attachments to Google Drive and extracting key invoice data to Google Sheets using AI. This workflow monitors your Gmail for unread emails with attachments, saves PDFs to a specified Google Drive folder, and uses OpenAI's GPT-4o to extract invoice details (date, description, amount) into a structured spreadsheet.
Use cases Invoice Management**: Automatically organize and track invoices recei
使用ノード
ワークフロープレビュー
仕組み
- 1
トリガー
このワークフローは トリガー トリガーで開始します。
- 2
処理
データは 14 個のノードを流れます, connecting chainllm, extractfromfile, gmail。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (14)
Google Sheets
googleSheets
HTTP Request
httpRequest
Google Drive
googleDrive
Gmail
gmail
Basic LLM Chain
n8n-nodes-langchain.chainLlm
OpenAI Model
n8n-nodes-langchain.lmOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
invoices-from-gmail-to-drive-and-google-sheetsファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
インテグレーション
作成者
Juan Carlos Cavero Gracia
@carlosgracia