AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to update an existing folder in the Hudu system by specifying its ID and providing new values for its properties. It is useful in scenarios where you need to programmatically modify folder details, such as renaming a folder, changing its icon, updating its description, or moving it under a different parent folder. For example, you might use this node in an automation workflow to reorganize folders based on certain triggers or to keep folder metadata up-to-date.

Properties

Name Type Meaning
Id Number ID of the folder to update.
Additional Body Fields Object Optional collection of fields to update:
- Name String Name of the folder.
- Icon String Icon for the folder.
- Description String Description of the folder.
- Parent Folder Id Number ID of the parent folder (optional).
- Company Id Number ID of the associated company (optional).

Output

The output will be a JSON object representing the updated folder. The structure typically includes the folder's properties after the update, such as its ID, name, icon, description, parent folder ID, and company ID. The exact fields depend on the API response from Hudu.

Dependencies

  • External Service: Requires access to the Hudu API.
  • API Key/Credentials: Needs valid avantguardHuduApi credentials configured in n8n, including the base URL and authentication token.
  • n8n Configuration: Ensure that the credentials are set up in n8n under the name avantguardHuduApi.

Troubleshooting

  • Invalid Folder ID: If the provided folder ID does not exist, the node may return an error indicating that the folder was not found. Double-check the ID value.
  • Missing Credentials: If credentials are not properly configured, you may see authentication errors. Ensure the avantguardHuduApi credential is set up with the correct base URL and API key.
  • Insufficient Permissions: If the API key lacks permission to update folders, the request will fail. Verify the permissions associated with your API key.
  • Validation Errors: If required fields are missing or invalid data types are provided (e.g., non-numeric ID), the API may return validation errors. Check input values carefully.

Links and References

Discussion