GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Overview

This node integrates with the Go WhatsApp Web MultiDevice API to manage WhatsApp messages programmatically. Specifically, the Delete Message operation under the Message resource allows users to delete a specific message from either a private chat or a group chat by specifying the target phone number or group ID and the message ID.

Common scenarios for this node include:

  • Automatically removing sent messages based on certain triggers or conditions.
  • Moderating group chats by deleting inappropriate or outdated messages.
  • Managing message history in automated workflows.

Example use case: After sending a message via another operation, you might want to delete it after a delay or upon receiving a certain event, ensuring sensitive information is not retained.

Properties

Name Meaning
Phone Number or Group ID The phone number (for private chats) or the group ID (for group chats) where the message exists.
Message ID The unique identifier of the message to be deleted.

Output

The output JSON contains the response from the Go WhatsApp Web MultiDevice API regarding the deletion request. Typically, this will confirm whether the message was successfully deleted or provide error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to the Go WhatsApp Web MultiDevice API.
  • Needs an API authentication token or key configured in the node credentials.
  • The node expects the base URL of the API to be set in the credentials configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing phone number/group ID or message ID will cause the operation to fail.
    • Network connectivity problems or incorrect API endpoint configuration can prevent successful requests.
    • Insufficient permissions or expired API tokens may result in authorization errors.
  • Error messages:

    • "Unknown resource": Indicates the resource parameter is invalid; ensure "message" is selected.
    • API error responses typically include descriptive messages; check the output JSON for details.
  • Resolutions:

    • Verify that the phone number or group ID and message ID are correct and correspond to existing entities.
    • Confirm API credentials and host URL are properly configured.
    • Ensure the API token has sufficient rights to delete messages.

Links and References

Discussion