AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

The AvantGuard - Hudu node's "Get Folders" operation under the "Folders" resource retrieves a list of folders from the Hudu API. This is useful for automating workflows that need to access, filter, or process folder data stored in Hudu, such as syncing folder structures, generating reports, or integrating with other systems.

Practical examples:

  • Fetching all folders to display them in a dashboard.
  • Filtering folders by company or name for targeted processing.
  • Paginating through large sets of folders for batch operations.

Properties

Name Type Meaning
Additional Query Parameters Collection Optional query parameters to refine the folder search. Contains the following fields:
└─ Name String Filter folders by their name.
└─ Company Id Number Filter folders belonging to a specific company by its ID.
└─ In Company Boolean When true, only returns company-specific knowledge base articles.
└─ Page Number The page number of results to retrieve (for pagination).
└─ Page Size Number The number of results to return per page (for pagination).

Output

The node outputs a JSON array where each item represents a folder retrieved from the Hudu API. Each folder object typically contains properties such as:

{
  "id": 123,
  "name": "Folder Name",
  "company_id": 456,
  // ...other folder-specific fields
}

Note: The exact structure depends on the Hudu API's response for the folders endpoint.

Dependencies

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

Troubleshooting

  • Invalid Credentials:
    Error: Authentication failed or invalid API key.
    Resolution: Check and update your Hudu API credentials in n8n.

  • Missing Base URL:
    Error: Base URL not provided or incorrect.
    Resolution: Ensure the baseUrl field in your credentials points to your Hudu instance.

  • No Results Returned:
    Possible Cause: Filters (e.g., Name, Company Id) are too restrictive.
    Resolution: Adjust or remove filters to broaden the search.

  • Pagination Issues:
    Error: Unexpected number of results or missing pages.
    Resolution: Verify the values for "Page" and "Page Size" parameters.

Links and References

Discussion