Extractor de informes del clima
Este es unAIflujo de automatización del dominio deautomatización que contiene 9 nodos.Utiliza principalmente nodos como Html, HttpRequest, GoogleSheets, ManualTrigger, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Obtención automática de informes meteorológicos con Bright Data y n8n
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Credenciales de API de Google Sheets
Nodos utilizados (9)
Categoría
{
"id": "2v8K3VanHj11PubB",
"meta": {
"instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480",
"templateCredsSetupCompleted": true
},
"name": "Weather_Report_Scraper_via_Bright_Data",
"tags": [],
"nodes": [
{
"id": "d143f06d-3ea0-4feb-9157-62bc3d28b2aa",
"name": "Iniciar Workflow",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-460,
1720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "579b56bf-35e6-4114-947c-9e62814a2bff",
"name": "Nota Adhesiva9",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2180,
1020
],
"parameters": {
"color": 4,
"width": 1300,
"height": 320,
"content": "=======================================\n WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n - YouTube: https://www.youtube.com/@YaronBeen/videos\n - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
},
"typeVersion": 1
},
{
"id": "bd02001c-f390-4138-8013-d43f89802ab5",
"name": "Nota Adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2180,
1360
],
"parameters": {
"color": 4,
"width": 1289,
"height": 1718,
"content": "## 🌦️ **Weather Data Scraper Automation**\n\nThis n8n automation helps you **scrape weather data from a website**, extract useful info, and **log it directly to a Google Sheet** — great for personal dashboards, weather research, or historical weather tracking.\n\n---\n\n### 🟢 **SECTION 1: Start & Fetch Weather via Bright Data**\n\n| ⚡ Start Workflow | 🌐 Request Weather |\n| --------------------------------------------------------- | ------------------------------------------------------ |\n|  |  |\n\n#### 🧩 Node 1: `Start Workflow`\n\n* **Type**: Trigger node\n* **What it does**: Starts the automation manually or through a schedule.\n* **For Beginners**: Think of this like the **\"play button\"** for your entire workflow. You can trigger it by hand or set it on a timer.\n\n#### 🧩 Node 2: `Request/Fetch Weather via Bright Data`\n\n* **Type**: HTTP Request\n* **What it does**: Uses [Bright Data Proxy](https://brightdata.com) to send a request to a weather website and **fetch the full HTML page**, even bypassing bot protections.\n* **For Beginners**: Bright Data acts like a smart assistant that **gets web pages without getting blocked**. It makes web scraping more reliable.\n\n---\n\n### 🟠 **SECTION 2: Extract & Process Weather Info**\n\n| 🧠 Extract HTML | 📋 Log to Sheet |\n| ------------------------------------------------------- | ----------------------------------------------------------- |\n|  |  |\n\n#### 🧩 Node 3: `Extract Weather Info`\n\n* **Type**: HTML Extractor\n* **What it does**: Parses the HTML and **pulls out specific info** like temperature, humidity, and conditions using CSS selectors.\n* **For Beginners**: Imagine this node as a **filter** — it sifts through a huge webpage and pulls only the useful details you care about (like the current temperature).\n\n#### 🧩 Node 4: `Log to Weather Sheet`\n\n* **Type**: Google Sheets Integration\n* **What it does**: Appends the extracted weather info into a Google Sheet — creating a simple log or database you can review later.\n* **For Beginners**: This is where all the magic gets stored! Each run adds a new row with the latest weather so you can build a **daily weather tracker**.\n\n---\n\n### 📦 **SECTION 3: Output and Use**\n\n| ✅ Final Output |\n| ------------------------------------------------------------------------------------------------------------------------------------ |\n|  |\n\n#### 🧩 Final Output: Weather Data Stored\n\n* **What it means**: The Google Sheet now holds all the weather data you’ve collected over time.\n* **How to use**: You can:\n\n * Analyze trends 📈\n * Create dashboards 📊\n * Set up alerts for specific weather events (next step!)\n * Or just check how today compares to last week!\n\n---\n\n### 🧠 Summary (For Beginners)\n\n> **In simple terms**:\n> You click a button (or schedule it), it gets the weather from a website using a smart fetcher (Bright Data), pulls only the info you care about, and **stores it safely in Google Sheets**.\n> It's like building your own **personal weather archive**, no coding needed!\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "d22f87aa-4365-44f1-aab9-6e764af748f9",
"name": "SolicitarFetch Weather via Bright data",
"type": "n8n-nodes-base.httpRequest",
"position": [
-240,
1720
],
"parameters": {
"url": "https://api.brightdata.com/request",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "zone",
"value": "n8n_unblocker"
},
{
"name": "url",
"value": "https://www.weather.com/weather/today/l/Paris,FR"
},
{
"name": "country",
"value": "fr"
},
{
"name": "format",
"value": "raw"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "f28bf59a-1671-43af-9a98-0ce8cc9ca1e4",
"name": "Extraer Información Meteorológica",
"type": "n8n-nodes-base.html",
"position": [
20,
1720
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "Temperature",
"cssSelector": "<span data-testid=\"TemperatureValue\" class=\"CurrentConditions--tempValue--zUBSz\" dir=\"ltr\">81<span class=\"CurrentConditions--degreeSymbol--tzLy9\">°</span><span></span></span>"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "76410c0c-560c-48c2-87cd-68114b5de9ad",
"name": "Registrar en Hoja del Clima",
"type": "n8n-nodes-base.googleSheets",
"position": [
240,
1720
],
"parameters": {
"columns": {
"value": {
"City": "Paris",
"Country": "France",
"Temperature": "={{ $json.a }}"
},
"schema": [
{
"id": "Country",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Country",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "City",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "City",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Temperature",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Temperature",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mpIFtKgbtV_LgxFD2LTeXbHdaMu-Qca1S9RRSlFpZWQ/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1mpIFtKgbtV_LgxFD2LTeXbHdaMu-Qca1S9RRSlFpZWQ",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1mpIFtKgbtV_LgxFD2LTeXbHdaMu-Qca1S9RRSlFpZWQ/edit?usp=drivesdk",
"cachedResultName": "Weather report"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "r2mDaisH6e9VkwHl",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "fe209422-9127-407b-8ac8-bff7951c18ca",
"name": "Nota Adhesiva4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
1040
],
"parameters": {
"color": 6,
"width": 420,
"height": 900,
"content": "### 🟢 **SECTION 1: Start & Fetch Weather via Bright Data**\n\n| ⚡ Start Workflow | 🌐 Request Weather |\n| --------------------------------------------------------- | ------------------------------------------------------ |\n|  |  |\n\n#### 🧩 Node 1: `Start Workflow`\n\n* **Type**: Trigger node\n* **What it does**: Starts the automation manually or through a schedule.\n* **For Beginners**: Think of this like the **\"play button\"** for your entire workflow. You can trigger it by hand or set it on a timer.\n\n#### 🧩 Node 2: `Request/Fetch Weather via Bright Data`\n\n* **Type**: HTTP Request\n* **What it does**: Uses [Bright Data Proxy](https://brightdata.com) to send a request to a weather website and **fetch the full HTML page**, even bypassing bot protections.\n* **For Beginners**: Bright Data acts like a smart assistant that **gets web pages without getting blocked**. It makes web scraping more reliable.\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "23e7ddee-8409-4633-a7de-e29ea9face06",
"name": "Nota Adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
1020
],
"parameters": {
"color": 3,
"width": 420,
"height": 920,
"content": "### 🟠 **SECTION 2: Extract & Process Weather Info**\n\n| 🧠 Extract HTML | 📋 Log to Sheet |\n| ------------------------------------------------------- | ----------------------------------------------------------- |\n|  |  |\n\n#### 🧩 Node 3: `Extract Weather Info`\n\n* **Type**: HTML Extractor\n* **What it does**: Parses the HTML and **pulls out specific info** like temperature, humidity, and conditions using CSS selectors.\n* **For Beginners**: Imagine this node as a **filter** — it sifts through a huge webpage and pulls only the useful details you care about (like the current temperature).\n\n#### 🧩 Node 4: `Log to Weather Sheet`\n\n* **Type**: Google Sheets Integration\n* **What it does**: Appends the extracted weather info into a Google Sheet — creating a simple log or database you can review later.\n* **For Beginners**: This is where all the magic gets stored! Each run adds a new row with the latest weather so you can build a **daily weather tracker**.\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "aabc6470-727f-4d60-b390-44b52114821a",
"name": "Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
460,
1020
],
"parameters": {
"color": 7,
"width": 380,
"height": 240,
"content": "## I’ll receive a tiny commission if you join Bright Data through this link—thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "4e7b1293-10f1-4bee-a389-42835314731d",
"connections": {
"d143f06d-3ea0-4feb-9157-62bc3d28b2aa": {
"main": [
[
{
"node": "d22f87aa-4365-44f1-aab9-6e764af748f9",
"type": "main",
"index": 0
}
]
]
},
"f28bf59a-1671-43af-9a98-0ce8cc9ca1e4": {
"main": [
[
{
"node": "76410c0c-560c-48c2-87cd-68114b5de9ad",
"type": "main",
"index": 0
}
]
]
},
"d22f87aa-4365-44f1-aab9-6e764af748f9": {
"main": [
[
{
"node": "f28bf59a-1671-43af-9a98-0ce8cc9ca1e4",
"type": "main",
"index": 0
}
]
]
}
}
}¿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?
Intermedio - Inteligencia Artificial
¿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
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos
Compartir este flujo de trabajo