WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to perform various operations across multiple resources. Specifically, for the WhatsApp resource and the Send WhatsApp Document operation, it allows sending a document file via WhatsApp to a specified phone number.

Typical use cases include automating the delivery of documents such as invoices, contracts, or reports directly to clients or contacts through WhatsApp messaging. For example, a business could automatically send a PDF invoice to a customer after a purchase or dispatch a contract document for signature.

Properties

Name Meaning
Website ID The unique identifier of the website associated with the WhatsApp instance.
To The recipient's phone number to which the WhatsApp document will be sent.
File The document file content encoded as a base64 string.
Filename The name of the file being sent (e.g., "invoice.pdf").

Output

The output JSON contains a response field that holds the API response from the WibiClick service after attempting to send the WhatsApp document. This typically includes status information about the message delivery.

Example output structure:

{
  "response": {
    // API response details about the sent WhatsApp document
  }
}

The node does not output binary data; the file is sent as base64-encoded input.

Dependencies

  • Requires an active connection to the WibiClick API.
  • Needs an API key credential configured in n8n for authentication with the WibiClick service.
  • Uses HTTP POST requests with multipart/form-data encoding to send the document.
  • The node depends on the form-data and buffer libraries internally to handle file uploads.

Troubleshooting

  • Invalid or missing API key: Ensure the API key credential is correctly set up and valid.
  • Incorrect Website ID: Verify that the Website ID corresponds to a valid WibiClick website instance.
  • Malformed base64 file string: Confirm that the file content is properly base64 encoded.
  • File size limits: Large files might be rejected by the API; check WibiClick documentation for size restrictions.
  • Phone number format: The "To" phone number must be in the correct international format accepted by WhatsApp.
  • API errors: If the API returns an error, the node will throw an error unless "Continue On Fail" is enabled, in which case the error message will be included in the output JSON.

Links and References

Discussion