Zender icon

Zender

Interact with Zender WhatsApp API

Overview

The node interacts with the Zender API to manage SMS campaigns and messages. Specifically, for the SMS - Delete Campaign operation, it deletes an existing SMS campaign identified by a campaign ID. This is useful when you want to remove outdated or canceled SMS campaigns from your system.

Common scenarios include:

  • Cleaning up old or test SMS campaigns.
  • Removing campaigns that are no longer relevant or needed.
  • Managing SMS marketing or notification workflows by deleting campaigns programmatically.

Example: You have an SMS campaign with ID 123 that you no longer want to run or keep in your system. Using this node operation, you can delete that campaign by providing its ID.

Properties

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

Output

The output is a JSON object containing the response from the Zender API after attempting to delete the specified SMS 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"
}

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

Dependencies

  • Requires an active connection to the Zender API via an API key credential.
  • The node uses HTTP GET requests authenticated with the API key to perform operations.
  • The base URL for the API is 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, the API may return an error. Verify the campaign ID before attempting deletion.
  • Authentication Errors: Ensure the API key credential is valid and has permissions to delete campaigns.
  • Network Issues: Connectivity problems with the Zender API endpoint can cause failures.
  • API Rate Limits: Excessive requests might be throttled; check API usage limits.

Common error message example:

  • "error": "Campaign not found" — means the campaign ID is invalid or already deleted.
  • "error": "Unauthorized" — indicates issues with API authentication.

To resolve errors:

  • Double-check the campaign ID.
  • Confirm API credentials are correct.
  • Retry after some time if rate-limited.

Links and References

Discussion