Actions50
- Event Actions
- Message Actions
- Instance Actions
- Group Actions
- Community Actions
- Contact Actions
- Chat Actions
- Profile Actions
Overview
This node interacts with the Z-API service to manage WhatsApp contacts. Specifically, the 'Remove Contact' operation allows users to delete a contact from their WhatsApp contact list by specifying the contact's phone number. This is useful for automating contact management tasks, such as cleaning up outdated or unwanted contacts in bulk.
Use Case Examples
- Automatically remove a contact from WhatsApp when they unsubscribe from a service.
- Clean up contacts in WhatsApp based on external CRM data.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number of the contact to be removed, entered as digits only without any formatting. |
Output
JSON
json- The JSON response from the Z-API service indicating the result of the remove contact operation.
Dependencies
- Z-API service for WhatsApp interaction
- An API key credential for authenticating with Z-API
Troubleshooting
- Ensure the phone number is provided in the correct format (digits only, no formatting).
- Verify that the API key credential for Z-API is correctly configured and has the necessary permissions.
- Common errors may include invalid phone number format or network issues connecting to Z-API. Check error messages for details and ensure the phone number exists in the contact list before attempting removal.