UazAPI icon

UazAPI

Integração completa com UazAPI - 90+ endpoints para automação WhatsApp

Overview

This node integrates with the UazAPI service to manage WhatsApp messaging and related operations. Specifically, the "Delete Message" operation under the "Message" resource allows users to delete a WhatsApp message for everyone in the conversation by specifying the message ID.

Common scenarios where this node is beneficial include:

  • Automatically removing mistakenly sent messages.
  • Moderating chat content by deleting inappropriate messages.
  • Managing message lifecycle programmatically in automated workflows.

For example, after sending a message via another operation, you might want to delete it after a certain condition or time delay using this node.

Properties

Name Meaning
Message ID The unique identifier of the WhatsApp message to be deleted.

Output

The output is a JSON object containing the response from the UazAPI after attempting to delete the specified message. This typically includes status information about whether the deletion was successful or if any errors occurred.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the UazAPI service.
  • The node uses the base URL configured in the credentials to send HTTP requests.
  • Proper permissions on the WhatsApp instance connected to UazAPI are necessary to delete messages.

Troubleshooting

  • Common issues:

    • Invalid or missing Message ID will cause the deletion request to fail.
    • Authentication errors if the API key or tokens are incorrect or expired.
    • Attempting to delete a message that does not exist or has already been deleted.
    • Network connectivity problems preventing communication with the UazAPI endpoint.
  • Error messages:

    • Errors returned from the API will be included in the node output under an error field if "Continue On Fail" is enabled.
    • Typical error messages may indicate invalid parameters, unauthorized access, or server errors.
  • Resolution tips:

    • Verify the Message ID is correct and corresponds to a valid message.
    • Ensure API credentials are correctly set up and have required permissions.
    • Check network connectivity and UazAPI service status.
    • Enable "Continue On Fail" to capture errors without stopping workflow execution for debugging.

Links and References

  • UazAPI Documentation (Replace with actual link if available)
  • WhatsApp Business API concepts for message management (for context)
  • n8n HTTP Request node documentation for understanding authentication handling

Discussion