Templates / Integrating AI with Open-Meteo API for enhanced weather forecasting

Integrating AI with Open-Meteo API for enhanced weather forecasting

Needs changes

by Davi Saranszky Mesquita ✓ · 3,715 views · created 2025-01-02 · Engineering, AI Chatbot

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 6 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and HTTP Request. It also calls api.open-meteo.com over HTTP.

How it runs

Trigger: When a chat message arrives.

  1. Generic AI Tool Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (A tool for inputting the city and obtaining geolocation, A tool to get the weather forecast based on geolocation); memory: Chat Memory Buffer

Services it uses

OpenAI Chat ModelHTTP Request

HTTP calls to: api.open-meteo.com

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in Generic AI Tool Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • HTTP Request Tool (legacy) in A tool to get the weather forecast based on geolocation, A tool for inputting the city and obtaining geolocation: replace with HTTP Request node connected to the AI Agent's Tool input.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Generic AI Tool Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
HTTP Request Tool (legacy)
A tool to get the weather forecast based on geolocation, A tool for inputting the city and obtaining geolocation
HTTP Request node connected to the AI Agent's Tool input

Nodes used (5)

From the author

Use case Workshop We 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…

Excerpt from Davi Saranszky Mesquita's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.