Actions12
Mensagem → Enviar Imagem
AI-generatedOverview
This node integrates with the ZapClass API to send WhatsApp image messages. It allows users to send an image to a specified phone number with optional accompanying text and additional message options such as delay, forwarding, mentions, and read status. This node is useful for automating WhatsApp communications, such as sending promotional images, notifications, or personalized messages with images.
Use Case Examples
- Sending a promotional image to a customer with a custom message.
- Sending an image with a delay to simulate typing before delivery.
- Sending an image message that mentions specific contacts in a group chat.
Properties
| Name | Meaning |
|---|---|
| Number | The recipient's phone number in international format (country code + area code + number). This is required to specify the destination of the image message. |
| File | The URL or Base64 string of the image to be sent. Supported formats are JPEG and PNG up to 5 MB in size. This is required to specify the image content. |
| Message | Optional text message that accompanies the image. Supports text, emojis, and special characters. |
| Additional Options | A collection of optional settings to customize the message sending behavior, including delay before sending, marking the message as forwarded, mentioning specific phone numbers, tracking message IDs, replying to a specific message, source identification, and marking conversations or previous messages as read. |
Output
JSON
sentMessage- The response object containing details about the sent image message, including status and metadata.
Dependencies
- ZapClass API
Troubleshooting
- Ensure the recipient number is in the correct international format to avoid delivery failures.
- Verify the image URL or Base64 string is valid and the image size does not exceed 5 MB.
- Check API credentials and permissions if the message fails to send.
- If using delay, ensure the delay value is a non-negative number to prevent unexpected behavior.
Links
- ZapClass API Documentation - Official documentation for the ZapClass API used by this node.