AI 강화된 날씨 예보
중급
이것은AI분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Agent, ChatTrigger, LmChatOpenAi, ToolHttpRequest, MemoryBufferWindow 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. AI와 Open-Meteo API를 통합하여 강화된 날씨 예보
사전 요구사항
- •OpenAI API Key
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "Nfh274NHoDy7pB4M",
"meta": {
"instanceId": "00493e38fecfc163cb182114bc2fab90114038eb9aad665a7a752d076920d3d5",
"templateCredsSetupCompleted": true
},
"name": "Integrating AI with Open-Meteo API for Enhanced Weather Forecasting",
"tags": [],
"nodes": [
{
"id": "80debfe0-c591-4ba1-aca1-068adac62aa9",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
100,
-300
],
"webhookId": "4a44e974-db62-4727-9913-12a22bc88e01",
"parameters": {
"public": true,
"options": {
"title": "N8N 👋",
"subtitle": "Weather Assistant: Example of Tools Using ChatGPT",
"allowFileUploads": false,
"loadPreviousSession": "memory"
},
"initialMessages": "Type like this: Weather Forecast for the Next 7 Days in São Paulo"
},
"typeVersion": 1.1
},
{
"id": "ec375027-1c0d-438b-9fca-7bc4fbef2479",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
420,
-60
],
"parameters": {
"options": {}
},
"credentials": {
"openAiApi": {
"id": "bhRvwBXztNmJVObo",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "bd2f5967-8188-4b1f-9255-8008870aaf7b",
"name": "메모지",
"type": "n8n-nodes-base.stickyNote",
"position": [
-540,
-640
],
"parameters": {
"color": 5,
"width": 500,
"height": 720,
"content": "## Integrating AI with Open-Meteo API for Enhanced Weather Forecasting\n\n## Use case\n\n### Workshop\n\nWe are using this workflow in our workshops to teach how to use Tools a.k.a functions with artificial intelligence. In this specific case, we will use a generic \"AI Agent\" node to illustrate that it could use other models from different data providers.\n\n### Enhanced Weather Forecasting\n\nIn this small example, it's easy to demonstrate how to obtain weather forecast results from the Open-Meteo site to accurately display the upcoming days.\n\nThis can be used to plan travel decisions, for example.\n\n## What this workflow does\n\n1. We will make an HTTP request to find out the geographic coordinates of a city.\n2. Then, we will make other HTTP requests to discover the weather for the upcoming days.\n\nIn this workshop, we demonstrate that the AI will be able to determine which tool to call first—it will first call the geolocation tool and then the weather forecast tool. All of this within a single client conversation call.\n\n\n## Setup\n\nInsert an OpenAI Key and activate the workflow.\n\nby Davi Saranszky Mesquita\nhttps://www.linkedin.com/in/mesquitadavi/"
},
"typeVersion": 1
},
{
"id": "3cfeea52-a310-4101-8377-0f393bf54c8d",
"name": "메모지1",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
-440
],
"parameters": {
"width": 340,
"height": 220,
"content": "## Create an Hosted Web Chat\n\n### And setup the trigger!\n\nExample: https://website/webhook/4a4..../chat"
},
"typeVersion": 1
},
{
"id": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"name": "범용 AI 도구 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
440,
-300
],
"parameters": {
"options": {}
},
"typeVersion": 1.7
},
{
"id": "7f608ddc-87bb-4e54-84a8-4db6b7f95011",
"name": "채팅 메모리 버퍼",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
200,
-60
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "77f82443-1efe-47d3-92ec-aa193853c8a5",
"name": "메모지2",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
0
],
"parameters": {
"width": 260,
"content": "-\n\n\n## Setup OpenAI Key"
},
"typeVersion": 1
},
{
"id": "ed37ea94-3cff-47cb-bf45-bce620b0f056",
"name": "메모지5",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
60
],
"parameters": {
"color": 4,
"width": 280,
"height": 360,
"content": "### Open Meteo SPEC - City Geolocation\n\nThis tool will go to the URL https://geocoding-api.open-meteo.com/v1/search to fetch the geolocation data of the city, and I only need to get the name of the city.\n\nSo, I will ask the user to input the name of the city and pass some pre-existing information, such as returning only the first city and returning in JSON format.\n\n- name (By Model) - And placeholder - The parameter that the AI will need to fill in as required.\n\n- count - 1 by default because I want only the first city.\n\n- format - Putting JSON for no specific reason, but OpenAI could figure out how to process that information."
},
"typeVersion": 1
},
{
"id": "f9b0e65d-a85e-4511-bdd2-adf54b1c039d",
"name": "지리적 위치 기반 일기예보 조회 도구",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
1100,
-160
],
"parameters": {
"url": "https://api.open-meteo.com/v1/forecast",
"sendQuery": true,
"parametersQuery": {
"values": [
{
"name": "latitude"
},
{
"name": "longitude"
},
{
"name": "daily",
"value": "temperature_2m_max,precipitation_sum",
"valueProvider": "fieldValue"
},
{
"name": "timezone",
"value": "GMT",
"valueProvider": "fieldValue"
},
{
"name": "forecast_days"
}
]
},
"toolDescription": "To get forecast of next [forecast_days] input the geolocation of an City",
"placeholderDefinitions": {
"values": [
{
"name": "longitude",
"type": "number",
"description": "longitude"
},
{
"name": "latitude",
"type": "number",
"description": "latitude"
},
{
"name": "forecast_days",
"type": "number",
"description": "forecast_days number of days ahead"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "76382491-dd75-4b51-a2d8-cb9782246af8",
"name": "메모지6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1240,
-220
],
"parameters": {
"color": 4,
"width": 280,
"height": 320,
"content": "### Open Meteo SPEC - Weather Forecast\n\nThis tool will go to the Open Meteo site with the geolocation information at https://api.open-meteo.com/v1/forecast\n\nIt will pass the information on latitude, longitude, and the number of days for which it will bring data.\n\nThere are many default pieces of information within, but the focus is not to explain the Open Meteo API.\n\nVariables like latitude, longitude, and forecast_days are self-explanatory for OpenAI, making it the easiest tool to configure.\n\n- latitude (By Model) and Placeholder\n- longitude (By Model) and Placeholder\n- forecast_days (By Model) and Placeholder\n"
},
"typeVersion": 1
},
{
"id": "1c8087ce-6800-4ece-8234-23914e21a692",
"name": "도시 입력 및 지리적 위치 획득 도구",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
820,
-100
],
"parameters": {
"url": "=https://geocoding-api.open-meteo.com/v1/search",
"sendQuery": true,
"parametersQuery": {
"values": [
{
"name": "name"
},
{
"name": "count",
"value": "1",
"valueProvider": "fieldValue"
},
{
"name": "format",
"value": "json",
"valueProvider": "fieldValue"
}
]
},
"toolDescription": "Input the City and get geolocation, geocode or coordinates from Requested City",
"placeholderDefinitions": {
"values": [
{
"name": "name",
"type": "string",
"description": "Requested City"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "15ae7421-eff9-4677-b8cf-b7bbb5d2385e",
"name": "메모지4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
340
],
"parameters": {
"color": 3,
"width": 840,
"height": 80,
"content": "## Within N8N, there will be a chat button to test, or you can use the external chat link from the trigger."
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "778e2544-db78-4836-8bd1-771f333a621c",
"connections": {
"ec375027-1c0d-438b-9fca-7bc4fbef2479": {
"ai_languageModel": [
[
{
"node": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"7f608ddc-87bb-4e54-84a8-4db6b7f95011": {
"ai_memory": [
[
{
"node": "80debfe0-c591-4ba1-aca1-068adac62aa9",
"type": "ai_memory",
"index": 0
},
{
"node": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"type": "ai_memory",
"index": 0
}
]
]
},
"80debfe0-c591-4ba1-aca1-068adac62aa9": {
"main": [
[
{
"node": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"type": "main",
"index": 0
}
]
]
},
"1c8087ce-6800-4ece-8234-23914e21a692": {
"ai_tool": [
[
{
"node": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"type": "ai_tool",
"index": 0
}
]
]
},
"f9b0e65d-a85e-4511-bdd2-adf54b1c039d": {
"ai_tool": [
[
{
"node": "55713ffc-da61-4594-99f4-ca6b448cbee2",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
AI 채팅 어시스턴트: Dumpling AI + GPT-4o를 활용한 로컬 비즈니스 데이터 Airtable 자동 저장
AI 채팅 어시스턴트: Dumpling AI + GPT-4o를 활용한 로컬 비즈니스 데이터 Airtable 자동 저장
Airtable Tool
Agent
Chat Trigger
+
Airtable Tool
Agent
Chat Trigger
8 노드Yang
영업
고급 AI 데모 (AI 개발자 14번째 모임에서 발표)
高级AI演示(在AI开发者第14次聚会中展示)
If
Code
Gmail
+
If
Code
Gmail
39 노드Max Tkacz
빌딩 블록
Meta 광고에 대해 AI에 문의 - Facebook 광고 인사이트 질문하기
Meta 광고에 대한 AI 상담 - Facebook 광고 인사이트 질문하기
Set
Filter
Telegram
+
Set
Filter
Telegram
21 노드Solomon
인공지능
🤖 Facebook MCP AI 어시스턴트 – GPT-4o로 댓글 읽기, 답장 및 관리
GPT-4o와 LangChain을 사용한 자동 Facebook 댓글 관리
Set
Agent
Mcp Trigger
+
Set
Agent
Mcp Trigger
17 노드Amanda Benks
인공지능
브랜드화 AI 추동 웹사이트 채팅 로봇 생성
브랜드화된 AI 드라이브드 웹사이트 채팅 로봇 생성
If
Set
Code
+
If
Set
Code
24 노드Wayne Simpson
제품
🌐🪛 Jina.ai 웹 크롤러를 포함한 AI 대리자 챗봇
🌐🪛 Jina.ai 웹 크롤러를 포함한 AI 대리자 채팅 로봇
Agent
Chat Trigger
Lm Chat Open Ai
+
Agent
Chat Trigger
Lm Chat Open Ai
9 노드Joseph LePage
인공지능