4Jawaly WhatsApp Sender icon

4Jawaly WhatsApp Sender

Send WhatsApp messages via 4Jawaly API

Send Image

AI-generated

Overview

This node sends WhatsApp images via the 4Jawaly API. It is useful for automating the sending of images with optional captions to specified phone numbers through WhatsApp projects managed by 4Jawaly. Practical applications include marketing campaigns, customer support with visual content, and automated notifications with images.

Use Case Examples

  1. Sending a promotional image to a customer with a caption describing the offer.
  2. Sharing a product image with a client along with a brief description.
  3. Sending event photos to a group of contacts automatically.

Properties

Name Meaning
Phone Number The recipient's phone number without '+' or spaces, used to specify the WhatsApp message recipient.
WhatsApp Project ID The identifier of the WhatsApp project within 4Jawaly, required to route the message through the correct project.
Image URL The URL of the image to be sent, which must be accessible online.
Caption Optional text to accompany the image, providing additional context or description.
Additional Options Optional settings including batch size for sending to multiple numbers and request timeout in milliseconds.

Output

JSON

  • success - Indicates if the image was sent successfully.
  • operation - The operation performed, here it is 'sendImage'.
  • message - A message describing the result of the operation.
  • phone_number - The recipient phone number.
  • image_url - The URL of the sent image.
  • caption - The caption text sent with the image, if any.
  • message_id - The ID of the sent message returned by the API.
  • api_message - The message returned by the API.
  • description - Additional description from the API response.
  • raw_response - The full raw response from the API call.

Dependencies

  • 4Jawaly API access with credentials including authentication method (basic or basicRaw)

Troubleshooting

  • Ensure the phone number is correctly formatted without '+' or spaces; invalid formatting will cause errors.
  • The image URL must be publicly accessible; private or inaccessible URLs will cause the send operation to fail.
  • API authentication credentials must be valid and correctly configured; authentication errors will prevent message sending.
  • Timeout settings should be adjusted if the API response is slow to avoid premature failures.
  • Error messages from the API are propagated; check the 'message' and 'error' fields in the response for details.

Discussion