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, when using the Service resource and the Get Product Details operation, this node retrieves detailed information about a specific product in your HostBill system by its Product ID. This is useful for automating workflows that require product data, such as synchronizing product catalogs, generating reports, or integrating HostBill products with other systems.
Example scenarios:
- Fetching product details to display in dashboards.
- Using product information in automated billing or provisioning processes.
- Integrating HostBill product data with external inventory or CRM systems.
Properties
Name | Type | Meaning |
---|---|---|
Product ID | Number | The unique identifier of the product whose details you want to retrieve from HostBill. |
Output
The node outputs a JSON object (or an array of objects) containing the details of the requested product. The exact structure depends on the HostBill API response for the "Get Product Details" operation, but typically includes fields such as product name, description, pricing, and other relevant 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.
- Credentials: Needs valid HostBill API credentials configured in n8n under the name
hostBillApi
. - Environment Variables/Configuration: None specified beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid Credentials: If the provided HostBill API credentials are incorrect or lack necessary permissions, authentication errors will occur.
- Product Not Found: Supplying a non-existent Product ID may result in an error or empty response.
- API Connectivity: Network issues or incorrect HostBill API endpoint configuration can cause connection failures.
Error Messages:
"Cannot read property 'execute' of undefined"
: Likely due to misconfiguration or missing dependencies."Product not found"
: The Product ID does not exist in HostBill."Authentication failed"
: Check your HostBill API credentials.
Resolution Steps:
- Double-check the Product ID value.
- Ensure HostBill API credentials are correct and have sufficient permissions.
- Verify network connectivity between n8n and HostBill.