🧾 Mistral OCR + GPT-4o-miniで請求書を自動処理

中級

これはFinance, AI分野の自動化ワークフローで、11個のノードを含みます。主にSet, SplitOut, Summarize, GoogleDrive, HttpRequestなどのノードを使用、AI技術を活用したスマート自動化を実現。 🧾 Mistral OCR + GPT-4o-miniで請求書を自動処理

前提条件
  • Google Drive API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "4786bf0f18c0e8e92c361de5a158cabf4eb0bb3b9c113091b054ff26e359a029",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "d7086584-965b-467b-b453-4e43936a4bbe",
      "name": "Google Drive Trigger: 新規請求書検出",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        180,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0af0b6a6-7ee8-4fdb-a88b-38abad155962",
      "name": "Google Drive: 請求書ダウンロード",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        400,
        -240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e0f5e5d0-95a5-4ac2-9de2-995e45def8c3",
      "name": "Workflow Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -500
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9b1fe096-3c01-4c63-85fa-c54432680b8e",
      "name": "Mistral OCR API: テキスト抽出",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        -240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d0443dba-2b91-4750-8d44-9e4312806941",
      "name": "Data Splitter: OCRページ分割",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1080,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da",
      "name": "Field Extractor: ページマークダウン抽出",
      "type": "n8n-nodes-base.set",
      "position": [
        1320,
        -240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ff714c7c-9b60-4074-8003-a0fbca9d9f39",
      "name": "Data Aggregator: ページ結合",
      "type": "n8n-nodes-base.summarize",
      "position": [
        1540,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "42b4088b-2433-4024-8e69-6f9de1969979",
      "name": "AI Agent: 請求書データ構造化",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1760,
        -240
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "ae95c2f9-f8b3-4b16-b0bb-c0fcc34365cb",
      "name": "AI Engine: GPT-4o-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1640,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ad61f397-d923-481b-b48c-376e4e287ca7",
      "name": "JSON Parser: 請求書構造解析",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1940,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bc22f1eb-4efa-463c-b86f-6fc8fa76746d",
      "name": "Convert invoice File to Base64",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        640,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "ae95c2f9-f8b3-4b16-b0bb-c0fcc34365cb": {
      "ai_languageModel": [
        [
          {
            "node": "42b4088b-2433-4024-8e69-6f9de1969979",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "d0443dba-2b91-4750-8d44-9e4312806941": {
      "main": [
        [
          {
            "node": "0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b1fe096-3c01-4c63-85fa-c54432680b8e": {
      "main": [
        [
          {
            "node": "d0443dba-2b91-4750-8d44-9e4312806941",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bc22f1eb-4efa-463c-b86f-6fc8fa76746d": {
      "main": [
        [
          {
            "node": "9b1fe096-3c01-4c63-85fa-c54432680b8e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff714c7c-9b60-4074-8003-a0fbca9d9f39": {
      "main": [
        [
          {
            "node": "42b4088b-2433-4024-8e69-6f9de1969979",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da": {
      "main": [
        [
          {
            "node": "ff714c7c-9b60-4074-8003-a0fbca9d9f39",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0af0b6a6-7ee8-4fdb-a88b-38abad155962": {
      "main": [
        [
          {
            "node": "bc22f1eb-4efa-463c-b86f-6fc8fa76746d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ad61f397-d923-481b-b48c-376e4e287ca7": {
      "ai_outputParser": [
        [
          {
            "node": "42b4088b-2433-4024-8e69-6f9de1969979",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "42b4088b-2433-4024-8e69-6f9de1969979": {
      "main": [
        []
      ]
    },
    "d7086584-965b-467b-b453-4e43936a4bbe": {
      "main": [
        [
          {
            "node": "0af0b6a6-7ee8-4fdb-a88b-38abad155962",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - 財務, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数11
カテゴリー2
ノードタイプ11
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34