WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage various resources related to business operations, including employees. Specifically, the "Add Employee" operation allows users to add a new employee record to a specified website within the WibiClick system.

Common scenarios for this node include automating employee management workflows such as onboarding new employees by programmatically adding their details into the system. For example, when a new hire is added in an HR system, this node can be used to sync that data into WibiClick automatically.

Practical example:

  • Automatically add new employee details (name, email, phone, location, description) to a website's employee list in WibiClick after receiving input from another system or form submission.

Properties

Name Meaning
Website ID The unique identifier of the website where the employee will be added.
Employee Data A collection of fields describing the employee to add, including:
- Description: Textual description of the employee
- Email: Employee's email address
- First Name: Employee's first name
- Last Name: Employee's last name
- Location: Physical or work location of the employee
- Phone: Employee's phone number

Output

The output JSON contains the response from the WibiClick API after attempting to add the employee. It typically includes the newly created employee object with its details and any metadata returned by the API.

Example output structure:

{
  "json": {
    "id": "employee-id",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "phone": "1234567890",
    "location": "Office 1",
    "description": "Senior technician"
  }
}

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 external dependencies beyond the WibiClick API and n8n's HTTP request helper.

Troubleshooting

  • Missing or invalid Website ID: Ensure the Website ID provided is correct and corresponds to an existing website in WibiClick.
  • Invalid or incomplete employee data: Required fields like first name or email should be properly filled; otherwise, the API may reject the request.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • API errors: If the API returns an error, the node will throw an error unless "Continue On Fail" is enabled, in which case it outputs the error message in the JSON.
  • Network issues: Connectivity problems to the WibiClick API endpoint will cause failures; check network access and API availability.

Links and References

Discussion