Actions9
Tin nhắn → Phở Ai gửi hình ảnh
AI-generatedSummary
Send an image with a text message to a specified recipient or group via WhatsApp using the PhoAi Ultimate Whatsapp node's experimental API.
Inputs
- Id người nhận hoặc id nhóm (required) — The unique identifier of the recipient user or group to which the image and message will be sent.
- Dữ liệu ảnh dạng data (required) — Binary data field name containing the image data to be sent. The actual binary content should be provided in this field (default is 'data').
- Nội dung tin nhắn (required) — Text content of the message to accompany the image.
Output shape
a list of JSON objects representing individual send attempts per input item
Each output object includes a 'success' boolean and the API 'response' data. Errors can be included if 'continueOnFail' option is enabled. The node sends a POST request to https://api.phoai.vn/api/whatsapp/sendImageMessenger with base64-encoded image data, the message content, and recipient id.
Examples
Example 1: Send a promotional image to a customer group
Set 'Id người nhận hoặc id nhóm' to the target group ID, provide the binary image data in the specified field, and add a descriptive message as 'Nội dung tin nhắn'.