Download WhatsApp Media
Description
Retrieves WhatsApp media metadata and returns a File reference that other activities can read. The file content is fetched from WhatsApp when a consuming activity reads the reference; this activity does not return a Base64 payload.
Configuration
Create a WhatsApp connection, then configure:
| Input | Description |
|---|---|
| Connection Name | Required WhatsApp connection. |
| Media ID | Required identifier, typically WhatsApp Trigger → Message Media ID. |
| File Name | Optional original filename to associate with the reference. Supply the incoming filename when available. |
Outputs
| Output | Description |
|---|---|
| File | Provider-backed file reference accepted by compatible file-consuming activities. |
| Raw JSON Response | Metadata response returned by WhatsApp. |
| Media ID | Identifier of the selected media. |
| MIME Type | Media content type. |
| File Size | Size in bytes. |
| File Name | Name associated with the file reference. |
Example
Connect WhatsApp Trigger to the processing workflow. For a media message, bind Message Media ID to Media ID, select the connection, and supply the filename if available. Pass the returned File to a document activity or HTTP Request multipart file field.
The reference requires a valid connection and media that is still available from WhatsApp when it is read. Handle expired or inaccessible media through On Error.