Hudu icon

Hudu

Interact with Hudu REST API

Overview

This node integrates with the Hudu REST API, allowing users to perform various operations on different resources within Hudu. Specifically, for the Company resource with the Get operation, it retrieves detailed information about a single company by its unique ID. This is useful in scenarios where you need to fetch company details for reporting, automation workflows, or syncing data with other systems.

For example, you might use this node to:

  • Retrieve a company's profile before updating related records in a CRM.
  • Fetch company details to display in a dashboard.
  • Automate notifications or actions based on company attributes.

Properties

Name Meaning
Company ID The unique numeric identifier of the company to retrieve.

Output

The node outputs an array of JSON objects representing the company data retrieved from the Hudu API. Each object contains the full details of the requested company, including all fields provided by the API for that company.

If the node supports binary data output (not indicated here), it would typically represent attachments or files related to the company, but this is not applicable for the Get operation on companies.

Dependencies

  • Requires an active connection to the Hudu REST API.
  • Needs an API key credential configured in n8n to authenticate requests.
  • The base URL for the Hudu API must be set in the node credentials.
  • No additional external dependencies are required beyond the API access.

Troubleshooting

  • Common issues:

    • Invalid or missing Company ID: Ensure the Company ID is provided and is a valid number.
    • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
    • Network or API endpoint errors: Check the base URL and network connectivity to the Hudu API.
  • Error messages:

    • "The resource "companies" is not known!" — This indicates an invalid resource parameter; ensure "companies" is selected as the resource.
    • API errors returned from Hudu will be passed through; check the error message for details such as "Not Found" if the company ID does not exist.
    • If continueOnFail is disabled, any error will stop execution; enabling it allows processing subsequent items despite errors.

Links and References

Discussion