The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "weather-gpt-summary",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "weather",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
],
"id": "3e3fa5e2-35a2-470c-8582-e8e4003f1e83",
"name": "Webhook"
},
{
"parameters": {
"url": "=http://api.weatherapi.com/v1/current.json?q=\"{{ $json.body.city }}\"",
"authentication": "genericCredentialType",
"genericAuthType": "httpQueryAuth",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "key",
"value": "change-this-to-your-api-key"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
220,
0
],
"id": "e9af48fd-cb72-4f88-817e-7b356475fde1",
"name": "HTTP Request",
"credentials": {
"httpQueryAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"method": "POST",
"url": "https://api.openai.com/v1/chat/completions",
"authentication": "genericCredentialType",
"genericAuthType": "httpBearerAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "Application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"model\": \"gpt-3.5-turbo\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"Act\u00faa como un meteor\u00f3logo. Resume las siguientes condiciones clim\u00e1ticas:\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Ciudad: {{ $json.location.name }}. Clima: {{ $json.current.condition.text }}. Temperatura: {{ $json.current.temp_c }}\u00b0C. Sensaci\u00f3n t\u00e9rmica: {{ $json.current.feelslike_c }}\u00b0C. Humedad: {{ $json.current.humidity }}%. Viento: {{ $json.current.wind_kph }} km/h desde el {{ $json.current.wind_dir }}.\"\n }\n ]\n}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
440,
0
],
"id": "a5b9a644-82ba-463b-acd0-4fed1bd7abc1",
"name": "HTTP Request - Open AI",
"credentials": {
"httpBearerAuth": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"message\": \"{{ $json.choices[0].message.content }}\"\n} ",
"options": {
"responseCode": 200
}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.4,
"position": [
660,
0
],
"id": "4459a9a9-306d-488f-a0d4-dcfd6b961c82",
"name": "Respond to Webhook"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "HTTP Request - Open AI",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request - Open AI": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c172c986-a84a-4a4b-9527-f53f2793a768",
"id": "lJioY5J3YMzfAuGt",
"tags": []
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpBearerAuthhttpQueryAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
weather-gpt-summary. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/gseriche/n8n-automation-lab/blob/60f62f4502e079cace51127f596b01715813df8a/flows/weather-gpt-summary.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface
Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.