Postcodes
UK Government integration · 4 node(s).
00Overview
UK postcode lookup, validation and geocoding (postcodes.io)
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting Postcodes
Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:
${secrets.your_secret}.02Nearest
Nearest Postcodes
ukgov/postcodes/nearest_postcodes · Action
List UK postcodes geographically nearest to a given postcode (postcodes.io)
| Field | Type | Details | |
|---|---|---|---|
| Postcode | string | Required | SW1A 1AA |
Returns: tool_result, results, count, success, error
03Postcode
Postcode Lookup
ukgov/postcodes/postcode_lookup · Action
Resolve a UK postcode to coordinates, region and administrative areas (postcodes.io)
| Field | Type | Details | |
|---|---|---|---|
| Postcode | string | Required | SW1A 1AA |
Returns: tool_result, result, latitude, longitude, region, success, error
04Reverse
Reverse Geocode
ukgov/postcodes/reverse_geocode · Action
Find the nearest UK postcodes to a latitude/longitude (postcodes.io)
| Field | Type | Details | |
|---|---|---|---|
| Latitude | string | Required | 51.501009 |
| Longitude | string | Required | -0.141588 |
Returns: tool_result, results, nearest, count, success, error
05Validate
Validate Postcode
ukgov/postcodes/validate_postcode · Action
Check whether a string is a valid UK postcode (postcodes.io)
| Field | Type | Details | |
|---|---|---|---|
| Postcode | string | Required | SW1A 1AA |
Returns: tool_result, valid, success, error
06Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- Coverage is limited to UK postcodes, so lookups and validation on non-UK or unrecognised inputs return no match even when the text is well-formed.
- Validation checks whether a postcode actually exists in the dataset rather than just its format, so a correctly-formatted but retired or unassigned postcode is reported as invalid.
- Reverse geocode searches only within a limited radius of the supplied coordinates, so points in remote areas or outside the UK may return no nearby postcodes.
- These nodes are a read-only reference service, so they can look up and validate postcodes but never create or change any data.