Hudu icon

Hudu

Interact with Hudu REST API

Folder → Create

AI-generated

Overview

This node operation creates a new folder in the Hudu system. It is useful for organizing assets, documents, or other items into categorized folders within the Hudu platform. For example, a user can create a folder named 'Project Documents' to store all related files or a 'Photos' folder to organize images.

Use Case Examples

  1. Creating a folder named 'Marketing Assets' with a description and specifying it as a photo folder.
  2. Creating a subfolder under an existing parent folder by providing the parent folder ID.

Properties

Name Meaning
Name The name of the folder to be created, which is required.
Company Name or ID Optionally associate the folder with a specific company by selecting from a list or specifying an ID.
Description Optional description text for the folder.
Folder Type Type of folder, either 'article' or 'photo'. This is immutable after creation and defaults to 'article'.
Icon Optional Font Awesome icon code to visually represent the folder.
Parent Folder ID Optional numeric ID of the parent folder to create a nested folder structure.

Output

JSON

  • id - The unique identifier of the created folder.
  • name - The name of the created folder.
  • description - The description of the created folder.
  • folder_type - The type of the folder, e.g., article or photo.
  • icon - The icon associated with the folder.
  • parent_folder_id - The ID of the parent folder if the folder is nested.

Dependencies

  • Hudu REST API
  • API authentication token (credential)

Troubleshooting

  • Ensure the 'Name' property is provided as it is required; missing it will cause an error.
  • If specifying a company, ensure the company ID or name is valid and exists in the system.
  • Folder type is immutable after creation; attempting to change it later will not work.
  • Parent folder ID must be a valid existing folder ID if provided.

Links

Discussion