Integrating AI with Open-Meteo API for Enhanced Weather Forecasting
Last edited 9 days ago
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
- We will make an HTTP request to find out the geographic coordinates of a city.
- 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/
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!