Actions17
- City Actions
- Country Actions
- Language Actions
- Region Actions
City → Search
AI-generatedSummary
Searches Geomelon cities with optional name, country, region, population, and preferred-language filters, then returns the matching records sorted and paginated.
Inputs
- Name — Optional city-name prefix.
- Country Code — Optional ISO 3166-1 alpha-2 country code, such as US.
- Region ID — Optional region UUID filter.
- Min Population — Optional minimum population; 0 skips this filter.
- Max Population — Optional maximum population; 0 skips this filter.
- Sort — Sort order: name A–Z, name Z–A, population ascending, or population descending. Defaults to population descending.
- Preferred Languages — Optional comma-separated BCP 47 language tags for localized names.
- Limit — Maximum results per request (1–100); defaults to 50.
- Offset — Pagination offset; defaults to 0.
Output shape
A list of n8n items, one per returned city record.
Each result is returned as an item’s JSON data. The API response is wrapped as a single item if it is not an array. Requires Geomelon API credentials; request errors fail the operation unless Continue On Fail is enabled, in which case an error item is returned for the affected input item.
Examples
Example 1: Search by city name prefix
Set Name to “San”, leave other filters at their defaults, and use the default sort, limit, and offset.
Example 2: Find cities in a country within a population range
Set Country Code to “US”, set Min Population and Max Population, and choose a population sort order.
