Wuzapi AI icon

Wuzapi AI

Send WhatsApp messages using Wuzapi - optimized for AI workflows

Overview

This node, named "Wuzapi AI," enables sending various types of WhatsApp messages through the Wuzapi service. It supports sending text, images, documents, audio, video, location, and contact messages. This node is particularly useful for automating WhatsApp communications in workflows that require AI-driven or programmatic messaging, such as customer support bots, marketing campaigns, or notification systems.

For the Send Video operation specifically, the node sends a video message to a specified phone number on WhatsApp, optionally including a caption with the video.

Practical Example

  • Sending a promotional video to customers with a brief caption.
  • Sharing tutorial videos automatically in response to user queries.
  • Broadcasting event highlights via WhatsApp video messages.

Properties

Name Meaning
Phone Number The recipient's phone number in international format without the "+" prefix.
Media URL The URL of the video file to send.
Caption Optional text caption to accompany the video message.

Output

The node outputs JSON data representing the response from the Wuzapi API after attempting to send the video message. The structure typically includes details about the sent message or an error if the operation failed.

If the operation succeeds, the output JSON contains metadata confirming the message dispatch. If it fails, the output JSON will contain an error field with the error message.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the Wuzapi service.
  • Needs an API key credential configured in n8n for authenticating requests to Wuzapi.
  • The node uses HTTP POST requests to Wuzapi endpoints corresponding to the message type (e.g., /message/video for sending videos).

Troubleshooting

  • Common Issues:

    • Invalid phone number format: Ensure the phone number is in international format without the "+" sign.
    • Incorrect or inaccessible media URL: The media URL must be publicly accessible and point directly to the video file.
    • Missing or invalid API credentials: Verify that the API key credential is correctly set up in n8n.
  • Error Messages:

    • "Unknown operation: sendVideo": This would indicate a misconfiguration; ensure the operation is set exactly to "Send Video".
    • Network or authentication errors returned from Wuzapi: Check API key validity and network connectivity.
  • Resolution Tips:

    • Double-check input parameters for correctness.
    • Test media URLs independently to confirm accessibility.
    • Review API key permissions and regenerate if necessary.

Links and References

Discussion