WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation sends an image message to a specified chat session. It is useful for automating the sending of images in chat applications, such as customer support bots, marketing campaigns, or personal notifications. For example, it can send product images to customers or share event photos in group chats.

Use Case Examples

  1. Sending a promotional image to a customer chat session.
  2. Sharing a photo in a group chat with a caption and reply reference.

Properties

Name Meaning
Session The chat session identifier to which the image will be sent.
Chat Id The identifier of the chat where the image will be delivered.
File Details of the image file to send, including mimetype, filename, and URL.
Reply To Optional message ID to which this image message is a reply.
Caption Optional caption text to accompany the image.
Request Options Settings for request behavior such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • messageId - The ID of the sent image message.
  • status - The status of the send operation (e.g., success or failure).
  • chatId - The chat identifier where the image was sent.

Dependencies

  • Requires an API key credential or authentication token to connect to the chat service.

Troubleshooting

  • Ensure the session and chatId are valid and active to avoid message delivery failures.
  • Check the file URL and mimetype to confirm the image is accessible and supported.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate.
  • Timeout errors may require increasing the timeout setting or checking network connectivity.

Discussion