Uzapi icon

Uzapi

Interage com a API da Uzapi (WhatsApp)

Overview

This node integrates with the Uzapi API to interact with WhatsApp messaging services. It allows sending various types of messages, including audio files, images, text, videos, and links, directly through WhatsApp by specifying the recipient's phone number and message content.

A common use case is automating customer communication via WhatsApp, such as sending notifications, alerts, or multimedia messages (like audio clips) to users. For example, a business could automatically send an audio confirmation message after a customer places an order.

The "Enviar Áudio" operation specifically enables sending an audio file to a specified WhatsApp number, optionally including a description or caption for the audio.

Properties

Name Meaning
Número (com DDI) Destination phone number in international format, e.g., 5511999998888
Descrição Description or caption of the audio file being sent
Link URL link to the audio file to be sent

Output

The node outputs JSON data representing the response from the Uzapi API after attempting to send the audio message. This typically includes status information about the message delivery, such as success confirmation or error details.

If the node supports binary data output (not explicitly shown here), it would represent any returned media or files related to the operation, but for sending audio, the main output is the JSON response confirming the action.

Dependencies

  • Requires an active Uzapi API account with valid credentials (an API key or token).
  • The node depends on the Uzapi API endpoint URL configured in the credentials.
  • Network access to the Uzapi service is necessary.
  • No additional external libraries beyond those bundled are required.

Troubleshooting

  • Common issues:
    • Invalid or missing phone number format can cause message sending failures.
    • Incorrect or expired API credentials will result in authentication errors.
    • Providing an invalid or inaccessible audio file URL will prevent the message from being sent.
  • Error messages:
    • "Operation \"Enviar Áudio\" não implementada" indicates the requested operation is not supported; ensure the correct operation name is used.
    • Authentication errors suggest checking the API key/token validity.
    • Network or timeout errors may require verifying internet connectivity or Uzapi service status.

Links and References

  • Uzapi Official Website — for API documentation and account setup.
  • WhatsApp Business API documentation — for understanding message formats and limitations.

Discussion