Overview
This node fetches current weather data from the Open-Meteo API based on specified geographical coordinates. It is useful for workflows that require real-time weather information such as temperature, wind speed, and humidity at a given location. Practical examples include automating alerts for weather conditions, integrating weather data into reports, or triggering actions based on specific weather parameters.
Properties
Name | Meaning |
---|---|
Latitude | Geographical coordinate specifying the latitude of the location to get weather for. |
Longitude | Geographical coordinate specifying the longitude of the location to get weather for. |
Weather Parameters | Select one or more current weather parameters to include in the response: |
- Temperature (2m) | |
- Wind Speed (10m) | |
- Relative Humidity (2m) |
Output
The node outputs JSON data containing the requested current weather parameters for the specified location. The structure corresponds directly to the Open-Meteo API response fields for the selected parameters. Each output item represents the weather data for one input set of coordinates.
No binary data is produced by this node.
Dependencies
- Requires internet access to call the Open-Meteo public API endpoint
https://api.open-meteo.com/v1/forecast
. - No authentication or API key is required.
- No additional n8n credentials or environment variables are needed.
Troubleshooting
Common issues:
- Invalid or missing latitude/longitude values will cause the API request to fail.
- Network connectivity problems can prevent successful API calls.
- Selecting no weather parameters may result in an empty or invalid response.
Error messages:
- If the API returns an error, the node will throw an error unless "Continue On Fail" is enabled, in which case it outputs an error object with the message.
- Typical errors include invalid query parameters or network timeouts.
Resolutions:
- Ensure latitude and longitude are valid decimal strings.
- Verify network connectivity.
- Select at least one weather parameter to request.