Actions35
- Account Actions
- Canned Response Actions
- Contact Actions
- Conversation Actions
- Inbox Actions
- Label Actions
- Message Actions
- Team Actions
- Webhook Actions
Overview
This node interacts with the Chatwoot API to manage webhooks within a specified account. Specifically, the Delete Webhook operation allows users to remove an existing webhook by providing the account ID and the webhook ID. This is useful for cleaning up or disabling webhook integrations that are no longer needed or valid.
Common scenarios include:
- Removing outdated or unused webhooks to prevent unnecessary event notifications.
- Managing webhook lifecycle programmatically as part of automation workflows.
- Ensuring security by deleting webhooks that may have been compromised or are no longer authorized.
Example:
You have a webhook set up to notify your system about new messages in Chatwoot, but you want to disable it temporarily or permanently. Using this node's Delete Webhook operation, you can specify the account and webhook IDs to delete it directly from your workflow.
Properties
| Name | Meaning |
|---|---|
| Account ID | The numeric ID of the Chatwoot account where the webhook exists. |
| Webhook ID | The numeric ID of the webhook to be deleted. |
| Continue on Fail | Whether to continue executing subsequent items if the deletion operation fails (true/false). |
Output
The output JSON contains a single field indicating success:
{
"success": true
}
success: A boolean value confirming that the webhook was successfully deleted.- If the operation fails and "Continue on Fail" is enabled, the output will contain an error message instead.
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Chatwoot API via an API key credential configured in n8n.
- The node makes HTTP DELETE requests to the Chatwoot API endpoint
/api/v1/accounts/{accountId}/webhooks/{webhookId}. - Proper permissions on the Chatwoot account are necessary to delete webhooks.
Troubleshooting
Error: Unauthorized or Forbidden
Ensure the API key credential has sufficient permissions to delete webhooks in the specified account.Error: Not Found
Verify that both the Account ID and Webhook ID are correct and that the webhook exists.Network or Timeout Errors
Check network connectivity and Chatwoot API availability.Operation Fails and Stops Execution
If you want the workflow to continue even when deletion fails, enable the "Continue on Fail" property.