Actions28
- Action Actions
- Country Actions
- Event Actions
- Language Actions
- Product Actions
- Profile Actions
- Task Actions
- Timezone Actions
- User Management Actions
- kSuite Actions
Overview
The node interacts with the Infomaniak API to manage user profiles and related data. Specifically, the Update Profile operation allows updating the current user's profile information such as email, name, locale, timezone, and password. This is useful in scenarios where you want to programmatically keep user profile details up-to-date or synchronize them with other systems.
Practical examples:
- Automatically update a user's contact information after they submit a form.
- Change a user's language or timezone settings based on their preferences collected elsewhere.
- Reset or change a user's password securely by providing the current password for verification.
Properties
| Name | Meaning |
|---|---|
| User email address (required for update). | |
| First Name | User first name (maximum 128 characters). |
| Last Name | User last name (maximum 128 characters). |
| Country ID | Numeric identifier of the user's country. |
| Language ID | Numeric identifier of the user's preferred language. |
| Locale | User locale setting (e.g., en_US, fr_FR). |
| Timezone | User timezone (e.g., Europe/Paris). |
| Password | New password to set for the user. |
| Current Password | Current password for verification when changing sensitive information like password. |
Output
The output is a JSON object representing the updated user profile returned from the Infomaniak API. It contains the latest state of the user's profile after the update operation.
If the update is successful, the node outputs the updated profile data fields as received from the API.
Dependencies
- Requires an API key credential for authenticating requests to the Infomaniak API.
- The node makes HTTP PATCH requests to the endpoint
https://api.infomaniak.com/2/profileto perform updates. - Proper network connectivity to Infomaniak's API endpoints is necessary.
Troubleshooting
- Failed to update profile: This error occurs if the API request fails due to invalid input, authentication issues, or server errors. Verify that the API token is valid and that required fields (like email) are correctly provided.
- Current password verification failure: When changing the password, ensure the current password is correct; otherwise, the API will reject the update.
- Invalid field values: For example, exceeding character limits on names or providing invalid country/language IDs may cause errors.
- Network or API downtime: Ensure the Infomaniak API service is reachable and operational.
To resolve these issues:
- Double-check all input parameters for correctness.
- Confirm the API credentials are properly configured in n8n.
- Review API documentation for any constraints on fields.
- Enable "Continue On Fail" in the node settings to handle errors gracefully during batch operations.
Links and References
- Infomaniak API Documentation (general reference for API endpoints)
- n8n Documentation - Creating Custom Nodes
- HTTP Request Node in n8n (for understanding underlying HTTP calls)
This summary focuses exclusively on the Profile > Update Profile operation extracted from the provided source code and property definitions.