FM
FlowMarket
AI Agents Intermediate ⚡ 12 n8n Nodes

Integrating AI with Open Meteo API for enhanced weather forecast

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, ...

🔌 Nodes & Integrations Used (5)

Chat Trigger Lm Chat Open Ai Agent Memory Buffer Window Tool Http Request

📖 Implementation & Setup Guide

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 providers.

Enhanced Weather Forecasting

In 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.

This can be used to plan travel decisions, for example.

What this workflow does

  1. We will make an HTTP request to find out the geographic coordinates of a city.
  2. Then, we will make other HTTP requests to discover the weather for the upcoming days.

In 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.

Setup

Insert an OpenAI Key and activate the workflow.

by Davi Saranszky Mesquita https://www.linkedin.com/in/mesquitadavi/

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Integrating_AI_with_Open_Meteo_API_for_enhanced_weather_forecast.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →