WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage various resources related to websites, customers, jobs, contacts, employees, invoices, estimates, tasks, suppliers, settings, WhatsApp messages, and users. Specifically for the Contact resource with the Delete operation, it deletes a customer record from a specified website by using the provided Website ID and Customer ID.

Common scenarios where this node is beneficial include automating customer data management workflows such as removing outdated or incorrect customer records from a website's database. For example, when a customer unsubscribes or requests data deletion, this node can be used to programmatically delete their contact information.

Properties

Name Meaning
Website ID The unique identifier of the website from which the customer/contact will be deleted.
Customer ID The unique identifier of the customer/contact to delete from the specified website.

Output

The output JSON contains the response from the WibiClick API after attempting to delete the customer. It typically includes success status and any relevant messages returned by the API. The exact structure depends on the API response but generally confirms whether the deletion was successful.

Example output JSON:

{
  "success": true,
  "message": "Customer deleted successfully"
}

or in case of failure:

{
  "success": false,
  "error": "Error message describing the failure"
}

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

  • Missing Required Parameters: Ensure both Website ID and Customer ID are provided; otherwise, the API call will fail.
  • Authentication Errors: Verify that the API key credential is valid and has sufficient permissions.
  • API Endpoint Errors: If the customer does not exist or the Website ID is invalid, the API may return errors indicating the resource was not found.
  • Network Issues: Connectivity problems can cause request failures; check network access to the WibiClick API.
  • Error Handling: If the node is set to continue on fail, errors will be returned in the output JSON; otherwise, execution will stop with an error.

Common error messages:

  • "Failed to delete customer": Indicates the API did not confirm deletion; verify IDs and permissions.
  • "Unauthorized": Invalid or missing API key.
  • "Customer not found": The specified customer ID does not exist for the given website.

Links and References


This summary focuses exclusively on the Contact resource's Delete operation as requested, based on static analysis of the provided source code and property definitions.

Discussion