ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Messages → Delete A Message

AI-generated

Overview

This node operation 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 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 active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials.

Troubleshooting

  • Common issues:

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

    • "404 Not Found" likely means the specified message or conversation does not exist.
    • "401 Unauthorized" indicates invalid or missing API authentication.
    • "400 Bad Request" could mean malformed input parameters.
  • Resolutions:

    • Verify all numeric IDs are correct and correspond to existing resources.
    • Ensure the API key credential is valid and has necessary permissions.
    • Check network access and ChatWoot service availability.

Links and References

Discussion