Actions47
- Booking Actions
- Contact Actions
- Enquiry Actions
- Event Actions
- Location Actions
- Property Actions
- Sale Actions
- User Actions
- Web Lead Actions
Overview
This node integrates with the Inmobalia CRM API to retrieve location-related data. Specifically, for the "Location" resource and the "List Provinces by Country ISO" operation, it fetches a list of provinces within a country identified by its ISO code.
This functionality is useful in scenarios where you need to dynamically populate or validate geographic subdivisions based on a selected country, such as in real estate platforms, travel booking systems, or any application requiring detailed location hierarchies.
Example use case:
You have a form where users select their country by ISO code (e.g., "ES" for Spain), and you want to provide a dropdown of provinces/states within that country. This node operation will return the list of provinces to populate that dropdown.
Properties
| Name | Meaning |
|---|---|
| Country ISO | The ISO code of the country for which to list provinces. Example: "ES" for Spain. |
Output
The output is an array of JSON objects, each representing a province within the specified country. Each object contains details about a province as returned by the Inmobalia CRM API. The exact structure depends on the API response but typically includes identifiers, names, and possibly other metadata related to each province.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Inmobalia CRM API.
- Requires an API authentication token configured in n8n credentials (an OAuth2 API credential).
- The node uses the internal client created via
createClientto communicate with the API.
Troubleshooting
Common issues:
- Providing an invalid or unsupported country ISO code may result in empty results or errors.
- Missing or invalid API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages:
"Unsupported operation: listProvincesByCountry": Indicates the operation name might be misspelled or not supported; ensure the correct operation is selected.- API errors wrapped as
NodeApiError: Check the underlying error message for details such as authentication failure, rate limiting, or invalid parameters.
Resolution tips:
- Verify the country ISO code is valid and supported by the API.
- Ensure the API credentials are correctly set up and authorized.
- Check network connectivity and API service status.
Links and References
- Inmobalia CRM API Documentation (Assumed URL, replace with actual if known)
- ISO 3166 Country Codes - Reference for valid country ISO codes.