Actions39
- Client Actions
- Client Contact Actions
- Invoice Actions
- Order Actions
- Account Actions
- Service Actions
- Domain Actions
Overview
The HostBill node for n8n allows you to interact with the HostBill API, specifically to retrieve a list of clients using the "Client" resource and the "Get All" operation. This node is useful in scenarios where you need to automate the extraction of client data from your HostBill instance, such as syncing client lists with other systems, generating reports, or triggering workflows based on client information.
Example use cases:
- Fetching all clients from HostBill to update a CRM.
- Periodically exporting client data for backup or analysis.
- Integrating HostBill client records with marketing or support tools.
Properties
Name | Type | Meaning |
---|---|---|
Additional Fields | Collection | A set of optional parameters for the request. |
└ Page | Number | Which page of results to return (for pagination). Default is 1. |
Output
The node outputs an array of JSON objects, each representing a client retrieved from HostBill. The exact structure of each client object depends on the HostBill API response, but typically includes fields such as client ID, name, contact details, and other relevant attributes.
If an error occurs and "Continue On Fail" is enabled, the output will include an object with an error
field containing the error message.
Dependencies
- External Service: Requires access to a HostBill instance with API enabled.
- Credentials: You must configure the
hostBillApi
credentials in n8n. - Environment Variables: None specified, but your HostBill API URL and authentication details are required in the credentials.
Troubleshooting
Common Issues:
- Invalid Credentials: If the provided HostBill API credentials are incorrect, the node will throw an authentication error. Ensure your API key and endpoint are correct.
- API Connection Errors: Network issues or incorrect HostBill API URLs can cause connection failures.
- Pagination Issues: If the "Page" parameter is set incorrectly, you may receive empty results or miss some clients.
Error Messages:
"Cannot read property 'execute' of undefined"
: This may occur if the resource or operation is not supported. Double-check that you have selected valid options."Authentication failed"
: Indicates invalid API credentials."Request failed with status code XXX"
: The HostBill API returned an error; check the API documentation for the meaning of the status code.