WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to perform various operations across multiple resources, including WhatsApp. Specifically, for the WhatsApp resource and the Check if Number Is on WhatsApp operation, the node allows you to verify whether a given phone number is registered on WhatsApp.

This functionality is useful in scenarios where you want to validate contact numbers before sending messages or documents via WhatsApp, ensuring that your communications reach valid WhatsApp users only. For example, before sending a promotional message or customer support notification, you can check if the recipient's number is active on WhatsApp.

Properties

Name Meaning
Website ID The unique identifier of the website associated with the WhatsApp instance.
To The phone number to check for WhatsApp registration.

Output

The output JSON contains the response from the WibiClick API indicating whether the specified phone number is registered on WhatsApp. The exact structure depends on the API response but typically includes a boolean or status field confirming the presence or absence of the number on WhatsApp.

Example output snippet:

{
  "isOnWhatsApp": true,
  "phoneNumber": "+1234567890"
}

(Note: The actual fields depend on the API response and are passed through as-is.)

Dependencies

  • Requires an API key credential for authenticating with the WibiClick API.
  • The node makes HTTP POST requests to the endpoint /onwhatsapp of the WibiClick API.
  • The websiteId parameter must be provided to identify the relevant website context.
  • No additional environment variables are required beyond the API key credential.

Troubleshooting

  • Invalid or missing API key: Ensure that the API key credential is correctly configured in n8n; otherwise, authentication will fail.
  • Incorrect Website ID: Providing an invalid or incorrect website ID may cause the API to reject the request or return no data.
  • Malformed phone number: The phone number should be in the correct international format expected by the API; otherwise, the check might fail or return false negatives.
  • API errors: If the API returns an error, it will be thrown as a node error unless "Continue On Fail" is enabled, in which case the error message will be included in the output JSON under the error field.

Links and References

  • WibiClick API Documentation (Assumed URL; replace with actual if known)
  • WhatsApp Business API documentation for understanding phone number validation (for general context)

This summary focuses solely on the "WhatsApp" resource and the "Check if Number Is on WhatsApp" operation as requested.

Discussion