Zalo Send Message icon

Zalo Send Message

Gửi tin nhắn qua API Zalo sử dụng kết nối đăng nhập bằng cookie

Zalo Send Message → Gửi Video

AI-generated

Overview

This node sends a video message through the Zalo messaging platform using the Zalo API. It is useful for automating the sending of video content to individual users or groups on Zalo. For example, businesses can use it to send promotional videos or updates to customers or team members.

Use Case Examples

  1. Sending a promotional video to a customer chat by specifying the chat ID, video URL, thumbnail URL, and optional caption.
  2. Sending a video to a group chat with custom video options like duration, width, and height.

Properties

Name Meaning
ID cuộc trò chuyện / Thread ID The ID of the chat (user or group) where the video will be sent.
Loại cuộc trò chuyện Specifies whether the chat is a personal chat (Cá nhân) or a group chat (Nhóm).
Video URL The publicly accessible URL of the video to send.
Thumbnail URL The publicly accessible URL of the video's thumbnail image.
Phụ đề / Caption Optional caption or subtitle text for the video.
Tùy chọn Video nâng cao Advanced video options including duration (seconds), width (pixels), and height (pixels).

Output

JSON

  • success - Indicates if the video was sent successfully.
  • response - The response object returned from the Zalo API after sending the video.
  • threadId - The ID of the chat where the video was sent.
  • threadType - The type of chat (user or group) where the video was sent.

Dependencies

  • Zalo API credentials with cookie, IMEI, and user agent for authentication.

Troubleshooting

  • Ensure that the Zalo API credentials are correctly set and valid, including cookie, IMEI, and user agent, otherwise the node will fail to initialize the API client.
  • Video URL and Thumbnail URL must be publicly accessible URLs; otherwise, the video cannot be sent.
  • If the node throws an error about missing required fields, verify that Thread ID, Video URL, and Thumbnail URL are provided.
  • If the API client is not initialized, check the credentials and network connectivity to the Zalo API.

Discussion