Infomaniak icon

Infomaniak

Interact with Infomaniak services

Actions6

Overview

The Infomaniak node allows users to interact with Infomaniak services, specifically supporting the "Kchat" service in this implementation. The "Upload File" operation under the "File" resource enables uploading a binary file to a specified Kchat channel. This is useful for automating file sharing within team communication channels or integrating file uploads into workflows that involve messaging or collaboration.

Practical examples include:

  • Automatically uploading reports or logs generated by other nodes to a Kchat channel.
  • Sharing images or documents as part of a notification workflow.
  • Archiving files by sending them to a dedicated channel for storage or review.

Properties

Name Meaning
Service The Infomaniak service to use. Currently only "Kchat" is supported.
Channel Name or ID Select or specify the target Kchat channel where the file will be uploaded.
Binary Property The name of the binary property from the input data that contains the file to upload (default: "data").

Output

The node outputs an array of JSON objects representing the result of the upload operation(s). Each item corresponds to one upload action and contains details returned by the service about the uploaded file. The exact structure depends on the Kchat service response but typically includes metadata such as file ID, URL, or status.

No binary output is produced by this node; it only returns JSON data describing the upload results.

Dependencies

  • Requires an API authentication credential for Infomaniak services (an API key or token).
  • Uses the Kchat service API to perform operations like retrieving channels and uploading files.
  • The node dynamically loads available channels via the API to populate the "Channel Name or ID" dropdown.

Troubleshooting

  • Error retrieving channels: If the node fails to load channels, ensure the API credentials are valid and have sufficient permissions.
  • Service not supported: This error occurs if an unsupported service is selected. Currently, only "Kchat" is implemented.
  • Invalid binary property: Make sure the binary property name matches the actual binary data field in the input.
  • Upload failures: Check network connectivity and API limits. Also verify the file size and format comply with Kchat restrictions.

Links and References

Discussion