Invoice Processing: Email to PostgreSQL Database with GPT-4o & Discord Alerts — n8n ワークフロー
概要
AI-Powered Invoice Processing: from Email to Database & Chat Notifications
Automatically process PDF invoices directly from your email inbox. This workflow uses AI to extract key data, saves it to a PostgreSQL database, and instantly notifies you about the new document in your preferred chat application.
The workflow listens for new emails, fetches PDF attachments, and then passes their content to a Large Language Model (LLM) for intelligent recognition and data extraction. Finally, the inform
使用ノード
ワークフロープレビュー
仕組み
- 1
トリガー
このワークフローは 手動 トリガーで開始します。
- 2
処理
データは 23 個のノードを流れます, connecting chainllm, code, discord。
- 3
出力
ワークフローは自動化を完了し、設定された宛先に結果を配信します。
ノード詳細 (23)
Postgres
postgres
Discord
discord
Code
code
Basic LLM Chain
n8n-nodes-langchain.chainLlm
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
このワークフローのインポート方法
- 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 3ダウンロードした
invoice-processing-email-to-postgresql-database-with-gpt-4o-discord-alertsファイルを選択し、インポートをクリックします。 - 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
- 5ワークフローをテスト をクリックして動作確認し、有効化します。
またはn8nの JSONからインポート に直接貼り付け:
インテグレーション
作成者
Halfbit 🚀
@halfbit