Wuzapi AI icon

Wuzapi AI

Send WhatsApp messages using Wuzapi - optimized for AI workflows

Overview

This node enables sending various types of WhatsApp messages through the Wuzapi service, optimized for AI workflows. It supports sending text, images, documents, audio, video, locations, contacts, stickers, buttons, lists, and polls to specified phone numbers.

A common use case is automating customer communication or notifications via WhatsApp, such as sending interactive button messages to users for quick responses or providing multimedia content like images or documents. For example, a business could send a message with buttons to let customers choose support options directly within WhatsApp.

The "Send Buttons" operation specifically allows sending a text message accompanied by interactive buttons, enhancing user engagement and enabling quick replies.

Properties

Name Meaning
Phone Number Target phone number in international format (without the "+" sign).
Message The text content of the message to send.
Additional Options Extra settings including:
• Message ID: Custom identifier for the message (auto-generated if empty).
• Mentions: Specify users to mention or mention all group members (for groups only).

Additional Options - Mentions sub-properties:

  • Mention Type: None, Specific Users, or All Group Members.
  • User JIDs: Comma-separated list of user identifiers to mention (only if "Specific Users" is selected).

Output

The node outputs JSON data representing the response from the Wuzapi API after sending the message. This typically includes confirmation details about the sent message.

No binary output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Wuzapi WhatsApp messaging service.
  • The node uses the Wuzapi API endpoints to send messages.
  • No additional environment variables are explicitly required beyond the API credential.

Troubleshooting

  • Binary Property Not Found: If using binary data sources for media (not applicable for Send Buttons), errors may occur if the specified binary property does not exist in the input data.
  • Invalid Phone Number Format: Ensure the phone number is in international format without the "+" prefix; otherwise, the API may reject the request.
  • Unknown Operation Error: Occurs if an unsupported operation value is set; verify that "sendButtons" is correctly selected.
  • Mention Configuration Issues: When specifying mentions, ensure user JIDs are correctly formatted and comma-separated.
  • API Request Failures: Network issues or invalid API credentials will cause errors; verify API key validity and network connectivity.

Links and References

  • Wuzapi Official Website (for API documentation and account setup)
  • WhatsApp Business API documentation for understanding message types and formats (general reference)

Discussion