HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation attaches files to a specific task in the HumHub platform. It is useful for automating the process of uploading and associating files with tasks, such as attaching documents, images, or other relevant files to a task for project management or collaboration purposes.

Use Case Examples

  1. Automatically attach multiple files from previous workflow steps to a task in HumHub.
  2. Upload and link binary files stored in the workflow to a task to keep all related information centralized.

Properties

Name Meaning
Authentication Method of authentication to use for the API requests (Basic Auth or JWT Token).
ID The unique identifier of the task to which files will be attached.
Files Collection of files to attach to the task, specified by the binary property names containing the file data.

Output

JSON

  • id - The ID of the task to which files were attached.
  • files - Details of the files that were attached to the task.

Dependencies

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

Troubleshooting

  • Error 'No binary data exists on item!' occurs if the input item does not contain any binary data. Ensure the input data includes binary files.
    Error 'Binary data property "" does not exist!' occurs if the specified binary property name for a file is not found in the input item. Verify the binary property names are correct and exist in the input data.
  • API request failures may occur due to invalid task ID or insufficient permissions. Verify the task ID is correct and the authentication credentials have appropriate access rights.

Links

  • HumHub API Documentation - Official API documentation for HumHub, useful for understanding endpoints and authentication.

Discussion