Actions36
- Zalo OA Actions
- Gửi Tin Nhắn Văn Bản
- Gửi Tin Nhắn Hình Ảnh
- Gửi Tin Nhắn File
- Gửi Tin Nhắn Danh Sách
- Lấy Thông Tin Người Theo Dõi
- Lấy Danh Sách Người Theo Dõi
- Cập Nhật Thông Tin Người Theo Dõi
- Lấy Danh Sách Cuộc Trò Chuyện Gần Đây
- Lấy Lịch Sử Hội Thoại
- Kiểm Tra Trạng Thái Tin Nhắn
- Upload Hình Ảnh
- Upload Hình Ảnh GIF
- Upload File
- Lấy Danh Sách Tag
- Gán Tag Cho Người Theo Dõi
- Xóa Tag
- Xóa Người Theo Dõi Khỏi Tag
- Cập Nhật Menu OA
- Tạo Bài Viết
- Cập Nhật Bài Viết
- Xóa Bài Viết
- Lấy Danh Sách Bài Viết
- Lấy Chi Tiết Bài Viết
- Chuẩn Bị Upload Video
- Xác Thực Video
- Tạo Sản Phẩm
- Cập Nhật Sản Phẩm
- Lấy Thông Tin Sản Phẩm
- Lấy Danh Sách Sản Phẩm
- Tạo Danh Mục
- Cập Nhật Danh Mục
- Lấy Danh Sách Danh Mục
- Tạo Đơn Hàng
- Cập Nhật Đơn Hàng
- Lấy Thông Tin Đơn Hàng
- Lấy Danh Sách Đơn Hàng
Overview
The "Zalo OA" node integrates with the Zalo Official Account (OA) API, enabling automation of various interactions and management tasks related to a Zalo OA. The specific operation "Chuẩn Bị Upload Video" (Prepare Upload Video) is designed to initiate the process of uploading a video by preparing necessary parameters such as the video name and size.
This node is beneficial in scenarios where users want to automate content publishing workflows on Zalo OA, such as scheduling video uploads or managing media assets programmatically. For example, a marketing team could use this node to prepare videos for upload before sending them out as part of a campaign.
Properties
| Name | Meaning |
|---|---|
| Tên Video | The name/title of the video to be uploaded. |
| Kích Thước Video (byte) | The size of the video file in bytes, used to inform the API about the upload size. |
Output
The output of the "Chuẩn Bị Upload Video" operation is a JSON object containing the response from the Zalo OA API after preparing the video upload. This typically includes information such as an upload URL or token that can be used in subsequent steps to actually upload the video content.
No binary data output is indicated for this operation; the output is purely JSON metadata related to the video upload preparation.
Dependencies
- Requires an active connection to the Zalo Official Account API via an API access token credential.
- The node uses the
axioslibrary for HTTP requests andform-datafor multipart form submissions (though not directly in this operation). - Proper permissions must be granted to the API token to allow video upload operations.
Troubleshooting
Common issues:
- Incorrect or missing video size or name parameters may cause the API to reject the request.
- Invalid or expired API access tokens will result in authentication errors.
- Network connectivity problems can cause request failures.
Error messages:
- Errors returned from the API will be included in the output JSON under an error field with descriptive messages.
- If the node encounters an error during execution, it logs the error message and includes suggestions such as verifying access token validity and parameter correctness.
Resolution tips:
- Ensure the video size matches the actual file size in bytes.
- Confirm the video name is provided and valid.
- Verify the API token has the required scopes/permissions.
- Check network connectivity and retry if transient errors occur.
Links and References
Note: The summary focuses solely on the "Chuẩn Bị Upload Video" operation within the "Zalo OA" resource, based on static analysis of the provided source code and input property definitions.