{
  "name": "Manage invoices and contacts via chat with the Fakturoid AI agent",
  "nodes": [
    {
      "id": "343031fe-b861-4e20-b2c5-acc8757ef37a",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1344,
        -128
      ]
    },
    {
      "id": "b8729a40-f11a-4ca0-83af-73e67379af28",
      "name": "INVOICE_PAYMENT",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -512,
        128
      ]
    },
    {
      "id": "1e9ca13d-3650-46aa-8d3c-2395f3ccb290",
      "name": "UPDATE_SUBJECT",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -1104,
        48
      ]
    },
    {
      "id": "06ec1af9-32eb-4f1d-9486-7aafd75adfe9",
      "name": "CREATE_SUBJECT",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -1216,
        144
      ]
    },
    {
      "id": "1f9f5a09-21bf-4498-9dbf-094848309739",
      "name": "GET_SUBJECT",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -1312,
        48
      ]
    },
    {
      "id": "06f507a2-33f0-47c8-a077-a6e3f83a88f5",
      "name": "ARES LOOKUP",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -1424,
        112
      ]
    },
    {
      "id": "692a8457-2540-4382-a196-614673593cac",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1456,
        16
      ],
      "parameters": {
        "width": 576,
        "height": 272,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## CONTACTS"
      }
    },
    {
      "id": "c692e7e2-9d78-43f5-88eb-b04448c7b707",
      "name": "CREATE_INVOICE",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -816,
        32
      ]
    },
    {
      "id": "820b8624-3880-43b7-8ddb-d27980438db2",
      "name": "GET_INVOICE",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -720,
        128
      ]
    },
    {
      "id": "f9242984-dd15-410a-82d2-8ae45880aa5b",
      "name": "DELETE_INVOICE",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -624,
        32
      ]
    },
    {
      "id": "0d1de8a5-a7e7-4ee5-a04f-579be8a55b2f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -864,
        16
      ],
      "parameters": {
        "width": 592,
        "height": 272,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## INVOICES"
      }
    },
    {
      "id": "a960e53a-bca3-4eab-9734-2fbb191877fe",
      "name": "UPDATE_INVOICE",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -416,
        32
      ]
    },
    {
      "id": "34049bb6-a8f5-47f0-aa14-b74119dc33f6",
      "name": "DELETE_SUBJECT",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -992,
        144
      ]
    },
    {
      "id": "c963c5f2-f9fe-4949-b5cd-3ed6d1b6d584",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1040,
        -288
      ]
    },
    {
      "id": "f59b00a5-bb66-41b8-8608-737bf60c726c",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1440,
        -320
      ]
    },
    {
      "id": "5975bc1a-38e6-45da-b888-73c74a36b345",
      "name": "GPT-5-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1456,
        -112
      ]
    },
    {
      "id": "a808fbc9-1f59-4afe-bd63-580113a6d74f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1888,
        -336
      ],
      "parameters": {
        "width": 400,
        "height": 624,
        "content": "## How it works\n\nAI agent connected to Fakturoid API and ARES registry. Handles invoicing and contact management through natural Czech conversation — no forms, no clicking.\n\n**What the agent can do:**"
      }
    }
  ],
  "connections": {
    "GPT-5-mini": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ARES LOOKUP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "GET_INVOICE": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "GET_SUBJECT": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "CREATE_INVOICE": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "CREATE_SUBJECT": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "DELETE_INVOICE": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "DELETE_SUBJECT": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "UPDATE_INVOICE": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "UPDATE_SUBJECT": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "INVOICE_PAYMENT": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}