WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

The node interacts with the WibiClick API to manage various resources including notes, jobs, contacts, employees, estimates, invoices, line items, websites, WhatsApp messages, users, technicians, tasks, suppliers, and settings. Specifically for the Setting resource with the Update Settings operation, this node updates website settings by sending new configuration data to the WibiClick API.

This node is beneficial in scenarios where you want to programmatically update the configuration or settings of a website managed via WibiClick, such as changing company information, contact details, branding options, or other customizable fields without manual intervention.

Example use case: Automatically updating the contact information and branding colors on a website when company details change, ensuring the website always displays current information.

Properties

Name Meaning
Website ID The unique identifier of the website whose settings are being updated.
Setting Data A collection of setting fields to update. These include:
- Account Name, Account Number, Account Type
- Address 1, Address 2
- Bank, Branch Code
- Body (default message body text)
- Booking Form URL
- City, Country
- Close Label (label for close button)
- Color Code (color code for styling)
- Company Name
- Currency Symbol
- Email
- Estimate Logo URL
- Estimate Number (current estimate number)
- Google Ads ID and Label
- ID (setting ID for updates)
- Insurance Number
- Invoice Logo URL
- Invoice Number (current invoice number)
- Label (text label)
- Line (line information)
- Messenger URL
- Phone Number, Phone Text
- Position (position of widget, e.g., right)
- Postal Code
- Show Book a Technician (boolean)
- Show Branding (boolean)
- Show Email, Show Google Analytics, Show Line, Show Messenger, Show Phone, Show Skype, etc. (booleans controlling visibility of features)
- Skype Name/Email
- Slogan
- SMS Body, SMS Phone Number
- State
- Subject (default subject)
- Telegram Number, Viber Number, WeChat, WhatsApp Instance, WhatsApp Message, WhatsApp Number
- Total (numeric total value)
- Track Google Ads (boolean)
- Website URL

Output

The output JSON contains the response from the WibiClick API after attempting to update the settings. This typically includes confirmation of success and may return the updated settings object or status information.

Example output structure:

{
  "success": true,
  "updatedSettings": {
    // Updated settings fields as returned by the API
  }
}

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

Troubleshooting

  • Common issues:

    • Invalid or missing Website ID will cause the API request to fail.
    • Incorrect or incomplete setting data may result in partial updates or errors.
    • Network connectivity issues can prevent successful API communication.
    • API key misconfiguration or expiration will lead to authorization errors.
  • Error messages:

    • "Failed to create note" (not relevant here but similar error patterns may appear if update fails).
    • HTTP errors from the API will be surfaced as node errors; check the error message for details.
    • Date format or validation errors do not apply directly here but ensure all string and boolean fields conform to expected formats.
  • Resolution tips:

    • Verify the Website ID is correct and corresponds to an existing website.
    • Ensure the API key credential is valid and has necessary permissions.
    • Validate all input fields before running the node.
    • Check network access to the WibiClick API endpoint.

Links and References


This summary focuses exclusively on the Setting resource and the Update Settings operation as requested.

Discussion