Zender icon

Zender

Interact with Zender WhatsApp API

Overview

The node provides integration with the Zender WhatsApp API, enabling various operations related to messaging, contacts, campaigns, accounts, chats, groups, OTPs, SMS, and phone number validation. Specifically for the Contact resource and the Delete Contact operation, the node allows users to delete a contact by specifying its unique contact ID.

This functionality is useful in scenarios where you need to manage your contact list dynamically, such as removing outdated or unsubscribed contacts from your WhatsApp contact database. For example, if a contact has requested removal or is no longer relevant for communication, this operation helps maintain an up-to-date contact list.

Properties

Name Meaning
Contact ID The unique numeric identifier of the contact to delete

Output

The output is a JSON object containing the response from the Zender API after attempting to delete the specified contact. This typically includes status information about the deletion request, such as success confirmation or error details.

Example output structure:

{
  "status": "success",
  "message": "Contact deleted successfully",
  "id": 123
}

or in case of failure:

{
  "status": "error",
  "message": "Contact not found"
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Zender WhatsApp API.
  • Requires an API key credential (referred to generically as "an API key credential") configured in n8n to authenticate requests.
  • The base URL for the API is provided via credentials.
  • The node uses HTTP GET requests with query parameters to perform the deletion.

Troubleshooting

  • Common issues:

    • Invalid or missing Contact ID: Ensure the Contact ID provided exists and is correct.
    • Authentication errors: Verify that the API key credential is correctly set up and valid.
    • Network or connectivity problems: Confirm that the n8n instance can reach the Zender API endpoint.
  • Common error messages:

    • "Contact not found": The specified Contact ID does not exist. Double-check the ID.
    • "Unauthorized" or "Authentication failed": The API key credential is invalid or expired. Update or reconfigure the credential.
    • "Request failed" or timeout errors: Check network connectivity and API availability.

To resolve these, verify input parameters, ensure proper credential configuration, and check network access.

Links and References

Discussion