1Click.AI WP icon

1Click.AI WP

Interage com o WhatsApp (Envio de Mensagens)

Overview

This node integrates with WhatsApp to send messages to individual contacts or groups. It is useful for automating WhatsApp communications, such as sending notifications, alerts, or marketing messages directly from an n8n workflow. For example, a user can send a custom message to a specific phone number or group ID on WhatsApp automatically when triggered by other workflow events.

Use Case Examples

  1. Send a reminder message to a customer via WhatsApp.
  2. Broadcast a promotional message to a WhatsApp group.
  3. Notify a team via WhatsApp when a workflow completes.

Properties

Name Meaning
Mensagem The text message content to be sent via WhatsApp.
ID Destino (Com @s.whatsapp.net Ou @g.us) The WhatsApp ID of the recipient, which can be an individual number with '@s.whatsapp.net' or a group ID with '@g.us'.

Output

JSON

  • success - Indicates whether the message was sent successfully (true or false).
  • jid - The WhatsApp ID of the message recipient.
  • message - The text message that was attempted to be sent.
  • info - Additional information about the message sending status.
  • error - Error message if sending failed (only present when success is false).

Dependencies

  • Requires an API key credential for 1Click.AI service to authenticate and send WhatsApp messages.

Troubleshooting

  • Invalid API key error: The node verifies the API key using JWT. If the key is invalid, it throws an error prompting to acquire a valid key from https://1click.ai/vipclub.
  • Message sending failure: Errors during sending are caught and logged. The output will indicate failure with an error message. Check network connectivity and WhatsApp ID format.
  • Ensure the recipient ID includes the correct suffix '@s.whatsapp.net' for individuals or '@g.us' for groups to avoid sending errors.

Links

  • 1Click.AI VIP Club - Website to acquire a free API key for using the 1Click.AI WhatsApp messaging service.

Discussion