Actions37
- Message Actions
- Media Actions
- Contact Actions
- Group Actions
- Instance Actions
- Webhook Actions
Overview
The node integrates with the Uazapi WhatsApp API to send contact information via WhatsApp messages. Specifically, the "Send Contact" operation under the "Contact" resource allows users to send a contact's phone number to a specified WhatsApp recipient. This is useful in scenarios where you want to share contact details programmatically within automated workflows, such as customer support bots sharing agent contacts or marketing campaigns distributing sales representative info.
Practical examples:
- Automatically sending a customer's account manager's contact when a new lead is created.
- Sharing emergency contact numbers in response to specific triggers.
- Distributing team member contacts in group chats for collaboration.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's WhatsApp number including country code (e.g., 5511999999999). |
| Additional Fields | Optional settings to customize the message: |
| - Reply to Message ID: ID of a message to reply to. | |
| - Delay (seconds): Delay before sending the message. | |
| - Disable Link Preview: Whether to disable link previews in the message (true/false). | |
| - Mention Users: Comma-separated list of phone numbers to mention in the message. |
Output
The node outputs a JSON object containing the response from the Uazapi service after attempting to send the contact message. This typically includes status information about the message delivery and any relevant metadata returned by the API.
If an error occurs and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.
No binary data output is produced by this operation.
Dependencies
Requires an active Uazapi WhatsApp API account with valid credentials including:
- An API key credential.
- API token.
- API base URL.
- Instance ID.
The node uses these credentials to authenticate and send requests to the Uazapi endpoints.
Proper configuration of these credentials in n8n is necessary for successful operation.
Troubleshooting
Common Issues:
- Invalid or missing phone numbers (must include country code).
- Incorrect or expired API credentials causing authentication failures.
- Network connectivity issues preventing access to the Uazapi service.
- Sending messages too quickly without respecting rate limits.
Error Messages:
- Authentication errors: Check API token and API key validity.
- Validation errors: Ensure phone numbers and contact numbers are correctly formatted.
- Timeout or network errors: Verify internet connection and Uazapi service status.
To resolve errors, verify all input parameters, ensure credentials are correct, and consult Uazapi service status if needed.
Links and References
- Uazapi Official Documentation (for detailed API usage and capabilities)
- WhatsApp Business API Guidelines (general WhatsApp messaging best practices)