Actions28
- Action Actions
- Country Actions
- Event Actions
- Language Actions
- Product Actions
- Profile Actions
- Task Actions
- Timezone Actions
- User Management Actions
- kSuite Actions
Overview
This node interacts with the Infomaniak API to retrieve information about countries. Specifically, the "Country" resource with the "Get" operation fetches details of a specific country by its unique identifier. This is useful when you need detailed data about a particular country within your workflow, such as for localization, compliance checks, or enriching user profiles with country-specific information.
Practical example:
You have a form where users select their country by ID, and you want to fetch the full country details (name, code, status, etc.) from Infomaniak's database to use in subsequent steps like shipping calculations or regional content customization.
Properties
| Name | Meaning |
|---|---|
| Country ID | The unique identifier of the country to retrieve |
Output
The node outputs JSON data representing the requested country's details as returned by the Infomaniak API. The structure typically includes fields such as country name, code, enabled status, and other metadata provided by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Infomaniak API.
- The node makes HTTP GET requests to the endpoint:
https://api.infomaniak.com/1/countries/{countryId}. - Proper configuration of the API authentication token in n8n credentials is necessary.
Troubleshooting
Error: "Country with ID X not found"
This indicates that the specified country ID does not exist in the Infomaniak system. Verify the correctness of the country ID input.Error: "Failed to retrieve country"
Could be due to network issues, invalid API token, or API service downtime. Check your API credentials and network connectivity.Invalid or missing Country ID
Ensure the "Country ID" property is provided and is a valid number.API Rate Limits or Authorization Errors
If you encounter authorization errors, confirm that the API key has sufficient permissions and is correctly configured in n8n.
Links and References
- Infomaniak API Documentation (general reference; specific endpoints may require login)
- n8n documentation on HTTP Request Node for understanding how HTTP calls are made internally.