Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Webhooks → Update Webhook
AI-generatedOverview
The node provides integration with the WaliChat WhatsApp API, specifically allowing management of webhooks among many other resources. The Update Webhook operation lets users modify an existing webhook's configuration by specifying its ID and updating properties such as the webhook's internal name, the URL to receive event notifications, the types of events to listen for, and optionally restricting the webhook to a specific WhatsApp device.
This operation is useful in scenarios where you need to change how your system receives real-time updates from WhatsApp via WaliChat, for example:
- Changing the endpoint URL if your receiving service moves or changes.
- Adjusting which event types trigger webhook calls (e.g., adding message reactions or status updates).
- Restricting webhook notifications to a particular device for more granular control.
Properties
| Name | Meaning |
|---|---|
| Webhook ID | The unique identifier of the webhook to update. |
| Webhook Name | Internal name for the webhook (up to 30 characters), used for identification within the system. |
| Webhook URL | Publicly accessible endpoint URL that will receive HTTP POST requests when specified events occur. |
| Event Types | List of event types that will trigger the webhook. Options include: - New Inbound Message - New Outbound Message - Outbound Message Sent - Outbound Message Delivery Status - Outbound Message Failed - Message Updated - Message Reaction - Channel Message Received - Status Update - Group Update - Chat Update - Contact Update - WhatsApp Session Status |
| Device ID (Optional) | Optionally restricts the webhook to a specific WhatsApp device identified by a 24-character hexadecimal ID. |
Output
The node outputs JSON data representing the result of the webhook update operation. This typically includes confirmation details about the updated webhook such as its ID, name, URL, subscribed event types, and device restriction if applied.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API using a valid API key credential.
- The node depends on the WaliChat API endpoints for managing webhooks.
- Proper network access to the specified webhook URL is necessary for receiving event notifications.
Troubleshooting
- Invalid Webhook ID: If the provided webhook ID does not exist or is malformed, the API will return an error. Verify the webhook ID before updating.
- Invalid URL: The webhook URL must be publicly accessible and accept HTTP POST requests. Ensure the URL is correct and reachable.
- Event Types Missing or Invalid: At least one valid event type must be selected. Check that the event types conform to the allowed options.
- Device ID Format: If specified, the device ID must be a 24-character hexadecimal string. Incorrect format will cause errors.
- API Authentication Errors: Ensure the API key credential is valid and has permissions to update webhooks.
- Network Issues: Connectivity problems between n8n and WaliChat API or the webhook URL can cause failures.
To resolve errors, verify all input parameters, check API credentials, and ensure network accessibility.
Links and References
- WaliChat Official API Documentation (for detailed webhook management and event types)
- Webhook Concepts (general understanding of webhooks)