AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to unarchive a specific Asset belonging to a Company in the AvantGuard Hudu system. It is useful in scenarios where an asset has previously been archived (made inactive or hidden) and needs to be restored to active status. For example, if a company accidentally archives an important asset, this node can be used to quickly unarchive it via automation.

Practical Example:

  • Automatically unarchive assets when certain conditions are met in your workflow (e.g., after a review process).
  • Restore access to assets that were archived due to inactivity but are now needed again.

Properties

Name Type Meaning
Id Number The identifier of the requested Asset to be unarchived.
Company Id Number The identifier of the parent Company for the Asset.

Output

The output will contain the JSON response from the AvantGuard Hudu API after attempting to unarchive the specified asset. The structure typically includes details about the asset, such as its current status and identifiers. The exact fields depend on the API's response schema, but you can expect information confirming the asset's unarchived state.

Dependencies

  • External Service: Requires access to the AvantGuard Hudu API.
  • API Credentials: You must configure the avantguardHuduApi credential in n8n, which should include the base URL and authentication details for the Hudu instance.
  • n8n Configuration: Ensure the credentials are set up in your n8n instance under the name avantguardHuduApi.

Troubleshooting

  • Common Issues:

    • Invalid Asset or Company ID: If the provided IDs do not exist, the API may return a "Not Found" error.
    • Missing Credentials: If the required credentials are not configured, the node will fail to connect to the API.
    • Permission Denied: If the API key does not have permission to unarchive assets, you may receive a "Forbidden" or "Unauthorized" error.
  • Error Messages & Resolutions:

    • "Asset not found": Check that the Id and Company Id are correct and refer to existing records.
    • "Invalid credentials": Verify that the avantguardHuduApi credential is correctly set up in n8n.
    • "Permission denied": Ensure your API user has sufficient rights to perform unarchive operations.

Links and References

Discussion