Zender icon

Zender

Interact with Zender WhatsApp API

Overview

This node integrates with the Zender WhatsApp API to manage WhatsApp campaigns, messages, contacts, accounts, and other related resources. Specifically, for the Campaign - Delete operation, it allows users to delete an existing WhatsApp campaign by providing its Campaign ID. This is useful when you want to remove outdated or unwanted campaigns from your system.

Common scenarios include:

  • Cleaning up old marketing campaigns that are no longer active.
  • Removing test campaigns created during development.
  • Managing campaign lifecycle by deleting campaigns that have been completed or canceled.

Example: You have a campaign with ID 123 that you no longer need. Using this node's Campaign Delete operation, you can remove it from the Zender platform to keep your campaign list clean.

Properties

Name Meaning
Campaign ID The unique numeric identifier of the WhatsApp campaign to delete.

Output

The output is a JSON object containing the response from the Zender API after attempting to delete the specified campaign. It typically includes status information indicating whether the deletion was successful or if there were any errors.

Example output structure (simplified):

{
  "success": true,
  "message": "Campaign deleted successfully",
  "id": 123
}

If the deletion fails, the output will contain error details.

Dependencies

  • Requires an API key credential for authenticating with the Zender WhatsApp API.
  • The node uses HTTP requests to communicate with the Zender API endpoints.
  • The base URL and API secret must be configured in the credentials.
  • No additional external dependencies beyond the Zender API and n8n's HTTP request helper.

Troubleshooting

  • Invalid Campaign ID: If the provided Campaign ID does not exist or is invalid, the API will return an error. Verify the Campaign ID before running the node.
  • Authentication Errors: Ensure the API key credential is correctly set up and has permissions to delete campaigns.
  • Network Issues: Connectivity problems may cause request failures. Check network access to the Zender API endpoint.
  • API Rate Limits: Excessive requests might be throttled by the API. Implement retries or backoff as needed.
  • Error Messages: The node throws errors with messages returned by the API. Review these messages to understand issues like missing parameters or permission denials.

Links and References

  • Zender WhatsApp API Documentation (general reference for API endpoints)
  • n8n HTTP Request Node documentation for understanding how HTTP calls are made within nodes.

This summary focuses on the Campaign resource's Delete operation as requested.

Discussion