ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows you to delete a specific message within a conversation in a ChatWoot account. It is useful for managing and moderating conversations by removing unwanted or incorrect messages programmatically. For example, if a customer support agent needs to remove a message that contains sensitive information or was sent by mistake, this node can automate that process.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account where the conversation exists.
Conversation Id The numeric ID of the conversation containing the message to be deleted.
Message Id The numeric ID of the message that you want to delete from the specified conversation.

Output

The output will contain JSON data reflecting the result of the delete operation. Typically, this includes confirmation of successful deletion or details about any error encountered. The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The base URL for the ChatWoot instance must be configured in the credentials.
  • The node uses the ChatWoot REST API to perform the delete operation.

Troubleshooting

  • Common issues:

    • Invalid or missing IDs (Account, Conversation, or Message) will cause the operation to fail.
    • Insufficient permissions or invalid API credentials may result in authorization errors.
    • Network connectivity problems can prevent communication with the ChatWoot API.
  • Error messages:

    • "404 Not Found" — The specified message, conversation, or account does not exist. Verify the IDs.
    • "401 Unauthorized" — Authentication failed. Check that the API key and base URL are correctly set.
    • "400 Bad Request" — Input parameters might be malformed or missing. Ensure all required fields are provided.

Resolving these typically involves verifying input values, checking API credentials, and ensuring network access to the ChatWoot server.

Links and References

Discussion