HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation downloads a file from the HumHub API by its ID and stores the file data in a specified binary property of the workflow item. It is useful for workflows that need to retrieve and process files stored in HumHub, such as downloading user-uploaded documents or media files for further automation or analysis.

Use Case Examples

  1. Download a file by its ID and save it to the binary property 'data' for further processing in the workflow.
  2. Automate file retrieval from HumHub to integrate with other systems or storage solutions.

Properties

Name Meaning
Authentication The method of authentication to use when connecting to the HumHub API, either Basic Auth or JWT Token.
ID The unique identifier of the file to download from HumHub.
Binary Property The name of the binary property where the downloaded file data will be stored in the workflow item.

Output

Binary

The binary output contains the downloaded file data stored under the specified binary property name.

JSON

  • json - The original JSON data of the input item is preserved.
    binary - The binary data of the downloaded file is stored here, where is the user-defined name for the binary property.

Dependencies

  • Requires authentication credentials for HumHub API, either Basic Auth or JWT Token.

Troubleshooting

  • If the file ID is invalid or the file does not exist, the node will throw an error indicating the file could not be found.
  • If the specified binary property name does not exist or the input item lacks binary data structure, the node may throw an error.
  • Ensure the authentication credentials are correctly configured and have permission to access the file resource in HumHub.

Discussion