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 JSON will typically contain the response from the ChatWoot API confirming the deletion of the message. This may include status information 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 credentials.
  • The node uses the ChatWoot REST API endpoint for deleting messages.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Providing incorrect or non-existent Account Id, Conversation Id, or Message Id will result in errors indicating the resource was not found.
    • Network connectivity issues can prevent the node from reaching the ChatWoot API.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API key credential is correctly set and has sufficient permissions.
    • 404 Not Found: Verify that the Account Id, Conversation Id, and Message Id are correct and exist in the ChatWoot system.
    • 400 Bad Request: Ensure all required parameters are provided and valid numbers.

Links and References

Discussion