Actions18
- Tài khoản Actions
- Tin nhắn Actions
Tin nhắn → Gửi tin nhắn ảnh cá nhân & nhóm
AI-generatedSummary
Send an image message with optional text content to a personal Zalo user or a Zalo group using binary image data from the workflow.
Inputs
- binaryInputField (required) — The name of the binary data field containing the image data to send, typically 'data'.
- messenger_group_type (required) — Type of recipient: 0 for individual user, 1 for group.
- messenger_friend_id (required) — ID of the recipient user or group.
- messenger_content (required) — Text content message to accompany the image.
Output shape
A single JSON object per input item containing the response from the Zalo API request.
The node sends an HTTP POST request to the Zalo API endpoint to send the message. The base64-encoded image is extracted from the specified binary data field. The output includes success indication and the raw API response data.
Examples
Example 1: Sending an image with a message to a single Zalo user.
Set 'messenger_group_type' to 0, specify the 'messenger_friend_id' of the user, provide text in 'messenger_content', and select the binary field containing the image data in 'binaryInputField'.