{
  "name": "Nutrition tracker & meal logger with Telegram, Gemini AI and Google Sheets",
  "nodes": [
    {
      "id": "c142f5dd-fbeb-4b25-a0fe-f684546e6eff",
      "name": "Download Voice Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2144,
        1072
      ]
    },
    {
      "id": "e15bb617-61da-4620-936d-15b0b5cf9c59",
      "name": "Input Message Router1",
      "type": "n8n-nodes-base.switch",
      "position": [
        1776,
        1136
      ]
    },
    {
      "id": "68f15a08-cbe2-4ad9-9cfe-8b7a7c60787c",
      "name": "get_message (text)",
      "type": "n8n-nodes-base.set",
      "position": [
        2144,
        912
      ]
    },
    {
      "id": "6561a9a0-2d00-424d-ba86-8852dcb7e935",
      "name": "Download IMAGE",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2144,
        1248
      ]
    },
    {
      "id": "b975dcce-68d8-4e3d-b50e-330f3f63812d",
      "name": "Analyze image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2480,
        1248
      ]
    },
    {
      "id": "04b43855-1600-424d-a2ae-458fb72a0525",
      "name": "Analyze voice message",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2480,
        1072
      ]
    },
    {
      "id": "3d5d43cc-4639-4d46-a095-b6de79d3aede",
      "name": "get_message (Audio/Video message)",
      "type": "n8n-nodes-base.set",
      "position": [
        2656,
        1072
      ]
    },
    {
      "id": "60e92d69-3fd6-4311-ba91-ea445adf9727",
      "name": "get_message (Media  message)",
      "type": "n8n-nodes-base.set",
      "position": [
        2656,
        1248
      ]
    },
    {
      "id": "563fd16d-25d2-4496-94eb-d6a8be600e92",
      "name": "Typing…",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1296,
        1040
      ]
    },
    {
      "id": "a07eaf7d-8e67-41c8-b5bd-367fbc5917f1",
      "name": "Fix mime",
      "type": "n8n-nodes-base.code",
      "position": [
        2320,
        1072
      ]
    },
    {
      "id": "96ff38b5-261b-4359-bfec-8f48db43c005",
      "name": "Fix mime5",
      "type": "n8n-nodes-base.code",
      "position": [
        2320,
        1248
      ]
    },
    {
      "id": "29051108-72c1-49da-8b51-25350affe0de",
      "name": "get_error_message1",
      "type": "n8n-nodes-base.set",
      "position": [
        2144,
        1408
      ]
    },
    {
      "id": "41cf82ed-b4f4-4224-93b2-e2c96f4c0f4c",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3680,
        1136
      ]
    },
    {
      "id": "938dbd1b-a566-4bcf-9c9c-7abf90174f8b",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        3072,
        1312
      ]
    },
    {
      "id": "ad29c874-9686-41aa-af26-5db22169f1dd",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        3200,
        1328
      ]
    },
    {
      "id": "dcbd0b50-3cb5-4e3e-be26-026199676bb7",
      "name": "MarkdownV2",
      "type": "n8n-nodes-base.code",
      "position": [
        3520,
        1136
      ]
    },
    {
      "id": "9e4623d1-a1d6-426b-bb97-186edb14f3f5",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1472,
        1200
      ]
    },
    {
      "id": "1d9a7fa5-5b3c-4531-a268-99ec7befc78f",
      "name": "Registered?",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1296,
        1200
      ]
    },
    {
      "id": "2a6e36c8-12fc-48c2-a909-40ffbe07f6f9",
      "name": "Send a text message1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2480,
        1776
      ]
    },
    {
      "id": "6d1ab7a7-b072-45d0-ad0d-984d09f8b371",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1872,
        1968
      ]
    },
    {
      "id": "3c36bb0c-84d9-43b2-83c0-69e36226c098",
      "name": "Simple Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2032,
        2032
      ]
    },
    {
      "id": "f371ad0b-bf0b-4927-a169-9b56cc8fce63",
      "name": "MarkdownV",
      "type": "n8n-nodes-base.code",
      "position": [
        2320,
        1776
      ]
    },
    {
      "id": "0086d3f2-cc2f-45a8-9db7-a7b1a803700a",
      "name": "Get Meals Info",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3056,
        1808
      ]
    },
    {
      "id": "6e61ba86-d1ad-4140-b59d-715fdf7472fa",
      "name": "Get User Info",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3056,
        2064
      ]
    },
    {
      "id": "49cbbd8e-dc4f-4ac9-b17a-afc6f8f5431b",
      "name": "get_message (register)",
      "type": "n8n-nodes-base.set",
      "position": [
        1728,
        1776
      ]
    },
    {
      "id": "544b7ab2-d054-4235-b46b-2a3cbcbd3583",
      "name": "Register User",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2192,
        2032
      ]
    },
    {
      "id": "615bc756-bc1c-49a7-86a2-af2c940e474a",
      "name": "Register Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2000,
        1776
      ]
    },
    {
      "id": "6d4404a0-3993-4719-b830-e5786e0a4ab5",
      "name": "Cal IA Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3200,
        1136
      ]
    },
    {
      "id": "a2b7e00f-1e9b-4032-8ae1-6612b3ef6520",
      "name": "Update Profile Data",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3520,
        1392
      ]
    },
    {
      "id": "83f1cb62-818d-4161-99e4-7c984552fde1",
      "name": "Get Profile Data",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3344,
        1392
      ]
    },
    {
      "id": "b4411d17-99e7-40c3-999b-21109d12e057",
      "name": "Get Report",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        2848,
        1808
      ]
    },
    {
      "id": "1df46a7c-3ef6-4698-93cc-75558e882ca9",
      "name": "Append Meal Data",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3424,
        1536
      ]
    },
    {
      "id": "0e6b6065-de69-4ef8-af08-8f1c0016ca38",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        240
      ],
      "parameters": {
        "width": 608,
        "height": 336,
        "content": "# 📘 Cal AI Alternative – Nutrition Assistant \n\nThis workflow implements a **Nutrition Assistant** that helps users log meals, track nutritional goals, and receive personalized reports.  \nThe system in"
      }
    },
    {
      "id": "1d48fbab-a382-47f5-909a-4e1c2f4e8772",
      "name": "Get Data",
      "type": "n8n-nodes-base.set",
      "position": [
        3264,
        1808
      ]
    },
    {
      "id": "2a40606e-6469-4081-8e22-8012b1c06d04",
      "name": "Get chart message",
      "type": "n8n-nodes-base.code",
      "position": [
        3776,
        2048
      ]
    },
    {
      "id": "dd89154b-8aa8-48dc-865a-6214e8ca0cd0",
      "name": "Unify data",
      "type": "n8n-nodes-base.code",
      "position": [
        3472,
        1808
      ]
    },
    {
      "id": "67260623-70d6-4e4b-aba6-9804c4396b67",
      "name": "Get report",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        2848,
        1920
      ]
    },
    {
      "id": "80fdb6f0-8d64-44aa-923c-9b94f9ce132f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        1024
      ],
      "parameters": {
        "width": 608,
        "height": 464,
        "content": ""
      }
    },
    {
      "id": "d1917184-4c8e-42db-9bbf-a7ef28ca71f4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        880
      ],
      "parameters": {
        "width": 1104,
        "height": 720,
        "content": ""
      }
    },
    {
      "id": "2ad00761-954b-4a7c-af46-25c74619176a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3024,
        1008
      ],
      "parameters": {
        "width": 896,
        "height": 720,
        "content": ""
      }
    },
    {
      "id": "c7e182da-6f2a-4a8f-96df-8cbd0445b67e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        1696
      ],
      "parameters": {
        "width": 1104,
        "height": 528,
        "content": ""
      }
    },
    {
      "id": "4ade95cd-0d9d-4ab3-bfbb-93d792a6d880",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2784,
        1760
      ],
      "parameters": {
        "width": 1392,
        "height": 464,
        "content": ""
      }
    },
    {
      "id": "659b06e0-1253-4f19-8e40-3f849515da68",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2320,
        2272
      ],
      "parameters": {
        "width": 368,
        "height": 304,
        "content": "![](https://github.com/JarsRat/Images/blob/main/cal_ia_start.png?raw=true)\n"
      }
    },
    {
      "id": "c1eebd5c-62fe-4794-badc-872a5e32dcd8",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2432,
        512
      ],
      "parameters": {
        "width": 352,
        "height": 224,
        "content": "![](https://github.com/JarsRat/Images/blob/main/cal_ia_meal.png?raw=true)\n"
      }
    },
    {
      "id": "80cf0536-6f63-4b7a-969e-245d8d5ca8cc",
      "name": "Send back message",
      "type": "n8n-nodes-base.set",
      "position": [
        3952,
        2048
      ]
    },
    {
      "id": "e0da0385-fff5-4b95-a846-29bc9be1ffef",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3456,
        2432
      ],
      "parameters": {
        "width": 368,
        "height": 208,
        "content": "![](https://github.com/JarsRat/Images/blob/main/cal_ia_report.png?raw=true)\n "
      }
    },
    {
      "id": "af1fc6e8-f21b-49fc-8613-36522fbad32d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        624
      ],
      "parameters": {
        "width": 496,
        "height": 352,
        "content": "## Telegram Trigger & User Check\n\n**Purpose:** Handle incoming messages and validate user registration.\n\n1. **Telegram Trigger**  \n   - Captures user messages (text, voice, or images) from Telegram.\n\n"
      }
    },
    {
      "id": "f5d317bb-e0e1-4f7d-8ee4-e3b7d4262f36",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        2256
      ],
      "parameters": {
        "width": 624,
        "height": 496,
        "content": "## Register Agent\n\n**Purpose:** Register new users and set up nutritional goals.\n\n1. **Register Agent**  \n   - Guides new users through the registration process.  \n   - Collects user details:\n     - *"
      }
    },
    {
      "id": "6c68706c-0c00-4e44-8338-89a7c5e655c1",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1744,
        336
      ],
      "parameters": {
        "width": 672,
        "height": 512,
        "content": "## Message Processing\n\n**Purpose:** Classify and process different types of user messages.\n\n1. **Message Routing**  \n   - Determines the type of message received:\n     - **Text** → Sent directly to th"
      }
    },
    {
      "id": "18b4c021-2564-44eb-87db-cc64191777bf",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        2288
      ],
      "parameters": {
        "width": 624,
        "height": 448,
        "content": "## Report Subworkflow\n\n**Purpose:** Generate personalized daily nutrition reports.\n\n1. **Get Meals & Targets**  \n   - Retrieves all logged meals for the selected day from the database.  \n   - Fetches "
      }
    },
    {
      "id": "16a7e256-e252-4492-8e62-2f2044e4d95a",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3024,
        464
      ],
      "parameters": {
        "width": 480,
        "height": 528,
        "content": "##  Main AI Agent\n\n**Purpose:** Central decision-making agent for all user interactions.\n\nThe AI Agent (Gemini) operates with **four key tools**:\n\n1. **getProfileData**  \n   - Retrieves user profile ("
      }
    },
    {
      "id": "b59a26f2-a478-4be8-a70c-7ba70face917",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        512
      ],
      "parameters": {
        "width": 368,
        "height": null,
        "content": "![](https://github.com/JarsRat/Images/blob/main/cal_ia_target.png?raw=true)\n"
      }
    },
    {
      "id": "e1c875c3-2720-41b7-93d4-794ed182790d",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3536,
        736
      ],
      "parameters": {
        "width": 368,
        "height": 208,
        "content": "## 💡 Need Assistance?\n\nIf you’d like help customizing or extending this workflow, feel free to reach out:  \n\n📧 Email: [johnsilva11031@gmail.com](mailto:johnsilva11031@gmail.com)  \n🔗 LinkedIn: [John Al"
      }
    },
    {
      "id": "4dc3eac9-6640-4cd8-b07d-44254df59f48",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1072,
        1200
      ]
    },
    {
      "id": "4c0c1bc0-6f7d-4470-ab98-15ac3afc422a",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        352,
        624
      ],
      "parameters": {
        "width": 608,
        "height": 2032,
        "content": "# **Documentation: Configuring the Telegram Nutrition AI Assistant Workflow**\n\nThis guide provides step-by-step instructions for setting up the Google Sheets database and configuring the required n8n "
      }
    },
    {
      "id": "64dd86de-16fe-4e84-a65e-e43370d618a7",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        1520
      ],
      "parameters": {
        "width": 608,
        "height": 1216,
        "content": "#### **🟩 Green Section: Telegram Trigger & User Check**\n\nThis section checks if a user is already registered.\n\n**Node: `Registered?`**\n*   **Purpose:** Looks for the user's `chat.id` in the `Profile` "
      }
    },
    {
      "id": "c864f199-349f-4d01-b014-45967763c3af",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        2784
      ],
      "parameters": {
        "width": 608,
        "height": 1344,
        "content": "#### **🟥 Red Section: Register Agent**\n\nThis section handles the creation of a new user profile.\n\n**Node: `Register User`**\n*   **Purpose:** Adds a new row with the new user's information to the `Prof"
      }
    },
    {
      "id": "801026e6-b6cf-42c1-9da9-3a6d689e2833",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3952,
        416
      ],
      "parameters": {
        "width": 608,
        "height": 1328,
        "content": "#### **🟪 Purple Section: Main AI Agent**\n\nThis is the core section that handles user interactions, including retrieving data, logging meals, and updating profiles.\n\n**Node: `Get Profile Data`**\n*   **"
      }
    },
    {
      "id": "0324ea13-1eb3-439d-a206-4d717bb81136",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4592,
        416
      ],
      "parameters": {
        "width": 608,
        "height": 1328,
        "content": "**Node: `Append Meal Data`**\n*   **Purpose:** Logs a new meal into the `Meals` sheet after the AI has analyzed the user's text, voice, or image input.\n*   **Configuration:**\n    1.  **Credential to co"
      }
    },
    {
      "id": "7d7772f4-d959-4820-8043-55cdbe71eb44",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5232,
        416
      ],
      "parameters": {
        "width": 608,
        "height": 1328,
        "content": "**Node: `Update Profile Data`**\n*   **Purpose:** Modifies an existing user's record in the `Profile` sheet, typically used when a user asks to change their calorie or protein goals.\n*   **Configuratio"
      }
    },
    {
      "id": "1686d6af-3214-4fb2-9042-afee6b2942af",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        2784
      ],
      "parameters": {
        "width": 608,
        "height": 1408,
        "content": "#### **🟨 Yellow Section: Report Subworkflow**\n\nThis subworkflow is triggered to generate and send a daily nutrition report to the user.\n\n**Node: `Get Meals Info`**\n*   **Purpose:** Fetches all meals l"
      }
    },
    {
      "id": "80401901-9a63-46a8-863d-7851b523904e",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3456,
        2784
      ],
      "parameters": {
        "width": 608,
        "height": 1408,
        "content": "**Node: `Get User Info`**\n*   **Purpose:** Retrieves the user's goals from the `Profile` sheet to calculate their progress in the daily report.\n*   **Configuration:**\n    1.  **Credential to connect w"
      }
    },
    {
      "id": "d0d1277d-ede9-475c-9df9-a12a7587b8ff",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        3616,
        2048
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Input Message Router1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_message (register)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Get chart message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fix mime": {
      "main": [
        [
          {
            "node": "Analyze voice message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Data": {
      "main": [
        [
          {
            "node": "Unify data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fix mime5": {
      "main": [
        [
          {
            "node": "Analyze image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MarkdownV": {
      "main": [
        [
          {
            "node": "Send a text message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Typing…": {
      "main": [
        []
      ]
    },
    "Get Report": {
      "ai_tool": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get report": {
      "main": [
        [
          {
            "node": "Get Meals Info",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get User Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MarkdownV2": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unify data": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Registered?": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cal IA Agent": {
      "main": [
        [
          {
            "node": "MarkdownV2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze image": {
      "main": [
        [
          {
            "node": "get_message (Media  message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get User Info": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Register User": {
      "ai_tool": [
        [
          {
            "node": "Register Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Download IMAGE": {
      "main": [
        [
          {
            "node": "Fix mime5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Meals Info": {
      "main": [
        [
          {
            "node": "Get Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Register Agent": {
      "main": [
        [
          {
            "node": "MarkdownV",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory1": {
      "ai_memory": [
        [
          {
            "node": "Register Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Append Meal Data": {
      "ai_tool": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Profile Data": {
      "ai_tool": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Registered?",
            "type": "main",
            "index": 0
          },
          {
            "node": "Typing…",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get chart message": {
      "main": [
        [
          {
            "node": "Send back message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_error_message1": {
      "main": [
        [
          {
            "node": "Cal IA Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_message (text)": {
      "main": [
        [
          {
            "node": "Cal IA Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Profile Data": {
      "ai_tool": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Analyze voice message": {
      "main": [
        [
          {
            "node": "get_message (Audio/Video message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Input Message Router1": {
      "main": [
        [
          {
            "node": "get_message (text)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download Voice Message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download IMAGE",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_error_message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Voice Message": {
      "main": [
        [
          {
            "node": "Fix mime",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_message (register)": {
      "main": [
        [
          {
            "node": "Register Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Cal IA Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Register Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "get_message (Media  message)": {
      "main": [
        [
          {
            "node": "Cal IA Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_message (Audio/Video message)": {
      "main": [
        [
          {
            "node": "Cal IA Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}