Actions41
- Zalo OA Actions
- Gửi Tin Nhắn Văn Bản Vào Nhóm
- Gửi Tin Nhắn Văn Bản
- Gửi Tin Nhắn Văn Bản Đến Người Dùng Ẩn Danh
- Gửi Tin Nhắn Hình Ảnh Đến Người Dùng Ẩn Danh
- 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 Official Account
- 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
- Gửi Tin Tư Vấn Kèm Ả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
Zalo OA → Upload File
AI-generatedSummary
Upload a file to the Zalo Official Account via either binary data from the workflow item or by specifying a URL to the file.
Inputs
- binaryData — Boolean flag indicating if the file is provided as binary data in the workflow item. Defaults to false.
- binaryProperty (required) — Name of the binary property containing the file data when 'binaryData' is true. Defaults to 'data'.
- fileUrl (required) — URL of the file to be uploaded when 'binaryData' is false.
Output shape
a JSON object containing the response from the Zalo OA file upload API endpoint, including success or error information.
When 'binaryData' is true, the node reads the specified binary property from the input item, converts it to a buffer, and uploads it as a multipart/form-data POST request. When false, it uploads by sending the file URL as JSON in the POST body. On error, the output JSON includes error details and suggestions to verify file format and access permissions. Each input item produces a corresponding output item paired by item index.
Examples
Example 1: Upload a local file as binary data
Set 'Binary Data' to true and specify the binary property containing the file data (default 'data').
Example 2: Upload a file by URL
Set 'Binary Data' to false and provide the URL of the file in 'URL File' field.