{
  "name": "Clima de CDMX",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "id": "7c2e5d39-24cb-4a17-b3b4-342fff95dfd7",
      "name": "Inicio (manual)"
    },
    {
      "parameters": {
        "url": "https://api.open-meteo.com/v1/forecast?latitude=19.43&longitude=-99.13&current=temperature_2m,wind_speed_10m&timezone=America/Mexico_City",
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.5,
      "position": [
        224,
        0
      ],
      "id": "1b9debe6-3669-4613-af65-1271a6453a04",
      "name": "Pedir el clima"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "22c02aec-e87c-4708-b4c6-0a4e93287155",
              "name": "mensaje",
              "value": "=Hoy en CDMX: {{ $json.current.temperature_2m }} °C y viento de {{ $json.current.wind_speed_10m }} km/h",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.5,
      "position": [
        448,
        0
      ],
      "id": "60c846c2-08af-43b6-8adb-f6e858448f29",
      "name": "Armar el mensaje"
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 7
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.4,
      "position": [
        16,
        176
      ],
      "id": "1d136c14-208c-4427-b235-cff5ba9723f4",
      "name": "Cada día 7 am"
    }
  ],
  "connections": {
    "Inicio (manual)": {
      "main": [
        [
          {
            "node": "Pedir el clima",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pedir el clima": {
      "main": [
        [
          {
            "node": "Armar el mensaje",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cada día 7 am": {
      "main": [
        [
          {
            "node": "Pedir el clima",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "active": false,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "tags": []
}