Actions20
- Session Actions
- Message Actions
- Contact Actions
- Typing Actions
- Webhook Actions
Overview
The "Send Image" operation of the WhatsApp Multi-Session node allows users to send an image message through the WhatsApp API. This functionality is particularly useful for businesses and developers who want to enhance their communication with customers by sharing visual content, such as promotional images, product photos, or any other relevant graphics. For example, a retail company could use this feature to send images of new products directly to customers' WhatsApp accounts, improving engagement and customer experience.
Properties
| Name | Meaning |
|---|---|
| Session ID | The WhatsApp session ID required to authenticate the request. |
| Phone Number | The recipient's phone number, including the country code but without the '+' sign. |
| Image URL | The URL where the image to be sent is located. |
| Caption | An optional caption that accompanies the image being sent. |
Output
The output of the "Send Image" operation will typically include a JSON object indicating the success of the operation along with any relevant metadata about the sent image. The structure may contain fields such as:
success: A boolean indicating whether the image was sent successfully.message: A confirmation message regarding the operation.- Additional fields may provide details about the image or any errors encountered during the process.
If the node can output binary data, it would generally represent the image file itself, allowing for further processing or storage.
Dependencies
To utilize this node, users must have:
- An active WhatsApp Multi-Session API key credential for authentication.
- Access to the WhatsApp Multi-Session API endpoint.
Troubleshooting
Common issues users might encounter include:
- Invalid Session ID: If the provided session ID does not exist or is incorrect, the node may throw an error indicating that the session cannot be found. Ensure that the session ID is valid and corresponds to an active session.
- Image URL Issues: If the image URL is broken or inaccessible, the node may fail to send the image. Verify that the URL is correct and publicly accessible.
- Authentication Errors: If the API key is invalid or expired, users may receive authentication-related error messages. Check the API key and ensure it has the necessary permissions.