Actions31
- Option Set Actions
- Public Query Actions
- Record Actions
- Role Actions
- Workflow Actions
- Worksheet Actions
Overview
This node interacts with the HAP (Hyper Application Platform) API to retrieve region information via its "Public Query" resource and the "Get Region" operation. It allows users to fetch details about a specific region or search for regions by name. This is useful in scenarios where workflows need to dynamically obtain geographic or administrative region data, such as populating dropdowns, filtering data based on location, or integrating with other systems that require region metadata.
Practical examples:
- Fetching sub-regions of a given region ID to display hierarchical location data.
- Searching for regions matching a user-provided term to enable autocomplete or selection features in an application.
Properties
| Name | Meaning |
|---|---|
| Region ID | The identifier of the region for which to retrieve sub-region information. |
| Search | A search term string used to find regions whose names match or contain this term. |
Output
The node outputs JSON data containing the region information retrieved from the HAP API. This typically includes details about the specified region or a list of regions matching the search criteria. The exact structure depends on the API response but generally includes region identifiers, names, and possibly hierarchical relationships.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the HAP API.
- The node expects the HAP API endpoint to be accessible and properly configured within n8n.
- No additional external dependencies are indicated beyond the API authentication.
Troubleshooting
Common issues:
- Invalid or missing Region ID may result in empty or error responses.
- Network connectivity problems can cause request failures.
- Insufficient permissions or invalid API credentials will lead to authentication errors.
Error messages:
- Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Not found or empty results: Check that the Region ID exists or that the search term matches available regions.
- Request timeouts or connection errors: Ensure network access to the HAP API endpoint.
Links and References
- HAP (Hyper Application Platform) API Documentation (Replace with actual URL if available)