Actions100
- 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
Overview
This node allows you to delete a specific canned response from a ChatWoot account. Canned responses are pre-defined replies that can be used to quickly respond to common customer queries. This operation is useful for administrators or support managers who need to manage and clean up outdated or unnecessary canned responses in their ChatWoot instance.
Practical Example:
If your support team updates its messaging or retires certain FAQs, you can use this node to programmatically remove obsolete canned responses from your ChatWoot account.
Properties
| Display Name | Type | Meaning |
|---|---|---|
| Account Id | Number | The numeric ID of the ChatWoot account from which the canned response will be deleted. |
| Id | Number | The unique identifier of the canned response to be deleted. |
Both properties are required to perform the deletion.
Output
The output will contain a json field reflecting the result of the delete operation. Typically, this may include:
- A status indicator (e.g., success or failure)
- Any message returned by the API
- Possibly the ID of the deleted canned response
Example output:
{
"success": true,
"message": "Canned response deleted successfully",
"id": 12345
}
Note: The exact structure depends on the ChatWoot API's response.
Dependencies
- External Service: Requires access to a ChatWoot instance with API enabled.
- API Key: You must provide valid ChatWoot API credentials (
chatwootApi) in n8n. - n8n Configuration: The base URL for ChatWoot should be set in the credentials as
url.
Troubleshooting
- Invalid Account Id or Id: If either the Account Id or Canned Response Id is incorrect, the API may return a "Not Found" or similar error.
- Authentication Errors: If the API key is missing or invalid, you may see errors like "Unauthorized" or "Invalid credentials."
- Permission Issues: The user associated with the API key must have permission to delete canned responses; otherwise, you might receive a "Forbidden" error.
- Network/Connection Issues: Ensure that the n8n instance can reach the ChatWoot server at the specified URL.