Actions7
- Mensagem Actions
- Contato Actions
- Grupo Actions
Mensagem → Enviar Imagem
AI-generatedOverview
This node integrates with a WhatsApp API to perform various WhatsApp-related actions, including sending messages and media, managing sessions, and retrieving contact or group information. Specifically, the 'Enviar Imagem' operation under the 'Mensagem' resource allows users to send an image with an optional caption to a specified recipient via WhatsApp. This is useful for automating image sharing in customer support, marketing campaigns, or personal communication.
Use Case Examples
- Sending a promotional image with a caption to a customer group.
- Sharing a product image with a description to an individual contact.
Properties
| Name | Meaning |
|---|---|
| Sessão | The name of the WhatsApp session used to send the message, ensuring the correct account is used. |
| Destinatário | The recipient's phone number or group ID to which the image will be sent. |
| URL da Mídia | The public URL of the image to be sent. |
| Legenda | An optional caption or description for the image being sent. |
Output
JSON
sessionName- The WhatsApp session name used for sending the image.phoneNumber- The recipient's phone number or group ID.imageUrl- The URL of the image sent.caption- The optional caption sent with the image.status- The response status from the WhatsApp API indicating success or failure.
Dependencies
- Requires an API key credential for the WhatsApp API service, including an API URL and bearer token for authentication.
Troubleshooting
- Ensure the session name is correctly set and the session is active; otherwise, the message will not send.
- Verify the recipient's phone number or group ID format is correct to avoid delivery failures.
- Check that the media URL is publicly accessible and points to a valid image file.
- If the API returns an error, verify the API key and token are valid and have not expired.
Links
- WhatsApp Business API Documentation - Official documentation for WhatsApp Business API which this node likely interfaces with.