Automate Timesheet to Invoice Conversion with OpenAI, Gmail & Google Workspace — n8n ワークフロー
概要
This workflow converts emailed timesheets into structured invoice rows in Google Sheets and stores them in the correct Google Drive folder structure.
It:
Listens to Gmail for timesheet attachments
Runs OCR and AI parsing
Looks up Customer and PO data from a Google Sheet
Organizes files in Client → Employee → Year folders
Reuses an existing invoice sheet or creates a new one and writes the invoice row
Quick Implementation Steps
Import the workflow JSON into your n8n instance.
Set
使用ノード
ワークフロープレビュー
仕組み
- 1
トリガー
このワークフローは トリガー トリガーで開始します。
- 2
処理
データは 40 個のノードを流れます, connecting code, gmailtrigger, googledrive。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (40)
Google Sheets
googleSheets
HTTP Request
httpRequest
Google Drive
googleDrive
Code
code
OpenAI
n8n-nodes-langchain.openAi
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
automate-timesheet-to-invoice-conversion-with-openai-gmail-google-workspaceファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
インテグレーション
作成者
DIGITAL BIZ TECH
@dbt