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 → Cập Nhật Menu OA
AI-generatedSummary
Update the Zalo Official Account (OA) menu by setting a list of menu items, each specifying a title, action type, and corresponding payload.
Inputs
- Menu Items (required) — Array of menu items defining the OA menu structure. Each menu item includes a 'Tên Menu' (title) string, a 'Loại Menu' (type) option specifying the action type (Open URL, Send Message, Call Phone, or Open App), and a 'Giá Trị' (payload) string which is the value corresponding to the menu action (such as URL or phone number).
Output shape
a single JSON object representing the API response from posting the updated menu items to the Zalo OA API endpoint.
The operation sends a POST request to the Zalo OA API
/menuendpoint with the constructed menu items. The response typically includes information about success or failure of the menu update. There is one output item per input item, paired by index. Errors returned by the API are included in the output JSON.
Examples
Example 1: Update the OA menu with two items: one that opens a URL, and another that sends a predefined message.
Set 'Menu Items' with two entries: the first with title 'Home', type 'Mở URL' (oa.open.url) and payload as the target URL; the second with title 'Support', type 'Gửi Tin Nhắn' (oa.query.show) and payload as the message to send.