{
  "name": "Snap & track nutrition: Telegram food photos → Gemini Vision AI → Google Sheets",
  "nodes": [
    {
      "id": "693c6839-0ea4-4261-a0cf-50dd884903c2",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        304,
        0
      ]
    },
    {
      "id": "74d84279-ca5d-4ebe-b9c7-222defe14625",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1040,
        0
      ]
    },
    {
      "id": "ba964c1d-6535-444b-9f31-b6e401ea7ac4",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        880,
        208
      ]
    },
    {
      "id": "7e2cab17-2079-4002-bf35-27e55e78ac21",
      "name": "Analyze an image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        704,
        0
      ]
    },
    {
      "id": "8fd5af40-ff69-4509-b1be-1470773529ff",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1632,
        0
      ]
    },
    {
      "id": "f51dfc8d-4414-4524-9da4-159fdfc7b23e",
      "name": "Upload file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        576,
        -208
      ]
    },
    {
      "id": "87716ad6-439c-4926-8cae-d92d343d5fee",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1104,
        224
      ]
    },
    {
      "id": "63d07e12-20ee-4abf-834c-de294c6c646b",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1392,
        0
      ]
    },
    {
      "id": "42132b5e-944f-43aa-9a02-537cb09939b4",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1264,
        208
      ]
    },
    {
      "id": "e655016c-c383-4d79-b5d7-c6b17b30258f",
      "name": "Send a text message1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        832,
        -208
      ]
    },
    {
      "id": "01d51b94-531a-4a8a-ae52-9b89daa00bf0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        848,
        -688
      ],
      "parameters": {
        "width": 464,
        "height": 320,
        "content": "# Quick Setup Guide\n## Before You Start - What You Need:\n\n🔗 Telegram Bot (create via @BotFather)\n\n🧠 Google Gemini API key with Vision enabled (get it here)\n\n🔐 Google account for Sheets and Drive acces"
      }
    },
    {
      "id": "47029503-a844-4d56-a97e-0ca4d8cf2704",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -448
      ],
      "parameters": {
        "width": 704,
        "height": 1056,
        "content": "# Step-by-Step Setup\n\n## 1. Create Your Telegram Bot\n\n- Open Telegram and message @BotFather\n- Use /newbot command and follow prompts\n- Copy the bot token and add to n8n credentials\n\n## 2. Set Up Goog"
      }
    },
    {
      "id": "24119be9-b4b6-416f-9ff2-973023da2f19",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        464
      ],
      "parameters": {
        "width": 576,
        "height": 432,
        "content": "## Common First-Time Issues\n\n❌ No response from bot → Check bot token is correct and workflow is activated\n❌ \"Not a meal\" detected → Ensure photo clearly shows food; avoid blurry/dark images\n❌ Wrong n"
      }
    },
    {
      "id": "9ade9c57-c6ec-428d-aaa7-ab34698cca0e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1904,
        -336
      ],
      "parameters": {
        "width": 592,
        "height": 656,
        "content": "# Pro Tips for Better Results\n\n## 📸 Best photo practices:\n\n- Take photos from directly above (top-down view)\n- Use good lighting—natural light works best\n- Include reference objects (fork, phone) for "
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload file": {
      "main": [
        [
          {
            "node": "Send a text message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Analyze an image": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Analyze an image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}