Actions113
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Contacts API Actions
- Inbox API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Canned Response Actions
Overview
This node allows you to delete a specific message within a conversation in a ChatWoot account. It is useful for scenarios where you need to programmatically remove messages, such as moderating chat content, cleaning up test data, or managing conversations automatically.
For example, if a user sends an inappropriate message, this node can be used to delete that message by specifying the account, conversation, and message IDs.
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 a JSON object representing the result of the delete operation. Typically, this includes confirmation of deletion or any relevant status information returned by the ChatWoot API. There is no binary data output.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token configured in the node credentials.
- The base URL for the ChatWoot instance must be set in the credentials.
Troubleshooting
- Invalid IDs: If the account, conversation, or message IDs are incorrect or do not exist, the API will return an error. Verify all IDs before running the node.
- Authentication errors: Ensure the API key/token is valid and has sufficient permissions to delete messages.
- Network issues: Check connectivity to the ChatWoot server and ensure the base URL is correct.
- Permission denied: The authenticated user may lack rights to delete messages; verify user roles and permissions in ChatWoot.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n Documentation (for general usage of HTTP/API nodes and credential setup)