{
  "name": "AI-powered personal finances manager with Gemini, Telegram & Google Sheets",
  "nodes": [
    {
      "id": "e0e6a600-c67a-4982-a96f-3d5209eedb1a",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -368,
        128
      ]
    },
    {
      "id": "6aff69e5-f729-4f99-a217-e867c1abc52c",
      "name": "Get a file",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -144,
        192
      ]
    },
    {
      "id": "360c855d-4af2-4e6e-bd21-49939f7df26d",
      "name": "Transcribe a recording",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        80,
        192
      ]
    },
    {
      "id": "8da2430d-ce86-4074-93f6-be6b22143a78",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        80,
        592
      ]
    },
    {
      "id": "87162f3e-ed6b-40c8-bf9b-72595646d423",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        400,
        592
      ]
    },
    {
      "id": "68ed3254-0583-48f3-b3d0-2b329d145acd",
      "name": "update_register",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        560,
        592
      ]
    },
    {
      "id": "e7e87104-60bd-4d4f-b124-cda0f1adf040",
      "name": "get_all_registers",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        704,
        592
      ]
    },
    {
      "id": "08048f3b-ec34-4f8b-9f8b-741cd3293b49",
      "name": "create_new_register",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        864,
        592
      ]
    },
    {
      "id": "d520850f-38f0-4203-9d5e-1b9d043bc9a6",
      "name": "delete_register",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1024,
        592
      ]
    },
    {
      "id": "869a5926-5ead-46a8-93d2-78b92e97b42e",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        272,
        592
      ]
    },
    {
      "id": "61709694-d404-4ff4-a0c8-f1f6bebb2385",
      "name": "Financial Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        352,
        112
      ]
    },
    {
      "id": "9e370cfe-b8a9-4dce-b973-7d39f76af10d",
      "name": "Send Fallback Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -368,
        336
      ]
    },
    {
      "id": "3a8f67df-e872-4ba7-b8d6-f49f2daf32bf",
      "name": "Send Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        736,
        112
      ]
    },
    {
      "id": "509419ab-c4c1-4dc6-9306-2228181482ea",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        -256
      ],
      "parameters": {
        "width": 320,
        "height": 576,
        "content": "## Setup Telegram Bot Trigger\n\n1. Create a new bot using @BotFather on Telegram.\n\n2. Copy the bot token provided by BotFather.\n\n3. Paste the token into the Telegram Trigger node credentials.\n\n4. Make "
      }
    },
    {
      "id": "e0b72d6a-cffa-43e7-9380-858142efbdb1",
      "name": "Telegram Bot Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -624,
        144
      ]
    },
    {
      "id": "2887b382-f4a1-48be-88e3-b61a95de5f1f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        -464
      ],
      "parameters": {
        "width": 608,
        "height": 192,
        "content": "## How This Workflow Works\n\n1. Telegram Trigger receives user messages (text or audio).\n2. AI Node interprets message and extracts transaction details.\n3. Google Sheets Node creates/updates/deletes re"
      }
    },
    {
      "id": "7ea244ca-f65e-4385-98a4-ddfa29e1d37a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        464
      ],
      "parameters": {
        "width": 560,
        "height": 256,
        "content": "## Google Sheets Configuration\n\n1. Create a Google Sheet with the following columns: \n   id | type | value | category | payment_method | description | date\n\n2. Leave rows empty for automatic insertion"
      }
    },
    {
      "id": "423fb5ea-41da-46f4-a413-d264df42c7ab",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        0
      ],
      "parameters": {
        "width": 224,
        "height": 352,
        "content": "## Gemini To Transcription\n\nInsert your Google Gemini Credentials"
      }
    },
    {
      "id": "9cbca914-b186-4d75-bc6a-05a8b3aa17b4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        448
      ],
      "parameters": {
        "width": 224,
        "height": 288,
        "content": "## Gemini LLM\n\nInsert your Google Gemini Credentials"
      }
    },
    {
      "id": "6106d8e5-e606-4f69-a22c-b3026ee51211",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        560
      ],
      "parameters": {
        "width": 640,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "64706a93-b397-456a-a2b1-f9045e507f7b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -256
      ],
      "parameters": {
        "width": 192,
        "height": 80,
        "content": "## 📌 Follow me:\n### [LinkedIn](https://www.linkedin.com/in/vikthyr)"
      }
    }
  ],
  "connections": {
    "Switch": {
      "main": [
        [
          {
            "node": "Financial Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get a file",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Fallback Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get a file": {
      "main": [
        [
          {
            "node": "Transcribe a recording",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Financial Agent": {
      "main": [
        [
          {
            "node": "Send Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "delete_register": {
      "ai_tool": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "update_register": {
      "ai_tool": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "get_all_registers": {
      "ai_tool": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "create_new_register": {
      "ai_tool": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Bot Trigger": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe a recording": {
      "main": [
        [
          {
            "node": "Financial Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Financial Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}