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 Client resource and the Verify Login operation, this node verifies a client's login credentials (email and password) against your HostBill system. This is useful in scenarios where you need to automate authentication checks, such as validating user access before proceeding with further workflow steps or integrating HostBill client verification into onboarding processes.
Example use cases:
- Automating user login validation during support workflows.
- Integrating HostBill authentication into custom portals or dashboards.
- Pre-checking client credentials before performing sensitive operations.
Properties
| Name | Type | Meaning |
|---|---|---|
| String | The email address of the client whose login is being verified. | |
| Password | String | The password associated with the provided client email for verification. |
Output
The output will be a JSON object (or array of objects if multiple items are processed). The structure of the output depends on the response from the HostBill API for the "Verify Login" operation. Typically, it may include fields indicating whether the login was successful, error messages, or additional client details if authentication succeeds.
If an error occurs and "Continue On Fail" is enabled, the output will contain an error field with the error message.
Example output:
[
{
"success": true,
"clientId": 1234,
"message": "Login verified"
}
]
or, in case of failure:
[
{
"error": "Invalid email or password"
}
]
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 required beyond standard credential setup.
Troubleshooting
Common Issues:
- Invalid Credentials: If the email or password is incorrect, the node will return an error message such as
"Invalid email or password". - Missing Credentials: If the
hostBillApicredentials are not set up or are invalid, the node will fail to connect. - API Connection Errors: Network issues or incorrect API endpoint configuration can cause connection failures.
- Invalid Credentials: If the email or password is incorrect, the node will return an error message such as
Error Handling:
- If "Continue On Fail" is enabled, errors for individual items will be returned in the output with an
errorfield. - If not enabled, the node will stop execution on the first error encountered.
- If "Continue On Fail" is enabled, errors for individual items will be returned in the output with an
