WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

The node integrates with the WibiClick API to manage various resources such as websites, contacts, jobs, employees, invoices, and more. Specifically for the Website resource with the Get Visitors operation, it retrieves visitor data for a specified website. This operation supports pagination through limit and offset parameters.

This node is beneficial in scenarios where you want to analyze or monitor website traffic directly within an n8n workflow, enabling automation based on visitor data. For example, you could fetch recent visitors to trigger marketing campaigns or generate reports on website engagement.

Properties

Name Meaning
Website ID The unique identifier of the website for which to retrieve visitor data.
Limit Maximum number of visitor records to return.
Offset Number of visitor records to skip (used for pagination).

Output

The output JSON contains visitor information retrieved from the WibiClick API under the json field. The structure includes a visitors array where each visitor object has at least the following fields:

  • views: Number of views by the visitor (defaults to 0 if missing).
  • clicks: Number of clicks by the visitor (defaults to 0 if missing).

The node ensures that these two fields are always present by mapping over the visitors and setting default values if necessary.

Example output snippet:

{
  "visitors": [
    {
      "id": "visitor1",
      "views": 5,
      "clicks": 2,
      "otherVisitorData": "..."
    },
    {
      "id": "visitor2",
      "views": 0,
      "clicks": 0,
      "otherVisitorData": "..."
    }
  ]
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the WibiClick API.
  • The node uses HTTP requests to communicate with the WibiClick API endpoints.
  • No additional external dependencies beyond standard n8n helper methods and the configured API credentials.

Troubleshooting

  • Invalid Website ID: If the provided Website ID is incorrect or does not exist, the API may return an error or empty results. Verify the Website ID is correct.
  • API Authentication Errors: Ensure the API key credential is valid and has the necessary permissions.
  • Pagination Issues: Using very high limits or offsets might result in large responses or empty pages. Adjust limit and offset accordingly.
  • Empty Visitor Data: If no visitors are returned, confirm that the website has recorded visitor activity in the WibiClick system.

Common error messages come from the API and are wrapped as node errors. They typically indicate issues like invalid parameters, authentication failure, or server errors.

Links and References


This summary focuses exclusively on the Website resource and the Get Visitors operation as requested.

Discussion