Overview
This node allows sending various types of WhatsApp messages using the Wuzapi service, optimized for AI workflows. It supports sending text, images, documents, audio, video, location, and contact messages to specified phone numbers in international format.
A common use case is automating customer communication via WhatsApp, such as sending notifications, sharing media files, or providing contact information dynamically within an automated workflow.
For example, you can send a contact card with a name and phone number to a user, which is useful for sharing support contacts or sales representatives directly through WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number in international format (without the leading +). |
| Contact Name | The name of the contact to send (required when sending a contact message). |
| Contact Phone | The phone number of the contact to send (required when sending a contact message). |
Output
The node outputs JSON data representing the response from the Wuzapi API after attempting to send the message. This typically includes confirmation details or error information if the request failed.
No binary data output is produced by this node.
Example output JSON structure:
{
"json": {
// Response fields from Wuzapi API, e.g. message ID, status, etc.
}
}
If an error occurs and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.
Dependencies
- Requires an active Wuzapi API credential configured in n8n for authentication.
- Depends on the external Wuzapi service to send WhatsApp messages.
- Network access to Wuzapi endpoints is necessary.
Troubleshooting
Common issues:
- Invalid phone number format: Ensure the phone number is in international format without the "+" sign.
- Missing required fields: For sending contacts, both contact name and contact phone must be provided.
- Network or authentication errors: Verify that the API key credential is valid and network connectivity to Wuzapi is available.
Error messages:
"Unknown operation: <operation>": Indicates an unsupported operation was selected; choose a valid operation.- API errors returned from Wuzapi will appear in the output JSON under an
errorfield if "Continue On Fail" is enabled.
Links and References
- Wuzapi Official Documentation (example placeholder link)
- WhatsApp Business API concepts for message types and formats