WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

The node interacts with the WibiClick API to manage various resources including settings, notes, jobs, contacts, employees, estimates, invoices, line items, websites, WhatsApp messages, users, technicians, tasks, and suppliers. Specifically for the Setting resource with the Add Setting operation, this node allows you to add a new setting configuration to a specified website by sending detailed setting data to the API.

This is useful in scenarios where you want to programmatically configure or extend website settings such as contact information, branding options, communication channels, financial details, and other customizable fields without manual intervention. For example, you can automate adding or updating company contact details, default messaging templates, or UI customization options for a website.

Properties

Name Meaning
Website ID The unique identifier of the website to which the setting will be added.
Setting Data A collection of fields representing the setting details to add. These include:
- Account Name, Number, Type
- Address lines 1 & 2
- Bank and Branch Code
- Default message bodies (SMS, WhatsApp, Email)
- Booking form URL
- Company name, slogan, email, phone numbers
- Logos for estimates and invoices
- Estimate and invoice numbering
- Various toggles to show/hide communication options (WhatsApp, Messenger, Skype, etc.)
- Color code for styling
- Position of widgets
- Google Ads tracking IDs and labels
- Postal code, city, state, country
- Other miscellaneous fields like label text, line info, total value

The "Setting Data" property supports many optional fields that allow comprehensive customization of website settings.

Output

The output JSON contains the response from the WibiClick API after attempting to add the setting. Typically, it includes confirmation of success and the details of the newly added setting as returned by the API.

Example output structure:

{
  "json": {
    // API response object confirming the added setting
  }
}

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 API endpoints.
  • No additional environment variables are explicitly required beyond the API key credential.

Troubleshooting

  • Invalid or missing Website ID: Ensure the Website ID provided is correct and corresponds to an existing website in WibiClick.
  • API Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Malformed Setting Data: Make sure the setting data fields conform to expected types and formats; invalid fields may cause the API to reject the request.
  • Network issues: Check connectivity to the WibiClick API endpoint.
  • API errors: If the API returns an error, the node throws an error with the message from the API. Review the error message for clues on what went wrong.

If the node is set to continue on failure, it will output an object with success: false and the error message instead of stopping execution.

Links and References

  • WibiClick API Documentation (Assumed, please replace with actual link if available)
  • n8n documentation on HTTP Request Node for understanding how API calls are made.
  • General best practices for API authentication and error handling in n8n workflows.

Discussion