WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation sends a video message to a specified chat session. It is useful for automating the sharing of video content in messaging workflows, such as sending promotional videos, tutorials, or personal video messages. For example, a business could use this node to send product demo videos to customers automatically.

Use Case Examples

  1. Send a video file to a customer chat session with a caption.
  2. Send a video note (round video) as a reply to a specific message in a chat.

Properties

Name Meaning
Session The chat session identifier to send the video message to.
Chat Id The unique identifier of the chat where the video will be sent.
File The video file details including mimetype, filename, and URL to the video resource.
Reply To The ID of the message to reply to, allowing the video to be sent as a reply in the chat.
As Note Boolean flag to send the video as a video note (instant or round video) instead of a regular video message.
Caption Text caption to accompany the video message.
Request Options Additional request settings such as batching, SSL certificate handling, proxy configuration, and timeout settings for the HTTP request.

Output

JSON

  • sentMessageId - The unique identifier of the sent video message.
  • status - The status of the send operation, e.g., success or failure.
  • chatId - The chat identifier where the video was sent.

Dependencies

  • Requires an API key credential or authentication token to access the messaging service.

Troubleshooting

  • Ensure the session and chatId are valid and active to avoid message sending failures.
  • Check the video file URL is accessible and the mimetype is supported to prevent upload errors.
  • If sending as a video note, verify the 'asNote' flag is correctly set to true.
  • Timeout errors may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.
  • SSL certificate errors can be bypassed by enabling 'Ignore SSL Issues' but this reduces security.

Discussion