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 Products" operation, this node retrieves a list of products associated with a given Orderpage ID from your HostBill instance. This is useful in automation scenarios where you need to fetch product information dynamically, such as syncing product catalogs, generating reports, or integrating HostBill data with other systems.
Example use cases:
- Automatically retrieve and process product lists for a specific order page.
- Sync HostBill products with an external inventory or e-commerce platform.
- Generate custom reports based on available products in HostBill.
Properties
Name | Type | Meaning |
---|---|---|
Orderpage ID | Number | The unique identifier of the order page whose products you want to retrieve. (Required) |
Output
The node outputs a JSON array containing the products retrieved from the specified order page. Each item in the output array represents a product and includes fields as returned by the HostBill API for the "Get Products" operation. The exact structure depends on the API response, but typically includes product details such as IDs, names, descriptions, prices, etc.
Example output:
[
{
"id": 123,
"name": "Product A",
"description": "Description of Product A",
"price": 49.99
// ...other product fields
},
{
"id": 124,
"name": "Product B",
"description": "Description of Product B",
"price": 29.99
// ...other product fields
}
]
Dependencies
- External Service: Requires access to a HostBill instance with API enabled.
- API Credentials: You must configure valid
hostBillApi
credentials in n8n. - n8n Configuration: No additional environment variables are required beyond standard credential setup.
Troubleshooting
- Invalid Credentials: If the provided HostBill API credentials are incorrect or lack necessary permissions, the node will throw an authentication error. Ensure your credentials are correct and have access to the required resources.
- Missing or Invalid Orderpage ID: If the "Orderpage ID" is missing or does not correspond to an existing order page, the node may return an empty result or an error message from the HostBill API.
- API Connection Issues: Network problems or incorrect HostBill API endpoint configuration can cause connection errors.
- Error Handling: If an error occurs during execution and "Continue On Fail" is enabled, the node will output an object with an
error
field containing the error message for that item.