Actions113
- 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
- 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
Messages → Delete A Message
AI-generatedOverview
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
- ChatWoot API Documentation (for detailed API endpoints and parameters)
- n8n documentation on Using Credentials