Wazend API icon

Wazend API

Wazend API (WhatsApp HTTP API).

Enviar contacto

AI-generated

Overview

This node integrates with the Wazend API to send various types of WhatsApp messages, including text, images, files, videos, voice messages, locations, contacts, lists, polls, and reactions. It is useful for automating WhatsApp communications in workflows, such as sending contact cards to users, sharing multimedia content, or interacting with messages via reactions. For example, it can send a contact card with a name and phone number to a specified chat ID.

Use Case Examples

  1. Sending a contact card to a WhatsApp chat by specifying the contact's name and phone number along with the chat ID.
  2. Automating the sending of multimedia messages like images or videos to users in a WhatsApp group or individual chat.
  3. Reacting to a specific WhatsApp message with an emoji reaction.

Properties

Name Meaning
Sesión Name of the session associated with the API key, used to identify the WhatsApp session for sending messages.
Chat ID The WhatsApp chat identifier where the contact or message will be sent, e.g., '11111111111@c.us'.
Nombre Full name of the contact to be sent in the contact card.
Número de teléfono Phone number of the contact to be sent in the contact card.

Output

JSON

  • json - Response from the Wazend API after sending the contact or other message type, containing details of the operation result.

Dependencies

  • Requires an API key credential for the Wazend API to authenticate requests.

Troubleshooting

  • Ensure the session name matches the one associated with the API key to avoid authentication errors.
  • Verify that the chat ID is correctly formatted (e.g., '11111111111@c.us') to prevent message delivery failures.
  • When sending JSON objects (e.g., for lists or polls), ensure the JSON is valid to avoid parsing errors.
  • Check network connectivity and API base URL configuration if requests fail.

Discussion