Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Status → Delete

AI-generated

Overview

This node enables interaction with WhatsApp through the Wappfy API, providing various operations on different WhatsApp resources. Specifically, for the Status resource with the Delete operation, it allows users to delete a previously posted WhatsApp status message by specifying its ID.

This functionality is useful in scenarios where you want to programmatically remove a status update from your WhatsApp account, such as automating cleanup of outdated or incorrect status messages.

Practical example:

  • Automatically deleting a promotional status after a campaign ends.
  • Removing a mistakenly posted status without manual intervention.

Properties

Name Meaning
Status Message ID ID of the status message to delete

Output

The node outputs the JSON response returned by the Wappfy API after attempting to delete the specified status message. This typically includes confirmation of deletion or error details if the operation failed.

The output structure is:

{
  "json": {
    // API response object confirming deletion or containing error info
  }
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wappfy API credential configured in n8n, including:

    • Base URL of the Wappfy API instance.
    • Instance name identifier.
    • API key for authentication.
  • The node makes HTTP POST requests to the Wappfy API endpoint /api/{instanceName}/status/delete with the session and message ID in the request body.

Troubleshooting

  • Common issues:

    • Invalid or missing Status Message ID will cause the API to reject the request.
    • Incorrect or expired API credentials may result in authentication errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "messageId is required" or similar indicates the Status Message ID was not provided or invalid.
    • Authentication errors like "Invalid API key" suggest credential misconfiguration.
    • HTTP errors (e.g., 404 Not Found) may indicate the status message does not exist or has already been deleted.
  • Resolution tips:

    • Ensure the Status Message ID is correct and corresponds to an existing status.
    • Verify that the Wappfy API credentials are properly set up and valid.
    • Check network access and firewall settings to allow outbound API requests.

Links and References

Discussion