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 Order resource and the Get operation, this node retrieves details about a specific order from your HostBill system by its unique ID. This is useful in automation scenarios where you need to fetch order information for further processing, reporting, or integration with other systems.
Example use cases:
- Retrieve order details to send a confirmation email.
- Fetch order data to update records in another system.
- Use order information as part of a workflow for billing or support.
Properties
Name | Type | Meaning |
---|---|---|
Order ID | Number | The unique identifier of the order you want to retrieve from HostBill. |
Output
The output will be a JSON object (or an array of objects) containing the details of the requested order. The exact structure depends on the HostBill API response, but typically includes fields such as order ID, status, customer information, items, and timestamps.
If an error occurs and "Continue On Fail" is enabled, the output may include an error
field with the error message.
Dependencies
- External Service: Requires access to a HostBill instance with API enabled.
- API Credentials: You must configure valid HostBill API credentials in n8n under the name
hostBillApi
. - n8n Configuration: No special environment variables are required beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid Credentials: If the API credentials are incorrect or missing, the node will throw an authentication error.
- Order Not Found: If the provided Order ID does not exist, the API may return an error indicating the order was not found.
- Network Issues: Connectivity problems between n8n and HostBill can cause request failures.
Error Messages:
"Invalid credentials"
: Check your HostBill API key and secret."Order not found"
: Verify that the Order ID exists in your HostBill system."Request failed with status code XXX"
: Indicates an HTTP error; check network connectivity and API endpoint configuration.