WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation deletes a chat session identified by a specific Chat ID within a given session name. It is useful for managing chat data by removing unwanted or obsolete chat records from a system. For example, it can be used in customer support workflows to delete chat histories after a case is closed or to maintain privacy by removing sensitive chat data.

Use Case Examples

  1. Deleting a chat session by specifying the session name and chat ID to clean up old chat records.
  2. Automating chat data management by removing chats that are no longer needed after a certain period.

Properties

Name Meaning
Session The name of the session from which the chat will be deleted.
Chat Id The unique identifier of the chat to be deleted.
Request Options Additional options to customize the request such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • success - Indicates whether the chat deletion was successful.
  • message - Additional information or status message about the deletion operation.

Dependencies

  • Requires an API key or authentication token to access the chat service API.

Troubleshooting

  • Common issues include invalid session names or chat IDs resulting in failure to delete the chat.
  • SSL certificate validation errors if the server's SSL certificate is not trusted; can be bypassed by enabling 'Ignore SSL Issues'.
  • Timeout errors if the server does not respond within the specified timeout period; increasing the timeout may help.
  • Proxy configuration errors if the proxy settings are incorrect or the proxy server is unreachable.

Discussion