GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Message → Download Media

AI-generated

Overview

This node interacts with the Go WhatsApp Web MultiDevice API to perform operations related to WhatsApp messages. Specifically, for the 'Message' resource and 'Download Media' operation, it allows users to download media content from a specified WhatsApp message. This is useful in scenarios where media files such as images, videos, or documents sent or received in WhatsApp messages need to be programmatically retrieved and processed further, for example, saving media to a database or cloud storage, or analyzing media content.

Use Case Examples

  1. Downloading an image sent in a WhatsApp message to store it in a cloud storage service.
  2. Automatically retrieving video files from WhatsApp messages for content moderation or analysis.
  3. Extracting document files from WhatsApp messages for automated processing or archiving.

Properties

Name Meaning
Device ID Optional device ID override. If set, it takes priority over the credential device ID.
Phone Number or Group ID Phone number (for private chat) or Group ID (for group chat) to identify the chat where the message is located.
Message ID ID of the message to operate on, specifically the message from which media will be downloaded.

Output

JSON

  • mediaData - The downloaded media content from the specified message, typically encoded or as a URL to the media file.
  • messageId - The ID of the message from which the media was downloaded.
  • phoneOrGroupId - The phone number or group ID associated with the message.

Dependencies

  • Requires an API key credential for the Go WhatsApp Web MultiDevice API, including host URL and authentication details.

Troubleshooting

  • Common issues include invalid or missing message ID, phone number, or group ID, which will cause the operation to fail.
  • If the device ID override is set incorrectly, the node may not connect to the correct device, resulting in errors.
  • Errors related to API authentication or connectivity to the Go WhatsApp Web MultiDevice API may occur if credentials are not properly configured.

Discussion