Actions92
- Contact Actions
- Employee Actions
- Estimate Actions
- Invoice Actions
- Job Actions
- Line Item Actions
- Note Actions
- Setting Actions
- Supplier Actions
- Task Actions
- Technician Actions
- User Actions
- Website Actions
- WhatsApp Actions
Overview
This node interacts with the WibiClick API to manage various resources related to business operations, including contacts, employees, estimates, invoices, jobs, line items, websites, WhatsApp messages, users, tasks, suppliers, and settings. Specifically, for the Line Item resource with the Remove Estimate Item operation, it removes a specified line item from an existing estimate.
This functionality is useful in scenarios where you need to dynamically update estimates by removing certain line items, such as when a customer changes their order or when correcting errors in an estimate. For example, if an estimate includes several products or services but one item needs to be removed before finalizing the estimate, this node operation facilitates that update via the API.
Properties
| Name | Meaning |
|---|---|
| Website ID | The unique identifier of the website associated with the estimate and line item. |
| Estimate ID | The unique identifier of the estimate from which the line item will be removed. |
| Line Item ID | The unique identifier of the line item to remove from the specified estimate. |
Output
The output JSON contains the response from the WibiClick API after attempting to remove the line item from the estimate. This typically includes confirmation of success or details about the updated estimate. The exact structure depends on the API response but generally confirms whether the removal was successful.
No binary data output is involved in this operation.
Example output snippet:
{
"json": {
"success": true,
"updatedEstimate": {
// Updated estimate details after removal of the line item
}
}
}
Dependencies
- Requires an active connection to the WibiClick API.
- Requires an API key credential for authentication with the WibiClick service.
- The node uses HTTP requests to communicate with the WibiClick API endpoints.
- No additional external dependencies are required beyond the configured API credentials.
Troubleshooting
- Invalid IDs: If the Website ID, Estimate ID, or Line Item ID is incorrect or does not exist, the API may return an error indicating the item could not be found. Verify all IDs are correct.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to modify estimates.
- Network Issues: Connectivity problems can cause request failures; check network access to the WibiClick API endpoint.
- API Limitations: The API might have rate limits or restrictions; consult the API documentation if requests fail repeatedly.
- Error Messages: The node throws errors with messages returned from the API. Common errors include "Failed to remove line item" or "Unauthorized". Review the error message for guidance.
Links and References
- WibiClick API Documentation (hypothetical link, replace with actual if available)
- n8n HTTP Request Node Documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
- General n8n Credential Setup: https://docs.n8n.io/credentials/overview/
This summary focuses on the Line Item - Remove Estimate Item operation as requested, based on static analysis of the provided source code and property definitions.