Actions20
- Zalo Send Message Actions
- Gửi tin nhắn
- Gửi trạng thái tin nhắn
- Lấy danh sách sticker
- Lấy chi tiết sticker
- Gửi sticker
- Thả Reaction
- Gửi tin nhắn thoại
- Gửi danh thiếp
- Gửi Video
- Gửi Link
- Chuyển Tiếp Tin Nhắn
- Thêm Tin Nhắn Nhanh
- Lấy Danh Sách Tin Nhắn Nhanh
- Cập Nhật Tin Nhắn Nhanh
- Xóa Tin Nhắn Nhanh
- Đánh Dấu Chưa Đọc
- Bỏ Đánh Dấu Chưa Đọc
- Lấy Danh Sách Đánh Dấu Chưa Đọc
- Zalo Text To Speech Actions
Zalo Send Message → Gửi tin nhắn thoại
AI-generatedOverview
This node sends voice messages through the Zalo API. It is designed to send a voice message (in .m4a format) to a specified conversation thread, which can be either a personal chat or a group chat. This node is useful for automating voice message delivery in Zalo conversations, such as sending audio notifications, voice alerts, or personalized voice messages to users or groups.
Use Case Examples
- Sending a voice message to a personal chat by providing the user's thread ID and the URL of the .m4a audio file.
- Sending a voice message to a group chat by specifying the group thread ID and the public URL of the voice message file.
Properties
| Name | Meaning |
|---|---|
| ID cuộc trò chuyện / Thread ID | The ID of the conversation thread where the voice message will be sent. This is required to identify the recipient chat. |
| Loại cuộc trò chuyện | The type of conversation, either personal (Cá nhân) or group (Nhóm). This determines the recipient type for the voice message. |
| URL Tin nhắn thoại (M4A) | The public URL of the .m4a audio file to be sent as the voice message. This must be accessible for the Zalo API to fetch and send the audio. |
Output
JSON
success- Indicates if the voice message was sent successfully.response- The response object returned from the Zalo API after sending the voice message.threadId- The ID of the conversation thread to which the voice message was sent.threadType- The type of the conversation thread (personal or group).
Dependencies
- Zalo API credentials with cookie, IMEI, and user agent for authentication
Troubleshooting
- Ensure the Zalo API credentials are correctly set and valid, including the cookie, IMEI, and user agent, as the node requires these to initialize the API client.
- The voice URL must be a publicly accessible .m4a file; otherwise, the API call will fail.
- If the node throws an error 'Zalo API not initialized', verify that the login with the provided credentials succeeded.
- If the voice URL parameter is missing or empty, the node will throw an error indicating that the voice URL is required.