N8N Tools - Uazapi icon

N8N Tools - Uazapi

Complete Uazapi integration - Premium WhatsApp API with advanced messaging and automation

Overview

This node integrates with a premium WhatsApp API service to send various types of media messages, including stickers, through WhatsApp. Specifically, the Send Sticker operation under the Media resource allows users to send sticker messages to WhatsApp contacts by specifying the recipient's phone number and the sticker media URL or base64 data.

Common scenarios where this node is beneficial include:

  • Automating customer engagement by sending branded or custom stickers as part of marketing campaigns.
  • Enhancing chatbot interactions with expressive sticker responses.
  • Sending personalized multimedia content in customer support workflows.

For example, a business could automatically send a thank-you sticker after a customer completes a purchase or use stickers to confirm appointment bookings.

Properties

Name Meaning
Phone Number WhatsApp number of the recipient including country code (e.g., 5511999999999).
Media URL URL or base64 string of the sticker media file to be sent.
Additional Fields Optional parameters:
• Reply to Message ID: ID of a message to reply to.
• Delay (seconds): Wait time before sending.
• Disable Link Preview: Whether to disable link previews.
• Mention Users: Comma-separated phone numbers to mention in the message.

Output

The node outputs a JSON object containing the response from the WhatsApp API proxy service. This typically includes details about the message delivery status, message IDs, timestamps, or error information if the request failed.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "messageId": "string",
  "status": "sent",
  "timestamp": "2024-06-01T12:00:00Z",
  "details": { ... }
}

Dependencies

  • Requires an active connection to the premium WhatsApp API service via an API key credential.
  • Needs configuration of API URL, authentication token, and instance ID within the node credentials.
  • The node sends requests through a proxy endpoint hosted at https://n8ntools.io/api/v1/proxy/uazapi.
  • Proper network access to both the proxy and the WhatsApp API endpoints is necessary.

Troubleshooting

  • Invalid Phone Number Format: Ensure the phone number includes the country code without any special characters or spaces.
  • Media URL Issues: The sticker media URL must be accessible and in a supported format; base64 encoding is also accepted.
  • API Authentication Errors: Verify that the API key and tokens are correctly configured and have not expired.
  • Message Delivery Failures: Check for rate limits or restrictions on the WhatsApp API side; also verify the instance ID is correct.
  • Delay Parameter Misuse: If using delay, ensure it is a non-negative number; negative values may cause unexpected behavior.
  • Mention Users Formatting: When mentioning users, provide valid comma-separated phone numbers.

If errors occur, the node returns error messages in the output JSON under an error field, which can help diagnose issues.

Links and References

Discussion