Look Up Post Code
openweathermap.geocode_postcode
ActionBusiness appsconnection required
Calls the OpenWeather API with the connection's credentials.
Resolve a post code and country code to one set of coordinates and the name of the place they belong to.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- OpenWeather
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- units, lang, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
postcode A post code and its two-letter country code, divided by a comma — for example '94040,US'. | string | Yes | — | — | 94040,US |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"postcode": "94040,US"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
zip The post code that was looked up. | string | — |
name The name of the place the post code covers. | string | — |
lat The latitude of that place. | number | — |
lon The longitude of that place. | number | — |
country The two-letter country code of that place. | string | — |
{
"country": "",
"lat": 0,
"lon": 0,
"name": "",
"zip": ""
}See Look Up Post Code run in a workflow.
In a technical demo we add the OpenWeather connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.