毎日の天気データの自動取得と保存
初級
これはOther分野の自動化ワークフローで、5個のノードを含みます。主にAirtable, HttpRequest, ScheduleTriggerなどのノードを使用。 Airtable に毎日の天気データを取得して保存
前提条件
- •Airtable API Key
- •ターゲットAPIの認証情報が必要な場合あり
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"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": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
40,
100
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "0b721c2a-6301-4a08-9602-990598d0f7a3",
"name": "気象データ保存",
"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": "気象データ取得",
"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": "付箋",
"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": "付箋1",
"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
}
]
]
},
"871fd9fd-de44-4c9f-aef4-0c731c5685f1": {
"main": [
[
{
"node": "052a47c1-d167-432c-93f2-117a1c129c51",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
初級 - その他
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Google連絡先の誕生日を毎日Slackに送信する
Google連絡先からの毎日の誕生日リマインダーをSlackへ送信
If
Slack
Filter
+
If
Slack
Filter
7 ノードWeblineIndia
その他
Googleスheetsからの仕事の公開の期限切れチェックと再通知のためにHTTP Last-Modifiedを使用
Google Sheets、HTTP チェック、Gmail を使った求人情報掲載期限の自動提醒
If
Set
Code
+
If
Set
Code
19 ノードWeblineIndia
人事
TheOddsAPIとAirtableを使用したベッティングデータ取得の自動化
Odds APIを使ってスポーツベッティングデータを自動化
Merge
Airtable
Http Request
+
Merge
Airtable
Http Request
10 ノードMarketing Canopy
その他
月次エネルギー発電レポート
月次エネルギーレポートを PostgreSQL、PDF.co、メール送信で自動生成
Code
Gmail
Postgres
+
Code
Gmail
Postgres
7 ノードWeblineIndia
文書抽出
OpenWeather API、Google Sheets、Gmailを使用した毎日の天気レポート
毎日の天気レポート:OpenWeather API、Google スプシ、Gmail
Html
Gmail
Http Request
+
Html
Gmail
Http Request
7 ノードWeblineIndia
個人の生産性
受信したメールを新しい行としてGoogle Sheetsスプレッドシートに追加する
受信した新しいメールをGoogleスプレッドシートの新しい行として追加
Gmail Trigger
Google Sheets
Gmail Trigger
Google Sheets
4 ノードWeblineIndia
その他
ワークフロー情報
難易度
初級
ノード数5
カテゴリー1
ノードタイプ4
作成者
WeblineIndia
@weblineindiaA Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.
外部リンク
n8n.ioで表示 →
このワークフローを共有