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
Webhooks → Update A Webhook
AI-generatedOverview
This node allows updating an existing webhook in the ChatWoot system. It is useful when you want to change the URL where webhook events are sent or modify the list of event subscriptions for a specific webhook. For example, if your application endpoint changes or you want to listen to different types of events from ChatWoot, this node lets you update those details without creating a new webhook.
Common scenarios include:
- Changing the callback URL after migrating your service.
- Adding or removing event subscriptions to control which events trigger the webhook.
- Managing webhooks programmatically as part of deployment or integration workflows.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account that owns the webhook. |
| Webhook Id | The numeric ID of the webhook you want to update. |
| Url | The new URL where webhook events should be sent. |
| Subscriptions | A JSON array specifying the events to subscribe to for this webhook (e.g., message created, conversation updated). |
Output
The node outputs the response from the ChatWoot API after updating the webhook. This typically includes the updated webhook object with its properties such as ID, URL, subscriptions, and status. The output is available in the json field of the node's output data.
No binary data output is involved.
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 depends on the ChatWoot REST API being accessible and the provided account and webhook IDs being valid.
Troubleshooting
- Invalid Account or Webhook ID: If the IDs do not exist or belong to another user, the API will return an error. Verify the IDs before running the node.
- Invalid URL Format: Ensure the URL property is a valid and reachable HTTP/HTTPS endpoint.
- Malformed Subscriptions JSON: The subscriptions property expects valid JSON. Invalid JSON will cause parsing errors.
- Authentication Errors: Check that the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Connectivity problems to the ChatWoot API will cause request failures.
Links and References
- ChatWoot API Documentation - Official API docs for managing webhooks and other resources.
- Webhook Management Concepts - Overview of how webhooks work in ChatWoot.