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 in AI-driven workflows or automation scenarios where WhatsApp communication is required, such as customer support bots, notification systems, or marketing campaigns.
For example, you can use this node to automatically send a text confirmation message after a user completes a form, share an image or document with clients, or send location details for event invitations.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number in international format (without the leading "+"). |
Note: Although your input properties only list "Phone Number," the node internally supports additional properties depending on the operation selected (e.g., Message, Media URL, Caption, Latitude, Longitude, Contact Name, Contact Phone). These are not included here since you requested extraction relevant to the provided properties only.
Output
The node outputs JSON data representing the response from the Wuzapi API after attempting to send the message. Each output item corresponds to an input item and contains either:
- The successful API response JSON confirming the message was sent.
- An error object with an
errorfield describing the failure if the node is set to continue on failure.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Wuzapi service.
- The node makes HTTP POST requests to Wuzapi endpoints corresponding to the message type.
- Proper configuration of the Wuzapi API credentials within n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing phone number format (must be international format without "+").
- Incorrect or missing API credentials causing authentication failures.
- Unsupported or unknown operation values will throw an error.
- Missing required parameters for specific operations (e.g., media URL for sending images).
Error messages:
"Unknown operation: <operation>": Indicates an unsupported operation was selected; verify the operation name.- API errors returned from Wuzapi will appear in the output JSON under an
errorfield if "Continue On Fail" is enabled.
Resolution tips:
- Ensure phone numbers are correctly formatted.
- Verify that all required fields for the chosen operation are filled.
- Check API credentials and permissions.
- Use the "Continue On Fail" option to handle errors gracefully during batch processing.
Links and References
- Wuzapi Official Website (for API documentation and account setup)
- WhatsApp Business API Documentation (general reference for WhatsApp messaging concepts)