ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows users to delete a specific message within a conversation in a ChatWoot account. It is useful for scenarios where messages need to be removed due to errors, privacy concerns, or content moderation. For example, a support agent might use this node to delete an inappropriate or mistakenly sent message from a customer conversation.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account where the conversation and message exist.
Conversation Id The numeric ID of the conversation containing the message to be deleted.
Message Id The numeric ID of the specific message to delete within the conversation.

Output

The output JSON typically contains the response from the ChatWoot API confirming the deletion status of the message. This may include success confirmation or details about the deleted message. 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 node credentials.
  • The node uses standard HTTP headers for JSON communication (Accept: application/json and Content-Type: application/json).

Troubleshooting

  • Common issues:
    • Invalid or missing Account Id, Conversation Id, or Message Id will cause the deletion to fail.
    • Authentication errors if the API key or base URL is incorrect or missing.
    • Permission errors if the authenticated user does not have rights to delete messages.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check API key and credentials configuration.
    • "Message not found": Verify that the provided Message Id exists within the specified conversation and account.
    • "Forbidden": Ensure the API user has permission to delete messages.

Links and References

Discussion