AvantGuard - WebhookSite icon

AvantGuard - WebhookSite

AvantGuard - WebhookSite

Actions100

Overview

This node operation allows you to create a new folder within a system that organizes data or resources hierarchically. It is useful in scenarios where users need to programmatically manage folder structures, such as organizing documents, projects, or other entities into folders for better categorization and access control.

Practical examples include:

  • Automatically creating project folders when a new project is initiated.
  • Structuring client files by creating folders named after clients.
  • Organizing assets or media files into categorized folders based on metadata.

Properties

Name Meaning
Additional Body Fields Optional fields to specify details about the folder being created. These include:
- Name The name of the folder to be created.
- Icon An icon representing the folder (e.g., emoji or icon code).
- Description A textual description providing more information about the folder.
- Parent Folder Id Numeric ID of an existing folder to set as the parent, enabling nested folder structure.
- Company Id Numeric ID associating the folder with a specific company or organizational entity.

Output

The node outputs JSON data representing the newly created folder. This typically includes the folder's unique identifier, its properties (name, icon, description), and any hierarchical relationships (such as parent folder ID). The output can be used downstream to reference the folder or confirm successful creation.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key or authentication token configured in n8n credentials to authorize requests.
  • Depends on an external service endpoint (base URL provided via credentials) that manages folder creation.
  • The node sends HTTP requests with JSON payloads to this service.

Troubleshooting

  • Missing Required Fields: If the "Name" field is empty, the API may reject the request. Ensure the folder name is provided.
  • Invalid Parent Folder ID: Providing a non-existent or unauthorized parent folder ID may cause errors. Verify the parent folder exists and is accessible.
  • Authentication Errors: Failure to provide valid API credentials will result in authorization errors. Confirm credentials are correctly set up.
  • API Endpoint Issues: Network problems or incorrect base URL configuration can cause request failures. Check connectivity and credential settings.
  • Data Type Mismatches: Ensure numeric fields like "Parent Folder Id" and "Company Id" are numbers, not strings.

Links and References

  • Refer to the external API documentation of the folder management service for detailed field descriptions and error codes.
  • n8n documentation on setting up API credentials and HTTP request nodes for further customization.

Discussion