Wazend API icon

Wazend API

Wazend API (WhatsApp HTTP API).

Enviar audio

AI-generated

Overview

This node integrates with the Wazend API to send various types of WhatsApp messages, including text, lists, polls, images, files, videos, voice messages, locations, contacts, and reactions. It is useful for automating WhatsApp communications in workflows, such as sending notifications, surveys, multimedia content, or interactive messages to specific chat IDs.

Use Case Examples

  1. Sending a voice message to a WhatsApp contact by specifying the chat ID and audio file URL.
  2. Sending a text message with link preview enabled to a WhatsApp chat.
  3. Sending an interactive list message or poll to engage users in a WhatsApp conversation.

Properties

Name Meaning
Sesión Nombre de la sesión asociada a la API key.
Chat ID Identificador del chat de WhatsApp al que se enviará el mensaje, por ejemplo, 11111111111@c.us.
Archivo (Audio) Archivo de audio a enviar, incluyendo MIME type y URL del archivo.
Responder a (messageId) ID del mensaje al que se desea responder (opcional).

Output

JSON

  • json - Respuesta JSON del API con el resultado del envío del mensaje.

Dependencies

  • Wazend API (WhatsApp HTTP API)

Troubleshooting

  • Error de autenticación si la API key o sesión no son válidas. Verificar credenciales y nombre de sesión.
  • Errores de formato JSON para operaciones que requieren objetos JSON (sendList, sendPoll). Asegurarse de que el JSON esté bien formado.
  • Errores de URL o MIME type incorrectos para archivos multimedia. Confirmar que las URLs sean accesibles y los MIME types correctos.
  • Errores de chat ID inválidos. Confirmar que el chat ID tenga el formato correcto, por ejemplo, 11111111111@c.us.

Links

Discussion