Actions113
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- 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
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
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/jsonandContent-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
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n Documentation (for general usage of custom nodes and credentials setup)