Infomaniak CoreResources icon

Infomaniak CoreResources

Interact with Infomaniak API

Overview

This node interacts with the Infomaniak API to retrieve multiple language records. Specifically, the "Language" resource with the "Get Many" operation fetches a list of available languages from the Infomaniak platform.

Common scenarios where this node is beneficial include:

  • Populating dropdowns or selection lists in workflows with supported languages.
  • Synchronizing or auditing language data from Infomaniak for reporting or integration purposes.
  • Filtering or processing data based on language codes or names retrieved dynamically.

For example, a user might use this node to get all languages supported by their Infomaniak account and then use that data to configure localized content delivery or user preferences.

Properties

Name Meaning
Return All Whether to return all available language results or limit the number of results returned.
Limit Maximum number of language results to return (ignored if Return All is true).
Additional Options Collection of optional parameters to customize the query:
- Order By Field to order results by: ID, Name, or Code.
- Order Direction Sort direction: Ascending or Descending.
- Page Page number for paginated results.
- Per Page Number of results per page.
- Skip Number of items to skip before starting to collect results.
- Return Total Count If true, returns only the total count of languages instead of the language items themselves.

Output

The output is an array of JSON objects representing language records retrieved from the Infomaniak API. Each object typically contains fields such as language ID, name, and code, depending on the API response.

If the "Return Total Count" option is enabled, the output will contain a single numeric value representing the total number of available languages rather than the language details.

No binary data is output by this node.

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/languages.
  • Proper configuration of the API authentication token in n8n credentials is necessary.

Troubleshooting

  • Failed to retrieve languages: This error occurs if the API request fails or returns an unexpected result. Check that the API token is valid and has sufficient permissions.
  • Invalid parameter values: Ensure numeric fields like Limit, Page, Per Page, and Skip are positive integers.
  • Empty results: If no languages are returned, verify that the account has languages configured or try adjusting filters/order options.
  • API rate limits or connectivity issues: Network problems or API throttling can cause failures; retry after some time or check network access.

Links and References

Discussion