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 integrates with the WibiClick API to manage various resources such as jobs, contacts, employees, invoices, and more. Specifically for the Job resource and the Update Callout Fee operation, it allows users to update the callout fee associated with a particular job by specifying the job ID and the new fee amount.
This operation is useful in scenarios where the cost related to a job's callout fee needs adjustment after the job has been created, such as when additional charges apply or discounts are given. For example, a service company might use this node to update the callout fee after assessing the actual time or distance traveled.
Properties
| Name | Meaning |
|---|---|
| Job ID | The unique identifier of the job to update. This is required to specify which job's callout fee will be changed. |
| Callout Fee | The new numeric value for the callout fee to set on the specified job. |
Output
The output JSON object contains the response from the WibiClick API after attempting to update the callout fee. Typically, it includes confirmation details about the updated job or the updated fee. The exact structure depends on the API response but generally confirms success or failure of the update.
Example output JSON snippet:
{
"json": {
// API response confirming the update, e.g.:
"success": true,
"updatedJob": {
"id": "job-id",
"calloutFee": 50
}
}
}
No binary data output is involved in this operation.
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.
- Proper configuration of the API URL and API key in the node credentials is necessary.
Troubleshooting
- Invalid Job ID: If the provided Job ID does not exist or is incorrect, the API may return an error or no update will occur. Verify the Job ID before running the node.
- Authentication Errors: Ensure that the API key credential is valid and has sufficient permissions to update job details.
- API Endpoint Issues: Network issues or changes in the WibiClick API endpoint could cause failures. Check connectivity and API status.
- Invalid Callout Fee: The callout fee must be a valid number. Non-numeric or negative values might cause errors.
- Error Messages: The node throws errors if the API response indicates failure. Common messages include "Failed to update callout fee" or HTTP errors. Review the error message and verify input parameters.
Links and References
- WibiClick API Documentation (Assumed, please replace with actual URL)
- n8n Documentation on Creating Custom Nodes
- General REST API usage guidelines for troubleshooting HTTP request issues