Actions30
- Company Actions
- Company (Related) Actions
- Data (Advanced) Actions
- Enrich Actions
- Live Web RAG Actions
- LLM Template Actions
- Other Data Actions
- Validation & Cleansing Actions
Overview
This node integrates with the Bedrijfsdata API to perform various data retrieval and validation tasks. Specifically, for the Validation & Cleansing resource with the Geocoding operation, it validates and formats unstructured geographic data by converting free-form addresses into structured geolocation information.
Common scenarios where this node is beneficial include:
- Cleaning and standardizing address data before storing or processing.
- Enhancing datasets with accurate geographic coordinates.
- Validating user input addresses in forms or databases.
- Preparing location data for mapping or spatial analysis.
For example, you can input a raw address string like "1600 Amphitheatre Parkway, Mountain View" and receive validated, standardized address components along with latitude and longitude coordinates.
Properties
| Name | Meaning |
|---|---|
| Geocoding | (Required) Enter a free form address to be validated and geocoded. |
| Country (ISO 3166-1 Alpha-2) | (Optional) Specify a two-letter country code (e.g., "nl" for Netherlands, "us" for USA) to help narrow down the geocoding search. |
Output
The node outputs JSON data containing the geocoding results returned from the Bedrijfsdata API. This typically includes:
- Standardized address components (street, city, postal code, etc.).
- Geographic coordinates (latitude and longitude).
- Possibly additional metadata related to the location's validation status.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the Bedrijfsdata API.
- Requires an API authentication token configured in n8n credentials (referred generically as an API key credential).
- The base URL used for requests is
https://api.bedrijfsdata.nl/v1.2. - The node sends GET requests to the
/geocodingendpoint with query parameters based on input properties.
Troubleshooting
- Missing or invalid address input: The "Geocoding" property is required. Ensure that a valid free form address string is provided.
- Invalid country code: If specified, the country code should be a valid ISO 3166-1 alpha-2 code. Incorrect codes may lead to no results or errors.
- API request failures: Network issues or invalid API credentials will cause errors. Verify your API key and network connectivity.
- Unexpected API responses: If the API returns unexpected data or error messages, check the Bedrijfsdata service status or contact their support.
- Error messages: Errors thrown by the node will generally indicate if the problem is due to missing parameters, invalid inputs, or API communication issues. Review the error message details for guidance.
Links and References
- Bedrijfsdata API Documentation (for detailed API usage and endpoints)
- ISO 3166-1 Alpha-2 Country Codes