Actions33
Overview
This node sets up a webhook for the Quepasa (Whatsapp) API. It allows users to configure a URL to receive event notifications from the Whatsapp bot, with options to forward internal messages, track message IDs to avoid duplicates, and add extra custom attributes. This is useful for integrating Whatsapp event-driven interactions into workflows, such as triggering actions when messages are received or status updates occur.
Use Case Examples
- Setting up a webhook URL to receive incoming Whatsapp messages and notifications.
- Configuring the webhook with a system identifier to prevent duplicate message processing.
- Adding custom attributes to the webhook setup for enhanced event handling.
Properties
| Name | Meaning |
|---|---|
| Authentication | Selects the authentication method for the API, either by parameters (BaseUrl and Token) or predefined credentials. |
| BaseUrl | The base URL of the Quepasa API, required if using parameter-based authentication. |
| Token | The token of the Whatsapp bot used for authentication, required if using parameter-based authentication. |
| Url | The URL to which the webhook events will be sent. |
| Forward Internal | Boolean flag indicating whether to forward internal messages. |
| Track ID | Optional system identifier to avoid processing duplicated messages. |
| Extra Attributes | Optional key-value pairs to add extra attributes to the webhook setup. |
Output
JSON
body- The response body from the webhook setup API call, containing details of the webhook configuration or status.
Dependencies
- Quepasa API with authentication via BaseUrl and Token or predefined credentials.
Troubleshooting
- Ensure the BaseUrl and Token are correctly set if using parameter-based authentication, otherwise authentication will fail.
- Verify the webhook URL is accessible and correctly configured to receive events.
- If duplicate messages are received, use the Track ID property to provide a unique identifier to avoid duplicates.
- Check network connectivity and API availability if the webhook setup fails with request errors.
