Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node enables interaction with WhatsApp through the Wappfy API, providing various operations across multiple resources such as sessions, messages, chats, contacts, groups, statuses, channels, profiles, linked IDs, and files. Specifically, for the Status resource with the Delete operation, it allows users to delete a previously posted WhatsApp status message by specifying its ID.

Common scenarios where this node is beneficial include automating WhatsApp communications, managing status updates programmatically, cleaning up outdated or incorrect status messages, and integrating WhatsApp status management into broader workflows.

For example, you might use this node to automatically remove a promotional status after a campaign ends or to delete 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 information
  }
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active Wappfy API account.
  • Requires configuration of an API key credential for authentication.
  • The node uses the base URL and instance name from the credentials to construct API requests.
  • Network access to the Wappfy API endpoint is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing Status Message ID: Ensure the ID provided corresponds to an existing status message.
    • Authentication errors: Verify that the API key credential is correctly configured and valid.
    • Network connectivity problems: Confirm that the node can reach the Wappfy API endpoint.
    • Insufficient permissions: The API user must have rights to delete status messages.
  • Error Messages:

    • Errors returned from the API will be included in the node's output JSON under an error field if continueOnFail is enabled.
    • If not continuing on fail, the node throws an error indicating the failure reason, which could be due to invalid parameters, authorization issues, or server errors.
  • Resolution Tips:

    • Double-check the Status Message ID for correctness.
    • Re-authenticate or update the API key credential if expired or revoked.
    • Review API documentation for any changes in endpoint or required parameters.
    • Enable continueOnFail to handle errors gracefully within workflows.

Links and References


This summary focuses on the Status - Delete operation of the Wappfy node based on the provided source code and property definitions.

Discussion