AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to delete a folder by its ID within the "Folders" resource. It is useful in scenarios where you need to automate the cleanup or management of folders in your system, such as removing obsolete or temporary folders as part of a workflow.

Practical examples:

  • Automatically deleting project folders after project completion.
  • Cleaning up test or temporary folders on a scheduled basis.
  • Integrating with other nodes to remove folders based on certain conditions.

Properties

Name Type Meaning
Id Number ID of the folder to delete (required).

Output

  • The output will typically be a JSON object indicating the result of the deletion operation. This may include:
    • Confirmation of successful deletion.
    • Any error messages if the folder could not be deleted.

Example output:

{
  "success": true,
  "message": "Folder deleted successfully."
}

Note: Actual output structure may vary depending on the API response.

Dependencies

  • External Service: Requires access to the AvantGuard Hudu API.
  • API Key/Credentials: You must configure the avantguardHuduApi credentials in n8n, including the baseUrl.
  • n8n Configuration: Ensure that the credentials are set up and the base URL points to your Hudu instance.

Troubleshooting

  • Common Issues:

    • Invalid or missing folder ID: Ensure the "Id" property is set to a valid folder ID.
    • Authentication errors: Check that your API credentials (avantguardHuduApi) are correct and have sufficient permissions.
    • Network or connectivity issues: Make sure n8n can reach the Hudu API endpoint.
  • Common Error Messages:

    • "Folder not found": The specified folder ID does not exist. Double-check the ID.
    • "Unauthorized": Your API credentials are incorrect or lack permission. Update your credentials.
    • "Failed to delete folder": There may be dependencies or restrictions preventing deletion. Review folder usage and try again.

Links and References

Discussion