{
  "name": "Personalized weather assistant with Google Calendar, WeatherAPI, Gemini & Telegram",
  "nodes": [
    {
      "id": "c3104ac5-46d1-44b0-9086-ea7126a7e872",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -900,
        -320
      ]
    },
    {
      "id": "2b570610-c022-47bc-a67d-d561aacd3339",
      "name": "Get many events",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        -560,
        -320
      ]
    },
    {
      "id": "a244ba68-cea7-4a97-9f40-097a04bc6417",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -120,
        -460
      ]
    },
    {
      "id": "bd053ee0-aa73-4012-a6e7-a11d02d11b09",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -380,
        -320
      ]
    },
    {
      "id": "f9af621c-ec65-4bb8-aed5-c3ae7c5b29fa",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        160,
        -460
      ]
    },
    {
      "id": "04ba0f52-addc-45fd-a53e-357b61e40212",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        160,
        -300
      ]
    },
    {
      "id": "ecd56a45-2f16-40a5-87ec-d2adcae8acb1",
      "name": "Set Timezone",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        -320
      ]
    },
    {
      "id": "f5d304be-a8a5-46f0-805e-ed31ec79b14c",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        520,
        -460
      ]
    },
    {
      "id": "8657096c-2e49-49ce-a5bd-32e1eb86af8e",
      "name": "AI Agent2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -120,
        20
      ]
    },
    {
      "id": "ee687c11-4622-40db-b961-2c33584e8a26",
      "name": "OpenRouter Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -120,
        240
      ]
    },
    {
      "id": "",
      "name": "Send a text message1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        280,
        20
      ]
    },
    {
      "id": "",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1640,
        -960
      ],
      "parameters": {
        "width": 620,
        "height": 1080,
        "content": "# Personalized Weather Assistant with Google Calendar, WeatherAPI, AI & Telegram\n\nThis workflow automates the delivery of a personalized daily agenda by combining events from Google Calendar with real"
      }
    },
    {
      "id": "",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -940,
        -500
      ],
      "parameters": {
        "width": 680,
        "height": 340,
        "content": "- Runs workflows based on a schedule, with the default setting being 6 AM.\n- Sets the timezone so that Google Calendar events are retrieved according to local time.\n- Fetches all events from Google Ca"
      }
    },
    {
      "id": "",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -620
      ],
      "parameters": {
        "width": 560,
        "height": 440,
        "content": "- Fetch local weather data from WeatherAPI, based on event location, date, and time (customizable)\n- Combine event and weather data into a single personalized message"
      }
    },
    {
      "id": "",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -120
      ],
      "parameters": {
        "width": 320,
        "height": 480,
        "content": "- If the event does not have a location, the data will still be presented in the form of a personalized message."
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent2": {
      "main": [
        [
          {
            "node": "Send a text message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Timezone": {
      "main": [
        [
          {
            "node": "Get many events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many events": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Set Timezone",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}