{
  "name": "Summarize invoices with AWS Textract, Google Gemini, and send to Slack",
  "nodes": [
    {
      "id": "183f2352-a016-4e9a-afc5-62202caa492c",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "2258c647-11fc-41a4-bb93-ae743106b4a2",
      "name": "Upload a file",
      "type": "n8n-nodes-base.awsS3",
      "position": [
        240,
        -176
      ]
    },
    {
      "id": "998ca05e-e2d7-44dc-881e-d2db7570575b",
      "name": "AWS Textract",
      "type": "n8n-nodes-base.awsTextract",
      "position": [
        256,
        112
      ]
    },
    {
      "id": "d0b952d3-5a77-420a-82be-d2d5cb6f4ca1",
      "name": "Message a model",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        432,
        112
      ]
    },
    {
      "id": "27ffaaad-8d6b-4e4b-b150-9a95906c3ffe",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        784,
        112
      ]
    },
    {
      "id": "0d869e2d-b131-4074-8c8f-23a1794828df",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -288
      ],
      "parameters": {
        "width": 560,
        "height": 528,
        "content": "## Automate Invoice Data Extraction and Summarization\n\n\n### How it works\n1. A user submits an invoice file through an n8n form.\n2. The uploaded invoice file is automatically stored in your configured "
      }
    },
    {
      "id": "0fbc07e9-1bb1-4e6f-ad37-67847a5793c2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -224
      ],
      "parameters": {
        "width": 464,
        "height": 512,
        "content": "## Upload to AWS and extract text"
      }
    },
    {
      "id": "1031b1f7-50a6-4ece-b6fa-c73d756b201e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        32
      ],
      "parameters": {
        "width": 560,
        "height": 256,
        "content": "## summarize and send to slack"
      }
    }
  ],
  "connections": {
    "AWS Textract": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Upload a file",
            "type": "main",
            "index": 0
          },
          {
            "node": "AWS Textract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}