Get Forecast
Gets a forecast in OpenWeather.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node (optional if credentials provided) |
| Latitude | inLatitude | Latitude of the location (-90 to 90) |
| Longitude | inLongitude | Longitude of the location (-180 to 180) |
Outputs
| Property | Field | Description |
|---|---|---|
| City Name | outCityName | Name of the location |
| Count | outCount | Number of forecast timestamps returned |
| Forecast | outForecast | Complete forecast data object |
| Forecast List | outList | Array of forecast timestamps (3-hour intervals) |
Options
| Property | Field | Description |
|---|---|---|
| Credentials | optCredentials | OpenWeather API key (optional - use instead of Connect node) |
| Language | optLanguage | Language for weather descriptions One of: en, es, fr, de, it, pt, ru, ja, zh_cn, ar. |
| Timestamps Count | optCount | Number of 3-hour forecast timestamps to return (max 40 for 5 days) |
| Units | optUnits | Temperature units One of: standard, metric, imperial. |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
- OpenWeather API Key — API key for OpenWeatherMap authentication
value— API Key (password, required). Your OpenWeatherMap API key
Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.
Related nodes
Connect · Disconnect · Get Current Weather · Get Air Pollution · Geocoding Search · Toolkit
See also
- OpenWeather — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries