Actions6
- Channel Actions
- File Actions
- User Actions
Overview
This node allows interaction with Infomaniak services, specifically here focusing on the "File" resource and the "Get File Details" operation. It retrieves detailed metadata about a specified file stored within the Infomaniak environment. This is useful when you need to fetch information such as file size, type, creation date, or other attributes without downloading the entire file.
Practical examples include:
- Automating workflows that require validation of file properties before processing.
- Displaying file details in dashboards or reports.
- Integrating file metadata retrieval into larger automation pipelines.
Properties
| Name | Meaning |
|---|---|
| Service | The Infomaniak service to use. Currently supports only "Kchat". |
| File ID | The unique identifier of the file for which to retrieve details. |
Output
The node outputs an array of JSON objects where each object contains the detailed metadata of the requested file. The exact structure depends on the Infomaniak API response but typically includes fields like file name, size, type, creation/modification dates, and possibly access permissions.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with Infomaniak services.
- Uses the "Kchat" service internally to perform operations.
- The node depends on the Infomaniak API being accessible and the provided file ID being valid.
Troubleshooting
- Error retrieving channels: This error may appear if the node fails to fetch necessary channel information from the service. Ensure the API credentials are correct and have sufficient permissions.
- Service not supported: If a service other than "Kchat" is selected (or defaulted), the node will throw an error. Currently, only "Kchat" is supported.
- Invalid File ID: Providing an incorrect or non-existent file ID will likely result in an error or empty response. Verify the file ID before running the node.
- Credential issues: Missing or invalid API credentials will prevent the node from authenticating and accessing the service.
Links and References
- Infomaniak Official Website
- Infomaniak API Documentation (if publicly available)
- n8n documentation on creating custom nodes