Actions50
- Event Actions
- Message Actions
- Instance Actions
- Group Actions
- Community Actions
- Contact Actions
- Chat Actions
- Profile Actions
Overview
This node interacts with the Z-API service to configure webhooks for WhatsApp events. Specifically, the 'Configure Webhook' operation under the 'Event' resource allows users to set a webhook URL where WhatsApp event notifications will be sent. This is useful for automating workflows based on incoming WhatsApp messages or other event triggers from the WhatsApp platform.
Use Case Examples
- Setting up a webhook URL to receive notifications when a new WhatsApp message is received.
- Configuring a webhook to trigger an automation when a WhatsApp group event occurs.
Properties
| Name | Meaning |
|---|---|
| Webhook URL | The webhook URL to receive events, where WhatsApp event notifications will be sent. |
Output
JSON
webhookConfigured- Indicates whether the webhook was successfully configured.webhookUrl- The webhook URL that was set for receiving events.status- Status message or response from the webhook configuration operation.
Dependencies
- Requires an API key credential for authenticating with the Z-API WhatsApp service.
Troubleshooting
- Ensure the webhook URL is publicly accessible and can receive POST requests from the Z-API service.
- Common errors include invalid webhook URL format or authentication failures with the Z-API service.
- If the node throws an error about missing credentials, verify that the API key credential is correctly configured in n8n.
Links
- Z-API Documentation - Official documentation for the Z-API WhatsApp API service, including webhook configuration details.