WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Campaigns → Update Campaign Status

AI-generated

Overview

The node interacts with the WaliChat WhatsApp API, specifically allowing users to update the status of campaigns. In the context of "Update Campaign Status," it enables starting or stopping a campaign by specifying its ID and desired action. This is useful for automating campaign management workflows, such as launching marketing campaigns or halting them based on external triggers or conditions.

Practical examples:

  • Automatically start a WhatsApp campaign when a new product launches.
  • Stop an ongoing campaign if certain criteria are met (e.g., budget limits reached).

Properties

Name Meaning
Campaign ID The unique identifier of the campaign to be updated.
Action The operation to perform on the campaign: either "Start Campaign" or "Stop Campaign".

Output

The node outputs JSON data representing the result of the campaign status update operation. This typically includes confirmation details about the campaign's new state or any relevant metadata returned by the WaliChat API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the WaliChat WhatsApp API.
  • The node depends on the WaliChat API service being accessible and properly configured.
  • No additional environment variables or external services are explicitly required beyond the API key.

Troubleshooting

  • Common issues:

    • Invalid or missing Campaign ID will cause the operation to fail.
    • Incorrect API key or authentication failure will prevent communication with the WaliChat API.
    • Network connectivity problems can lead to timeouts or unreachable service errors.
  • Error messages and resolutions:

    • "error": "Campaign not found" — Verify the Campaign ID is correct and exists in WaliChat.
    • "error": "Unauthorized" — Check that the API key credential is valid and has necessary permissions.
    • "error": "Action not supported" — Ensure the action parameter is either "start" or "stop".
    • For other errors, enabling "Continue On Fail" allows the workflow to proceed while logging error details.

Links and References

Discussion