Actions37
- Instance Actions
- Message Actions
- Group Actions
- Contact Actions
- Chat Actions
- Campaign Actions
- Chatbot Actions
Overview
This node integrates with the UazAPI service, which provides extensive WhatsApp automation capabilities through more than 90 endpoints. Specifically, for the Contact - Remove operation, the node allows users to remove a contact from their WhatsApp contact list by specifying the contact's phone number.
This operation is useful in scenarios where you want to programmatically manage your WhatsApp contacts, such as cleaning up outdated or unwanted contacts automatically as part of a workflow.
Practical example:
You have an automated process that detects inactive customers and removes their contact information from your WhatsApp contacts to keep your contact list clean and relevant.
Properties
| Name | Meaning |
|---|---|
| Contact Phone | The phone number of the contact to be removed from the WhatsApp contact list. It should include the country code without the "+" sign (e.g., "5511999999999"). |
Output
The output is a JSON object containing the response from the UazAPI endpoint after attempting to remove the specified contact. This typically includes status information about the removal operation, such as success confirmation or error details.
No binary data is output by this operation.
Example output structure (simplified):
{
"success": true,
"message": "Contact removed successfully"
}
or in case of failure:
{
"success": false,
"error": "Contact not found"
}
Dependencies
- Requires an active connection to the UazAPI service.
- Requires valid API credentials configured in n8n for authenticating requests to UazAPI.
- The base URL for the API is taken from the credentials configuration.
- The node uses HTTP POST requests to the
/contact/removeendpoint of the UazAPI.
Troubleshooting
Common issues:
- Invalid or missing contact phone number: Ensure the phone number is provided in the correct format including country code without "+".
- Authentication errors: Verify that the API credentials are correctly set up and have the necessary permissions.
- Contact does not exist: Attempting to remove a contact that is not in the WhatsApp contact list may result in an error or a no-op response.
Error messages:
"Contact not found": The specified contact phone number does not exist in the contact list. Confirm the number is correct.- Authentication failures: Check API key validity and credential setup.
- Network or API endpoint errors: Ensure the UazAPI service is reachable and the base URL is correct.
Links and References
- UazAPI Documentation (hypothetical link, replace with actual if available)
- WhatsApp Business API general info: https://developers.facebook.com/docs/whatsapp
- n8n HTTP Request Node documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/