Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
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
- Download a file by its ID and save it to the binary property 'data' for further processing in the workflow.
- 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.
