Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node integrates with the Wassenger WhatsApp API to manage WhatsApp chat contacts. Specifically, the "Delete Contact" operation under the "Chat Contacts" resource allows users to remove a contact from a specified WhatsApp number's contact list. This is useful for automating contact management tasks such as cleaning up outdated or irrelevant contacts in bulk.

Practical examples include:

  • Automatically deleting contacts who have unsubscribed or opted out.
  • Removing test or temporary contacts after campaigns.
  • Managing contact lists dynamically based on external triggers or workflows.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the contact will be deleted.
Contact ID The unique identifier of the contact to delete (e.g., a WhatsApp user ID like 447362053576@c.us).

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the contact was successfully deleted or provide error information if the deletion failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Wassenger WhatsApp API.
  • Needs an API key credential configured in n8n for authentication with the Wassenger service.
  • The node depends on the internal chatContacts action module to perform the delete operation.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number ID or contact ID can cause failures.
    • Insufficient permissions or invalid API key may lead to authentication errors.
    • Trying to delete a non-existent contact might return an error or no-op response.
  • Error messages and resolutions:

    • "Contact not found": Verify that the Contact ID is correct and exists under the specified WhatsApp number.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and has proper access rights.
    • "Invalid device ID": Ensure the WhatsApp number (device) ID is correctly selected and loaded.

Links and References

Discussion