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
Overview
This node allows you to delete a specific webhook from an account in the ChatWoot system. It is useful when you want to manage and clean up webhooks that are no longer needed or valid, helping maintain your integration's efficiency and security.
Practical examples include:
- Removing outdated or unused webhooks after changing your application's event handling.
- Cleaning up webhooks during account decommissioning or migration.
- Managing webhook lifecycle programmatically as part of automated workflows.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the webhook will be deleted. |
| Webhook Id | The numeric ID of the webhook to delete. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of successful deletion or details about any error encountered. There is no binary output.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the credentials.
- The node uses HTTP requests to interact with the ChatWoot REST API.
Troubleshooting
- Invalid Account Id or Webhook Id: Ensure both IDs are correct and correspond to existing resources; otherwise, the API will return errors indicating not found.
- Authentication Errors: Verify that the API key credential is valid and has sufficient permissions to delete webhooks.
- Network Issues: Check connectivity to the ChatWoot server and ensure the base URL is correctly set.
- API Rate Limits: If many requests are made in a short time, the API might throttle requests; handle such errors by retrying after some delay.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and authentication)
- n8n documentation on Using Credentials