{
  "name": "💰 Financial AI agent Telegram and WhatsApp",
  "nodes": [
    {
      "id": "b0090b4f-554b-4e5c-9108-47d32628e200",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "bf0b782d-d2db-4c0d-8c13-0d93b2607cd4",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        100,
        220
      ]
    },
    {
      "id": "6ed1e80a-41ba-4b7e-8db2-2929585b4167",
      "name": "Postgres Chat Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        260,
        220
      ]
    },
    {
      "id": "0e7a40c9-93fd-41ec-9711-5f3ca6d076ca",
      "name": "Register Transaction",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        420,
        220
      ]
    },
    {
      "id": "da9d4d5a-bc6e-4261-bf71-edcd4089fa30",
      "name": "Chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -240,
        -180
      ]
    },
    {
      "id": "b46d755d-7e34-4148-a8cf-7000bdb3dd9f",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -240,
        0
      ]
    },
    {
      "id": "491fef07-5982-415c-91e0-2fec78c18f80",
      "name": "Normalize",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        0
      ]
    },
    {
      "id": "3a129ebf-34f4-4887-8949-8ca2b834c529",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        0
      ]
    },
    {
      "id": "e5929da6-17bd-4602-b90e-60b7d78cd228",
      "name": "Balance report",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        580,
        220
      ]
    }
  ],
  "connections": {
    "Chat": {
      "main": [
        []
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Balance report": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Normalize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Register Transaction": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}