Actions37
- Zalo OA Actions
- Send Text Message
- Send Image Message
- Send File Message
- Send List Message
- Get Official Account Info
- Get Follower Info
- Get Follower List
- Update Follower Info
- Get Recent Chat List
- Get Conversation History
- Get Message Status
- Upload Image
- Upload GIF Image
- Upload File
- Get Tag List
- Assign Tag to Follower
- Remove Tag
- Remove Follower from Tag
- Update OA Menu
- Create Article
- Update Article
- Remove Article
- Get Article List
- Get Article Detail
- Prepare Video Upload
- Verify Video
- Create Product
- Update Product
- Get Product Info
- Get Product List
- Create Category
- Update Category
- Get Category List
- Create Order
- Update Order
- Get Order Info
- Get Order List
Zalo OA → Update OA Menu
AI-generatedSummary
Creates or updates the Zalo OA sidebar menu using a list of menu items.
Inputs
- menuItems (required) — A collection of menu items to create or update. Each item contains: title (string), type (options: Open URL, Send Message, Make Phone Call, Open App), and payload (string corresponding to the action type).
Output shape
a single record containing the result of the menu update.
The exact shape of the returned record depends on the Zalo OA API response; typically includes status or message details.
Examples
Example 1: Create a menu with a URL link and a phone call action.
Set menuItems to include a title 'Link', type 'Open URL', payload 'https://example.com' and a title 'Call', type 'Make Phone Call', payload '0123456789'.