WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation allows sending an image in a chat session. It is useful for automating the process of sharing images in messaging platforms, such as sending product photos, event pictures, or visual updates directly to a chat. For example, a business could use this node to automatically send promotional images to customers or support teams.

Use Case Examples

  1. Sending a product image to a customer chat session.
  2. Sharing an event flyer image in a group chat automatically.

Properties

Name Meaning
Session The chat session identifier to send the image within.
Chat Id The identifier of the chat where the image will be sent.
File The image file details including mimetype, filename, and URL to the image resource.
Reply To Optional message ID to reply to a specific message in the chat.
Caption Optional caption text to accompany the image.
Request Options Additional request settings such as batching, SSL certificate handling, proxy configuration, and timeout settings.

Output

JSON

  • sentMessageId - The ID of the message sent containing the image.
  • 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 messaging platform's API.

Troubleshooting

  • Common issues include invalid session or chat IDs causing message send failures.
  • Incorrect file URL or unsupported image format may result in errors.
  • Timeouts or proxy misconfigurations can cause request failures.
  • SSL certificate validation errors if 'Ignore SSL Issues' is not enabled and the server uses self-signed certificates.

Discussion