Uadezap icon

Uadezap

Consume Uadezap API

Overview

This node integrates with the Uadezap API to send various types of messages via WhatsApp, focusing here on sending documents. It allows users to send a document file to a specified phone number either by providing a URL or a Base64-encoded string representing the document content. This is useful for automating the distribution of files such as PDFs, Word documents, or any other supported file type directly through WhatsApp.

Common scenarios include:

  • Sending invoices, contracts, or reports automatically to clients.
  • Distributing product manuals or brochures.
  • Sharing certificates or official documents in bulk.

Example: Automatically send a PDF invoice to a customer’s WhatsApp number after a purchase is completed.

Properties

Name Meaning
Number The recipient's phone number in international format (e.g., 5522999999999).
Document The document to send, provided as a URL or a Base64-encoded string representing the file.
Filename The name of the file to be used for the document attachment (optional).
Caption A caption or message to accompany the document (optional).

Output

The node outputs the response from the Uadezap API call in the json field of each item. This typically contains confirmation details about the sent message, such as message ID, status, or error information if the sending failed.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the Uadezap API.
  • Needs an API authentication token configured in the node credentials.
  • The base URL for the API must be set in the credentials configuration.

Troubleshooting

  • Invalid phone number format: Ensure the phone number is in the correct international format without spaces or special characters.
  • Document not accessible: If using a URL, verify that the document URL is publicly accessible and correctly formatted.
  • Base64 encoding issues: When sending Base64 strings, ensure the encoding is correct and complete.
  • Missing required fields: The node requires at least the phone number and document properties; missing these will cause errors.
  • API authentication errors: Check that the API key/token is valid and has the necessary permissions.
  • File size limits: Large documents might be rejected by the API; check Uadezap API documentation for size restrictions.

Links and References

  • Uadezap API Documentation (example link, replace with actual)
  • WhatsApp Business API general guidelines for sending media messages
  • n8n documentation on creating custom nodes and handling HTTP requests

Discussion