HostBill icon

HostBill

Consume HostBill API (v.0.1.3)

Overview

This n8n custom node, HostBill, allows users to interact with the HostBill API. Specifically, for the Account resource and the Get operation, the node retrieves details of a specific account by its ID from the HostBill system. This is useful in automation scenarios where you need to fetch account information for further processing, reporting, or integration with other systems.

Practical examples:

  • Automatically retrieving account details when a new support ticket is created.
  • Fetching account data to enrich CRM records.
  • Validating account existence before performing billing operations.

Properties

Name Type Meaning
Account ID Number The unique identifier of the account to retrieve from HostBill. Required.

Output

The node outputs a JSON object (or an array of objects) containing the details of the requested account. The exact structure depends on the HostBill API response, but typically includes fields such as account name, contact information, status, and other relevant account attributes.

If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.

Dependencies

  • External Service: Requires access to a HostBill instance with API enabled.
  • API Credentials: Needs valid HostBill API credentials configured in n8n under the credential type hostBillApi.
  • n8n Configuration: No special environment variables required beyond standard credential setup.

Troubleshooting

Common Issues:

  • Invalid Account ID: If the provided Account ID does not exist, the node may return an error or an empty result.
  • Authentication Errors: Incorrect or missing API credentials will cause authentication failures.
  • Network Issues: Connectivity problems between n8n and the HostBill server can lead to timeouts or connection errors.

Error Messages:

  • "Invalid credentials": Check your HostBill API credentials in n8n.
  • "Account not found": Verify that the Account ID exists in HostBill.
  • "Network error": Ensure the HostBill server is reachable from your n8n instance.

Links and References

Discussion