{
  "name": "Plant care reminder with OpenWeather, Sheets and Telegram",
  "nodes": [
    {
      "id": "23904e88-dc72-4e65-ad85-c4bec858bf1d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1424,
        144
      ]
    },
    {
      "id": "2992a320-5790-4bc4-b1bb-f1d9ba49afb8",
      "name": "Read plants",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -880,
        160
      ]
    },
    {
      "id": "85ab0cc8-f43a-4001-bf29-b3810e79fa43",
      "name": "Read settings",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1248,
        144
      ]
    },
    {
      "id": "b254e202-8293-41ed-998c-064da1ae6953",
      "name": "DecideDue",
      "type": "n8n-nodes-base.code",
      "position": [
        -736,
        160
      ]
    },
    {
      "id": "28ac4c1e-0df8-463b-ae4a-0b93767d54a5",
      "name": "OpenWeather request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -368,
        -48
      ]
    },
    {
      "id": "d826a674-b889-4360-8225-33d66f9e2fd3",
      "name": "WeatherGate",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        128
      ]
    },
    {
      "id": "0d5b4179-9bf1-4561-bcf6-4dc573f1638b",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        352,
        128
      ]
    },
    {
      "id": "3328bf71-4472-448e-88f6-820a46165ed4",
      "name": "Set Weather Tag",
      "type": "n8n-nodes-base.set",
      "position": [
        -176,
        -48
      ]
    },
    {
      "id": "f39035b3-88ba-48e7-a587-eda013331af9",
      "name": "Set DecideTag",
      "type": "n8n-nodes-base.set",
      "position": [
        -272,
        144
      ]
    },
    {
      "id": "747d8bc2-a6c3-404e-a384-1940681154fc",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        0,
        128
      ]
    },
    {
      "id": "94f8f534-8a6a-4a49-bc4a-343562d5f7f5",
      "name": "¿Pending task?",
      "type": "n8n-nodes-base.if",
      "position": [
        -560,
        160
      ]
    },
    {
      "id": "28b3d293-2286-4b4f-af0b-5a11c72301c0",
      "name": "Send Final Message No Dues",
      "type": "n8n-nodes-base.telegram",
      "position": [
        544,
        16
      ]
    },
    {
      "id": "5278b601-64f0-4498-b850-93738850a108",
      "name": "Vacation Mode",
      "type": "n8n-nodes-base.if",
      "position": [
        -1104,
        144
      ]
    },
    {
      "id": "7a476e7d-f7a9-48ab-afde-3dbd938dc685",
      "name": "Send Final Message No Dues1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -272,
        320
      ]
    },
    {
      "id": "facb0a87-1ae1-4a4b-acba-a7262ed6fbd7",
      "name": "Send Dues",
      "type": "n8n-nodes-base.telegram",
      "position": [
        560,
        224
      ]
    },
    {
      "id": "1200e7e5-8f18-4e63-8459-af24d888ee90",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1408,
        720
      ]
    },
    {
      "id": "fd6774ba-a9c6-4600-a75a-d2a04106d384",
      "name": "Prepare Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -1232,
        720
      ]
    },
    {
      "id": "7e0b8569-ed69-4a6b-bbed-b569b31a85c7",
      "name": "Append Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -672,
        720
      ]
    },
    {
      "id": "32d4b3dd-f0dd-4f4f-a0b5-4c746dcffeb0",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -176,
        720
      ]
    },
    {
      "id": "dd65ee94-3590-455a-9534-40161d9141d0",
      "name": "HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        -336,
        720
      ]
    },
    {
      "id": "7fe9d87e-612d-4af5-8693-9e85b74895c4",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -512,
        720
      ]
    },
    {
      "id": "17a256b5-2768-40d4-bc45-15ab858dcdcc",
      "name": "Update Water",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -864,
        608
      ]
    },
    {
      "id": "feb23de6-b31d-4473-9500-d889ec5f9c94",
      "name": "Update Fert",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -864,
        816
      ]
    },
    {
      "id": "baff37f4-df01-4765-88ee-f9a1a94e6361",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        -1056,
        720
      ]
    },
    {
      "id": "d164e45f-f4c9-47ea-b017-65b68a10b41d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1488,
        560
      ],
      "parameters": {
        "width": 1504,
        "height": 432,
        "content": "## Sub-Workflow Webhook"
      }
    },
    {
      "id": "ee91e133-02bd-4dbd-9ac3-e249dee9a1c5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1488,
        -112
      ],
      "parameters": {
        "width": 2288,
        "height": 656,
        "content": "## Principal Workflow\n"
      }
    },
    {
      "id": "20e8fbbc-bfbf-452c-a17c-08a18e0344c6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2048,
        -112
      ],
      "parameters": {
        "width": 544,
        "height": 1296,
        "content": "## 🌱 Setup & Configuration Guide\n\n### 📋 Setup Checklist\n□ Connect your Google account (Sheets)\n□ Create “plants”, “settings”, and “log” sheets\n□ Add your Telegram bot credentials and configure your {Y"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Send Final Message No Dues",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Dues",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Update Water",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update Fert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "WeatherGate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Prepare Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DecideDue": {
      "main": [
        [
          {
            "node": "¿Pending task?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append Log": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read plants": {
      "main": [
        [
          {
            "node": "DecideDue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Fert": {
      "main": [
        [
          {
            "node": "Append Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WeatherGate": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Data": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Water": {
      "main": [
        [
          {
            "node": "Append Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read settings": {
      "main": [
        [
          {
            "node": "Vacation Mode",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set DecideTag": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Vacation Mode": {
      "main": [
        [],
        [
          {
            "node": "Read plants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Weather Tag": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "¿Pending task?": {
      "main": [
        [
          {
            "node": "OpenWeather request",
            "type": "main",
            "index": 0
          },
          {
            "node": "Set DecideTag",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Final Message No Dues1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Read settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenWeather request": {
      "main": [
        [
          {
            "node": "Set Weather Tag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}