{
  "name": "Document parsing & data extraction with Mistral OCR, AI processing, and multi-channel delivery",
  "nodes": [
    {
      "id": "9b0c6fc6-2c03-4e5f-b129-43b11888fa13",
      "name": "send pdf to Mistral",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1640,
        100
      ]
    },
    {
      "id": "32edae3a-e552-4575-8d99-c6ce064ae592",
      "name": "mistral - get signed url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1440,
        100
      ]
    },
    {
      "id": "e7436b34-9e01-4e42-97f3-fa407f1fb000",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        -1000,
        280
      ]
    },
    {
      "id": "1b60d348-d6b9-42bf-b971-da1a7a3a1ca1",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -640,
        100
      ]
    },
    {
      "id": "7a4024de-6dae-4036-aa7f-6fe373b7991c",
      "name": "Get Parsed Invoice",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1220,
        100
      ]
    },
    {
      "id": "f95d753c-4bd6-4932-b74c-6a68ab98eb88",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1000,
        100
      ]
    },
    {
      "id": "404954f1-af1d-4fcb-a3d1-201b9741cb6f",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        -420,
        100
      ]
    },
    {
      "id": "b3f495f8-9a04-4635-9749-58dec45f9ff1",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        100
      ]
    },
    {
      "id": "87b13ec2-4f76-41bf-9bfb-989c635f04c7",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        420,
        -100
      ]
    },
    {
      "id": "5dc2f603-fa90-4fdd-b9ac-b87b99812d76",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        40,
        100
      ]
    },
    {
      "id": "7309f58b-93b7-4d2c-b619-fac4eb5c6bbc",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        40,
        260
      ]
    },
    {
      "id": "bf991841-7232-43df-b963-dbd0e51901c2",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -2860,
        100
      ]
    },
    {
      "id": "847bf975-da18-4080-bf02-8558bba0958a",
      "name": "Download File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1960,
        100
      ]
    },
    {
      "id": "a6623e11-8287-4b42-97c5-90947d518771",
      "name": "Send Confirmation",
      "type": "n8n-nodes-base.telegram",
      "position": [
        400,
        500
      ]
    },
    {
      "id": "b9153f5b-b0d7-4980-aa55-1a664b3e81ee",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -2680,
        100
      ]
    },
    {
      "id": "6675052a-34fc-4b37-995d-4bf79e3b3d7c",
      "name": "Telegram1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        400,
        320
      ]
    },
    {
      "id": "81361897-90c6-46b5-93b9-0a4daf530f6c",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -1800,
        100
      ]
    },
    {
      "id": "12ae2d37-bd0a-4eb1-a3fb-b176eee50e7f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2980,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8013ae34-d6bf-41dd-b8f6-8783238aac8b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2960,
        -360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "73bff933-7904-4cb6-a65a-81f13165aa5e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a817ed3b-0a25-411d-ae79-3e288d28240d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        -200
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a9ee5219-77e2-42bb-a05a-8b1e93f0d32c",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -2900,
        -240
      ]
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "send pdf to Mistral",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram": {
      "main": [
        []
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Parsed Invoice": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        []
      ]
    },
    "send pdf to Mistral": {
      "main": [
        [
          {
            "node": "mistral - get signed url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "mistral - get signed url": {
      "main": [
        [
          {
            "node": "Get Parsed Invoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}