Actions7
Overview
This node integrates with the Uzapi API to interact with WhatsApp messaging services. Specifically, for the "Enviar Vídeo" (Send Video) operation, it allows users to send video files or links to specified WhatsApp numbers. This is useful in scenarios where automated video sharing is needed, such as customer support sending tutorial videos, marketing campaigns distributing promotional content, or notifications involving multimedia.
Practical example: Automatically sending a product demo video to a customer after they request information via a form.
Properties
Name | Meaning |
---|---|
Número (com DDI) | Destination phone number including country code, e.g., 5511999998888 |
Descrição | Caption or description of the video file to be sent |
Link | URL link to the video file to be sent |
Output
The node outputs JSON data representing the response from the Uzapi API after attempting to send the video message. This typically includes status information about the message delivery, message IDs, timestamps, or error details if the sending failed.
If binary data output were supported, it would represent media content or confirmation data, but this node focuses on JSON responses from the API.
Dependencies
- Requires an API key credential for authenticating with the Uzapi service.
- The node depends on the external Uzapi API endpoint, which must be reachable and properly configured.
- No additional environment variables are explicitly required beyond the API credentials.
Troubleshooting
- Operation not implemented error: If an unsupported operation name is provided, the node throws an error indicating the operation is not implemented. Ensure the operation parameter is set exactly to "sendVideo" for this use case.
- Invalid phone number format: Sending may fail if the phone number does not include the correct country code or is malformed.
- API authentication errors: If the API key credential is missing or invalid, the node will fail to authenticate with Uzapi.
- File link issues: The video link must be accessible and valid; otherwise, the API may reject the request or fail to send the video.
To resolve these, verify input parameters, ensure valid credentials, and confirm that the video URL is publicly accessible.
Links and References
- Uzapi Official Website (for API documentation and account setup)
- WhatsApp Business API documentation (general reference for WhatsApp messaging concepts)