WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Campaigns → Delete Campaign

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API, specifically allowing users to manage campaigns among many other resources. The "Delete Campaign" operation enables users to delete a campaign by specifying its unique campaign ID. This is useful in scenarios where campaigns are no longer needed or were created by mistake and need to be removed from the system.

Practical examples include:

  • Cleaning up old or inactive marketing campaigns.
  • Removing test campaigns after validation.
  • Managing campaign lifecycle programmatically within an automation workflow.

Properties

Name Meaning
Campaign ID The unique identifier of the campaign to delete. This is required to specify which campaign should be removed.

Output

The output of this node is a JSON object representing the result of the delete operation. Typically, it will contain confirmation of the deletion or relevant status information returned by the WaliChat API. If the operation fails, the output may include an error message describing the issue.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the WaliChat WhatsApp API.
  • The node depends on the external WaliChat service being available and accessible.
  • Proper configuration of the API key credential in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing Campaign ID: Ensure the Campaign ID provided is correct and exists.
    • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
    • Network or API downtime: Check connectivity and WaliChat service status.
  • Common error messages:

    • "Campaign not found": The specified Campaign ID does not exist; verify the ID.
    • "Unauthorized" or "Authentication failed": The API key is invalid or expired; update credentials.
    • "Failed to delete campaign": General failure; check API response details and logs.

Resolving these typically involves verifying input parameters, checking credentials, and ensuring network connectivity.

Links and References

Discussion