Automatización diaria de la obtención y almacenamiento de datos meteorológicos

Principiante

Este es unOtherflujo de automatización del dominio deautomatización que contiene 5 nodos.Utiliza principalmente nodos como Airtable, HttpRequest, ScheduleTrigger. Obtener datos meteorológicos diarios y guardarlos en Airtable

Requisitos previos
  • Clave de API de Airtable
  • Pueden requerirse credenciales de autenticación para la API de destino

Categoría

Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "PHp3gKoyYfSztbTB",
  "meta": {
    "instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
    "templateCredsSetupCompleted": true
  },
  "name": "Automated Daily Weather Data Fetcher and Storage",
  "tags": [
    {
      "id": "uScnF9NzR3PLIyvU",
      "name": "Published",
      "createdAt": "2025-03-21T07:22:28.491Z",
      "updatedAt": "2025-03-21T07:22:28.491Z"
    }
  ],
  "nodes": [
    {
      "id": "871fd9fd-de44-4c9f-aef4-0c731c5685f1",
      "name": "Disparador programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        40,
        100
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "0b721c2a-6301-4a08-9602-990598d0f7a3",
      "name": "Store Weather Data",
      "type": "n8n-nodes-base.airtable",
      "notes": "Store weather data in table\n",
      "position": [
        480,
        100
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "appKtypfMptBIKStp",
          "cachedResultUrl": "",
          "cachedResultName": "WeatherData"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblfb3sJ84eQUlYJd",
          "cachedResultUrl": "",
          "cachedResultName": "Data"
        },
        "columns": {
          "value": {
            "Temp": "={{ $json.main.temp }}",
            "Humidity": "={{ $json.main.humidity }}",
            "Location": "={{ $json.name }}",
            "Timezone": "={{ $json.timezone }}",
            "Wind Speed": "={{ $json.wind.speed }}"
          },
          "schema": [
            {
              "id": "Location",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Location",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Timezone",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Timezone",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Temp",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Temp",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Wind Speed",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Wind Speed",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Humidity",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Humidity",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": []
        },
        "options": {},
        "operation": "create"
      },
      "credentials": {
        "airtableTokenApi": {
          "id": "",
          "name": ""
        }
      },
      "notesInFlow": true,
      "typeVersion": 2.1
    },
    {
      "id": "052a47c1-d167-432c-93f2-117a1c129c51",
      "name": "Get Weather Data",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Fetching the weather data",
      "position": [
        260,
        100
      ],
      "parameters": {
        "url": "https://api.openweathermap.org/data/2.5/weather?lat=23.0059&lon=72.5547",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpQueryAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "units",
              "value": "metric"
            }
          ]
        }
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "zowZrB19NtOy4lxp",
          "name": "OpenWeatherAPi"
        },
        "httpQueryAuth": {
          "id": "OVXHUjaqzUxECHEG",
          "name": "OpenWeatherMap Query Auth"
        },
        "httpHeaderAuth": {
          "id": "glJ33a6G5lqhm1CW",
          "name": "Shopify GraphQL Cred"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    },
    {
      "id": "525f3e92-c620-47f2-b97e-53cb98d63406",
      "name": "Nota adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 6,
        "width": 680,
        "height": 320,
        "content": "Automated Daily Weather Data Fetcher and Storage\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "cff8dbb0-3639-45a6-a06d-9ab63b2dfce8",
      "name": "Nota adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        340
      ],
      "parameters": {
        "color": 6,
        "width": 680,
        "height": 120,
        "content": "This workflow fetches weather data daily using the OpenWeatherMap API and stores the weather information in Airtable. The data can include current temperature, humidity, wind speed, and other relevant weather details. This automation ensures that the weather data is updated every day and stored for future reference, providing an easy-to-access historical record of the weather patterns."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ef874403-4189-4b92-a963-a02fc585cb77",
  "connections": {
    "052a47c1-d167-432c-93f2-117a1c129c51": {
      "main": [
        [
          {
            "node": "0b721c2a-6301-4a08-9602-990598d0f7a3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "052a47c1-d167-432c-93f2-117a1c129c51",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Principiante - Otros

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Flujos de trabajo relacionados recomendados

Información del flujo de trabajo
Nivel de dificultad
Principiante
Número de nodos5
Categoría1
Tipos de nodos4
Descripción de la dificultad

Adecuado para principiantes de n8n, flujos de trabajo simples con 1-5 nodos

Autor
WeblineIndia

WeblineIndia

@weblineindia

A Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34