Wazend API icon

Wazend API

Wazend API (WhatsApp HTTP API).

Enviar archivo

AI-generated

Overview

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

Use Case Examples

  1. Sending a generic file to a WhatsApp chat by specifying the chat ID, file details (MIME type, filename, URL), optional caption, and session name.
  2. Sending a text message with optional reply-to message ID and link preview options.
  3. Sending an image or video file with caption and reply-to message ID.

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 archivo.
Archivo (Genérico) Detalles del archivo a enviar, incluyendo MIME type, filename y URL.
Responder a (messageId) ID del mensaje al que se responde (opcional).
Caption Texto de leyenda para acompañar el archivo enviado.

Output

JSON

  • json - Respuesta JSON de la API Wazend tras enviar el archivo.

Dependencies

  • Wazend API (WhatsApp HTTP API)

Troubleshooting

  • Error de autenticación si la API key o sesión no son válidas o están mal configuradas.
  • Error de formato JSON inválido al enviar listas o encuestas si el JSON no es válido.
  • Errores de URL o MIME type incorrectos para archivos que impiden la carga correcta del archivo.
  • Errores de chat ID inválido o no existente en WhatsApp.

Links

Discussion